[PATCH] devel/p5-Params-Util: update to 0.20
Gea-Suan Lin
gslin at gslin.org
Tue Sep 26 01:00:06 PDT 2006
>Submitter-Id: current-users
>Originator: Gea-Suan Lin
>Organization:
>Confidential: no
>Synopsis: [PATCH] devel/p5-Params-Util: update to 0.20
>Severity: non-critical
>Priority: low
>Category: ports
>Class: update
>Release: FreeBSD 6.1-RELEASE i386
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Update to 0.20
Port maintainer (perl at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- p5-Params-Util-0.20.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/p5-Params-Util/Makefile /home/staff/gslin/work/ports/p5-Params-Util/Makefile
--- /usr/ports/devel/p5-Params-Util/Makefile Sun Sep 17 03:15:29 2006
+++ /home/staff/gslin/work/ports/p5-Params-Util/Makefile Tue Sep 26 15:59:35 2006
@@ -6,7 +6,7 @@
#
PORTNAME= Params-Util
-PORTVERSION= 0.19
+PORTVERSION= 0.20
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/A/AD/ADAMK
@@ -15,10 +15,6 @@
MAINTAINER= perl at FreeBSD.org
COMMENT= Utility functions to aid in parameter checking
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \
- ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= Params::Util.3
@@ -26,4 +22,14 @@
post-patch:
@${PERL} -pi -e '$$_="" if m/Test::More/' ${WRKSRC}/Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
+.endif
+
+.if ${PERL_LEVEL} < 500805
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/devel/p5-Params-Util/distinfo /home/staff/gslin/work/ports/p5-Params-Util/distinfo
--- /usr/ports/devel/p5-Params-Util/distinfo Sun Sep 17 03:15:29 2006
+++ /home/staff/gslin/work/ports/p5-Params-Util/distinfo Tue Sep 26 14:54:43 2006
@@ -1,3 +1,3 @@
-MD5 (Params-Util-0.19.tar.gz) = c5d75b97f92fa232b2dadcc44595ca61
-SHA256 (Params-Util-0.19.tar.gz) = bfd91eeaeb9ad16ae909b950719371f3d4cf8d70745949f8d9bb8764dadc38a7
-SIZE (Params-Util-0.19.tar.gz) = 33595
+MD5 (Params-Util-0.20.tar.gz) = 33c4466239c97cc3e1063eff0577206c
+SHA256 (Params-Util-0.20.tar.gz) = 29f7e05045a5699b211d2a8332d36113c22f9c2e96174f40939e79dbc356905d
+SIZE (Params-Util-0.20.tar.gz) = 34277
--- p5-Params-Util-0.20.patch ends here ---
More information about the freebsd-perl
mailing list