Index: Makefile =================================================================== RCS file: /home/ncvs/ports/ports-mgmt/p5-FreeBSD-Portindex/Makefile,v --- Makefile 29 Aug 2011 04:43:56 -0000 1.20 +++ Makefile 8 Oct 2011 11:39:43 -0000 @@ -5,7 +5,7 @@ # $FreeBSD: ports/ports-mgmt/p5-FreeBSD-Portindex/Makefile,v 1.20 2011/08/29 04:43:56 dougb Exp $ PORTNAME= FreeBSD-Portindex -PORTVERSION= 2.4 +PORTVERSION= 2.5 CATEGORIES= ports-mgmt perl5 MASTER_SITES= http://www.infracaninophile.co.uk/portindex/ PKGNAMEPREFIX= p5- @@ -15,9 +15,20 @@ LICENSE= BSD +# 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 + BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/BerkeleyDB.pm:${PORTSDIR}/databases/p5-BerkeleyDB RUN_DEPENDS:= ${BUILD_DEPENDS} +.include + +.if defined(WITH_GRAPHVIZ) && !defined(WITHOUT_GRAPHVIZ) +RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz +.endif + USE_XZ= yes PERL_CONFIGURE= yes Index: distinfo =================================================================== RCS file: /home/ncvs/ports/ports-mgmt/p5-FreeBSD-Portindex/distinfo,v --- distinfo 29 Aug 2011 04:43:56 -0000 1.15 +++ distinfo 8 Oct 2011 11:39:43 -0000 @@ -1,2 +1,2 @@ -SHA256 (FreeBSD-Portindex-2.4.tar.xz) = 78f461e35dcadb9fb79665c698825fd54e081030858cf023bedfeb47b73891d0 -SIZE (FreeBSD-Portindex-2.4.tar.xz) = 50724 +SHA256 (FreeBSD-Portindex-2.5.tar.xz) = 485e037b44351147ecdd52d785bba785ec2466a500c0a55fb896235b1ce2832c +SIZE (FreeBSD-Portindex-2.5.tar.xz) = 51700 Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/ports-mgmt/p5-FreeBSD-Portindex/pkg-plist,v --- pkg-plist 14 Mar 2011 16:05:35 -0000 1.5 +++ pkg-plist 8 Oct 2011 11:39:43 -0000 @@ -8,6 +8,7 @@ @exec [ ! -f %B/portindex.cfg ] && cp -p %B/%f %B/portindex.cfg || true %%SITE_PERL%%/FreeBSD/Portindex/Config.pm %%SITE_PERL%%/FreeBSD/Portindex/Category.pm +%%SITE_PERL%%/FreeBSD/Portindex/GraphViz.pm %%SITE_PERL%%/FreeBSD/Portindex/Port.pm %%SITE_PERL%%/FreeBSD/Portindex/Tree.pm %%SITE_PERL%%/FreeBSD/Portindex/TreeObject.pm