diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2013-04-29 18:47:57 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2013-04-29 18:47:57 +0000 |
commit | 3007775a5a8230d35da59df3c9f6776b589ceaf3 (patch) | |
tree | 6040287917ba2e40b9422fa8fa481a72716ea320 /devel/bzrtools | |
parent | 12eca2a428b780bd976cf413c1b6989bff0062ea (diff) | |
download | ports-3007775a5a8230d35da59df3c9f6776b589ceaf3.tar.gz ports-3007775a5a8230d35da59df3c9f6776b589ceaf3.zip |
Notes
Diffstat (limited to 'devel/bzrtools')
-rw-r--r-- | devel/bzrtools/Makefile | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/devel/bzrtools/Makefile b/devel/bzrtools/Makefile index cb1dafc5a5ff..d33b859649c9 100644 --- a/devel/bzrtools/Makefile +++ b/devel/bzrtools/Makefile @@ -1,9 +1,5 @@ -# Ports collection makefile for: bzrtools -# Date created: 3 November 2005 -# Whom: Ulf Lilleengen -# +# Created by: Ulf Lilleengen # $FreeBSD$ -# PORTNAME= bzrtools PORTVERSION= 2.5 @@ -16,8 +12,10 @@ COMMENT= Extensions to devel/bzr RUN_DEPENDS= bzr:${PORTSDIR}/devel/bzr -OPTIONS= GRAPHVIZ "Enable graphviz for graph-ancestry" off \ - RSYNC "Enable rsync for rspush" on +OPTIONS_DEFINE= GRAPHVIZ RSYNC +GRAPHVIZ_DESC= graphviz for graph-ancestry +RSYNC_DESC= rsync for rspush +OPTIONS_DEFAULT= RSYNC WRKSRC= ${WRKDIR}/bzrtools USE_PYTHON= 2.6+ @@ -25,14 +23,14 @@ USE_PYDISTUTILS= yes PYDISTUTILS_PKGVERSION= 2.5.0 PYDISTUTILS_PKGNAME= BzrTools -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_GRAPHVIZ) +.if ${PORT_OPTIONS:MGRAPHVIZ} RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz .endif -.if !defined(WITHOUT_RSYNC) +.if ${PORT_OPTIONS:MRSYNC} RUN_DEPENDS+= rsync:${PORTSDIR}/net/rsync .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |