summaryrefslogtreecommitdiff
path: root/ports-mgmt/p5-FreeBSD-Portindex/Makefile
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2011-10-26 21:16:25 +0000
committerDoug Barton <dougb@FreeBSD.org>2011-10-26 21:16:25 +0000
commit39f6bb61b3fc7e8149126aeaf3dea4460a3cad7f (patch)
tree5cb2a54f9e445ea7fbdb2f787141dc1dcac5e876 /ports-mgmt/p5-FreeBSD-Portindex/Makefile
parent- Unbreak WITHOUT_MAILNEWS option (diff)
Update to version 2.6. This adds GraphViz compatible output to
portdepends, plus some routine bug fixing. - Accessor methods for array valued items now mostly return arrays rather than array references. This makes quite a lot of code a lot clearer. - Add GraphViz output mode to portdepends(1). Pretty pictures of port dependency trees. - Remove TODO file as (a) most of the items were done and (b) most recent changes weren't listed in there. - Minor docco tweak to portindex reflecting currently supported FreeBSD major versions. - Bump VERSION to 2.6 and CACHE_VERSION to 2.5 PR: ports/161396 Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
Notes
Notes: svn path=/head/; revision=284390
Diffstat (limited to 'ports-mgmt/p5-FreeBSD-Portindex/Makefile')
-rw-r--r--ports-mgmt/p5-FreeBSD-Portindex/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/ports-mgmt/p5-FreeBSD-Portindex/Makefile b/ports-mgmt/p5-FreeBSD-Portindex/Makefile
index 0b34d36512ae..00062aca4500 100644
--- a/ports-mgmt/p5-FreeBSD-Portindex/Makefile
+++ b/ports-mgmt/p5-FreeBSD-Portindex/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= FreeBSD-Portindex
-PORTVERSION= 2.4
+PORTVERSION= 2.6
CATEGORIES= ports-mgmt perl5
MASTER_SITES= http://www.infracaninophile.co.uk/portindex/
PKGNAMEPREFIX= p5-
@@ -18,6 +18,17 @@ LICENSE= BSD
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/BerkeleyDB.pm:${PORTSDIR}/databases/p5-BerkeleyDB
RUN_DEPENDS:= ${BUILD_DEPENDS}
+# GraphViz not required for portindex to run or generate GraphViz
+# format output: this is only needed to render the output on the same
+# machine.
+OPTIONS= GRAPHVIZ "Add GraphViz run-time dependency" off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_GRAPHVIZ) && !defined(WITHOUT_GRAPHVIZ)
+RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz
+.endif
+
USE_XZ= yes
PERL_CONFIGURE= yes