aboutsummaryrefslogtreecommitdiff
path: root/devel/bzrtools/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-12-16 23:18:15 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-12-16 23:18:15 +0000
commit204df9bcf7b27b97273fedf83261d9e8150c3648 (patch)
treea13fa7044c7bf9399a77e640e6a50ea2d05a1c35 /devel/bzrtools/Makefile
parent59b62700fea252c726c2e444457c747712036a45 (diff)
downloadports-204df9bcf7b27b97273fedf83261d9e8150c3648.tar.gz
ports-204df9bcf7b27b97273fedf83261d9e8150c3648.zip
Notes
Diffstat (limited to 'devel/bzrtools/Makefile')
-rw-r--r--devel/bzrtools/Makefile26
1 files changed, 21 insertions, 5 deletions
diff --git a/devel/bzrtools/Makefile b/devel/bzrtools/Makefile
index 58e4914705de..8c4e1b0abb0a 100644
--- a/devel/bzrtools/Makefile
+++ b/devel/bzrtools/Makefile
@@ -6,20 +6,36 @@
#
PORTNAME= bzrtools
-PORTVERSION= 0.92.1
+PORTVERSION= 1.0.0
CATEGORIES= devel
MASTER_SITES= http://panoramicfeedback.com/opensource/
MAINTAINER= fullermd@over-yonder.net
COMMENT= Extensions to devel/bazaar-ng
-RUN_DEPENDS= bzr:${PORTSDIR}/devel/bazaar-ng \
- rsync:${PORTSDIR}/net/rsync \
- dot:${PORTSDIR}/graphics/graphviz
+RUN_DEPENDS= bzr:${PORTSDIR}/devel/bazaar-ng
+
+OPTIONS= GRAPHVIZ "Enable graphviz for graph-ancestry" on \
+ RSYNC "Enable rsync for rspush" on \
+ BAZ "Enable baz-import" off
WRKSRC= ${WRKDIR}/bzrtools
USE_PYTHON= 2.4+
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= BzrTools
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_GRAPHVIZ)
+RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz
+.endif
+
+.if defined(WITH_RSYNC)
+RUN_DEPENDS+= rsync:${PORTSDIR}/net/rsync
+.endif
+
+.if defined(WITH_BAZ)
+RUN_DEPENDS+= baz:${PORTSDIR}/devel/bazaar
+.endif
+
+.include <bsd.port.post.mk>