head	1.5;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.06.01.00;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.06.05.18.40.58;	author cs;	state Exp;
branches;
next	1.3;

1.3
date	2012.05.18.21.00.51;	author cs;	state Exp;
branches;
next	1.2;

1.2
date	2011.11.13.12.23.01;	author cs;	state Exp;
branches;
next	1.1;

1.1
date	2011.10.20.19.37.13;	author cs;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# ports collection makefile for:	arm
# Date created:				20111019
# Whom:					Carlo Strub
#
# $FreeBSD: head/security/arm/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	arm
DISTVERSION=	1.4.5.0
CATEGORIES=	security net python
MASTER_SITES=	https://archive.torproject.org/arm/ \
		http://www.c-s.li/ports/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	cs@@FreeBSD.org
COMMENT=	A terminal status monitor for Tor

LICENSE=	GPLv3

MAN1=		arm.1
MANCOMPRESSED=	yes

USE_PYTHON=	yes
USE_PYDISTUTILS=yes
USE_BZIP2=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}

DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}
PORTDOCS=	armrc.sample

OPTIONS_DEFINE=	TOR \
		DOCS

OPTIONS_DEFAULT=TOR DOCS

TOR_DESC=	Enable local tor support

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MTOR}
RUN_DEPENDS+=	lsof:${PORTSDIR}/sysutils/lsof \
		tor:${PORTSDIR}/security/tor
.endif

.include <bsd.port.pre.mk>

post-patch:
.if ${PORT_OPTIONS:MDOCS}
	@@${REINPLACE_CMD} -e 's,/usr/share/doc,${PREFIX}/share/doc,g' \
		${WRKSRC}/setup.py
.else
	@@${REINPLACE_CMD} -e 's,/usr/share/doc/,${WRKSRC}/src,g' \
		${WRKSRC}/setup.py
.endif

	@@${REINPLACE_CMD} -e 's,/usr/bin,${PREFIX}/bin,g' \
 		${WRKSRC}/arm ${WRKSRC}/setup.py ${WRKSRC}/src/uninstall
	@@${REINPLACE_CMD} -e 's,/usr/share/man/man1,${PREFIX}/man/man1,g' \
		${WRKSRC}/setup.py
	@@${REINPLACE_CMD} -e 's,/usr/share,${PYTHON_SITELIBDIR},g' \
 		${WRKSRC}/arm ${WRKSRC}/setup.py ${WRKSRC}/src/uninstall \
		${WRKSRC}/src/gui/controller.py

.include <bsd.port.post.mk>
@


1.4
log
@Switch to OptionsNG
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@Update to 1.4.5.0
@
text
@d31 2
a32 1
OPTIONS=	TOR "Install tor locally" On
d34 5
a38 1
.include <bsd.port.pre.mk>
d40 1
a40 1
.if defined(WITH_TOR)
d45 2
d48 2
a49 2
.if defined(NOPORTDOCS)
	@@${REINPLACE_CMD} -e 's,/usr/share/doc/,${WRKSRC}/src,g' \
d52 1
a52 1
	@@${REINPLACE_CMD} -e 's,/usr/share/doc,${PREFIX}/share/doc,g' \
@


1.2
log
@- Update to 1.4.4.1
- Make dependency on tor optional

Approved by:	glarkin@@ (mentor)
Feature safe:	yes
@
text
@d9 1
a9 1
DISTVERSION=	1.4.4.1
@


1.1
log
@The anonymizing relay monitor (arm) is a terminal status monitor for Tor,
intended for command-line aficionados, ssh connections, and anyone with a tty
terminal. This works much like top does for system usage, providing real time
statistics for:

  * bandwidth, cpu, and memory usage
  * relay's current configuration
  * logged events
  * connection details (ip, hostname, fingerprint, and consensus data)
  * ... etc

PR:		ports/159017
Approved by:	glarkin@@ (mentor)
@
text
@d9 1
a9 1
DISTVERSION=	1.4.4.0
a19 3
RUN_DEPENDS=	lsof:${PORTSDIR}/sysutils/lsof \
		tor:${PORTSDIR}/security/tor

a24 1
PYDISTUTILS_PKGVERSION=1.4.4
d31 9
d57 1
a57 1
.include <bsd.port.mk>
@

