ports/63087: [MAINTAINER] devel/p5-Config-Auto: update to 0.05

Lars Thegler lars at thegler.dk
Thu Feb 19 22:20:15 UTC 2004


>Number:         63087
>Category:       ports
>Synopsis:       [MAINTAINER] devel/p5-Config-Auto: update to 0.05
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 19 14:20:14 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Lars Thegler
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD dask.thegler.dk 4.9-STABLE FreeBSD 4.9-STABLE #2: Wed Nov  5 11:25:36 CET
>Description:
- Update to 0.05
- Added XML::Simple as OPTIONal dependency
- Made PREFIX-clean under perl 5.005_03

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- p5-Config-Auto-0.05.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/p5-Config-Auto/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	28 Sep 2003 13:58:52 -0000	1.3
+++ Makefile	19 Feb 2004 22:10:34 -0000
@@ -5,8 +5,7 @@
 # $FreeBSD: ports/devel/p5-Config-Auto/Makefile,v 1.3 2003/09/28 13:58:52 krion Exp $
 
 PORTNAME=	Config-Auto
-PORTVERSION=	0.04
-PORTREVISION=	1
+PORTVERSION=	0.05
 CATEGORIES=	devel perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Config
@@ -18,14 +17,18 @@
 BUILD_DEPENDS=	${SITE_PERL}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
-PERL_CONFIGURE=	yes
+OPTIONS=	XMLSIMPLE "Support for XML config files" off
 
-MAN3=		Config::Auto.3
+.include <bsd.port.pre.mk>
 
-test:
-	cd ${WRKSRC} ; make test
+.ifdef(WITH_XMLSIMPLE)
+BUILD_DEPENDS+=	${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple
+RUN_DEPENDS+=	${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple
+.endif
 
-.include <bsd.port.pre.mk>
+PERL_CONFIGURE=	yes
+
+MAN3=		Config::Auto.3
 
 .if ${PERL_LEVEL} < 500600
 BUILD_DEPENDS+=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
@@ -33,7 +36,13 @@
 post-patch:
 	@${PERL} -pi -e 's/^our (\$$\w+)/use vars qw($$1); $$1/;' \
 		     -e '$$_ = "" if (/5.006/);' \
-		 ${WRKSRC}/Auto.pm
+		 ${WRKSRC}/lib/Config/Auto.pm
+.endif
+
+.if ${PERL_LEVEL} <= 500503
+# make PREFIX-clean under perl 5.005_03
+post-configure:
+	@${PERL} -pi -e 's,/usr/local/,\$${PREFIX}/,g' ${WRKSRC}/Makefile
 .endif
 
 .include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/p5-Config-Auto/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	24 Sep 2003 10:02:59 -0000	1.2
+++ distinfo	19 Feb 2004 22:10:35 -0000
@@ -1 +1,2 @@
-MD5 (Config-Auto-0.04.tar.gz) = 8070d1954ff43c6af4b3d7820e2e390d
+MD5 (Config-Auto-0.05.tar.gz) = 89d5e2ef26172c70b1eba914ca2f0372
+SIZE (Config-Auto-0.05.tar.gz) = 6266
--- p5-Config-Auto-0.05.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list