ports/161396: [maintainer] ports-mgmt/p5-FreeBSD-Portindex -- update to 2.5

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Oct 8 12:10:02 UTC 2011


>Number:         161396
>Category:       ports
>Synopsis:       [maintainer] ports-mgmt/p5-FreeBSD-Portindex -- update to 2.5
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 08 12:10:01 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Seaman
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
Infracaninophile
>Environment:
System: FreeBSD lucid-nonsense.infracaninophile.co.uk 8.2-STABLE FreeBSD 8.2-STABLE #3 r226035: Wed Oct 5 14:26:52 BST 2011 root at lucid-nonsense.infracaninophile.co.uk:/usr/obj/usr/src/sys/LUCID-NONSENSE amd64


	
>Description:

Update to version 2.5.  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 and CACHE_VERSION to 2.5

>How-To-Repeat:
	
>Fix:

	

--- p5-FreeBSD-Portindex.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/ports-mgmt/p5-FreeBSD-Portindex/Makefile,v
retrieving revision 1.20
diff -u -u -r1.20 Makefile
--- 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 <bsd.port.options.mk>
+
+.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
retrieving revision 1.15
diff -u -u -r1.15 distinfo
--- 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
retrieving revision 1.5
diff -u -u -r1.5 pkg-plist
--- 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
--- p5-FreeBSD-Portindex.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list