aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Perl-Version
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2010-09-26 11:51:51 +0000
committerLars Thegler <lth@FreeBSD.org>2010-09-26 11:51:51 +0000
commita67e61c6111172670414f352abe75762c331d19e (patch)
tree90db0ce9012def7e43a6bc04617ec0e20bd9fb07 /devel/p5-Perl-Version
parente8fc083c118d95eab92ecdd84c53ddf0bc8e1fce (diff)
downloadports-a67e61c6111172670414f352abe75762c331d19e.tar.gz
ports-a67e61c6111172670414f352abe75762c331d19e.zip
Update to 1.010
Notes
Notes: svn path=/head/; revision=261884
Diffstat (limited to 'devel/p5-Perl-Version')
-rw-r--r--devel/p5-Perl-Version/Makefile27
-rw-r--r--devel/p5-Perl-Version/distinfo6
-rw-r--r--devel/p5-Perl-Version/pkg-plist2
3 files changed, 11 insertions, 24 deletions
diff --git a/devel/p5-Perl-Version/Makefile b/devel/p5-Perl-Version/Makefile
index e3b8c4e21487..a5e1751844b0 100644
--- a/devel/p5-Perl-Version/Makefile
+++ b/devel/p5-Perl-Version/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Perl-Version
-PORTVERSION= 1.009
+PORTVERSION= 1.010
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,33 +14,20 @@ PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Parse and manipulate Perl version strings
-BUILD_DEPENDS= p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils
-RUN_DEPENDS= p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils
+RUN_DEPENDS= p5-File-Slurp>=9999.12:${PORTSDIR}/devel/p5-File-Slurp \
+ p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
-OPTIONS= PERLREVERSION "Install perl-reversion script" on
+MAN1= perl-reversion.1
+MAN3= Perl::Version.3
.include <bsd.port.pre.mk>
-.ifdef(WITH_PERLREVERSION)
.if ${PERL_LEVEL} < 5.008007
-BUILD_DEPENDS+= p5-Pod-Parser>=1.3:${PORTSDIR}/textproc/p5-Pod-Parser
RUN_DEPENDS+= p5-Pod-Parser>=1.3:${PORTSDIR}/textproc/p5-Pod-Parser
+BUILD_DEPENDS+= p5-Pod-Parser>=1.3:${PORTSDIR}/textproc/p5-Pod-Parser
.endif
-BUILD_DEPENDS+= p5-File-Slurp>=9999.12:${PORTSDIR}/devel/p5-File-Slurp
-RUN_DEPENDS+= p5-File-Slurp>=9999.12:${PORTSDIR}/devel/p5-File-Slurp
-MAN1= perl-reversion.1
-PROMPT= Y
-PLIST_SUB= PERLREVERSION=
-.else
-PROMPT= N
-PLIST_SUB= PERLREVERSION="@comment "
-.endif
-
-post-patch:
- @${PERL} -pi -e 's/my \$$yn/my \$$yn="${PROMPT}"; #/;' ${WRKSRC}/Makefile.PL
-
-MAN3= Perl::Version.3
.include <bsd.port.post.mk>
diff --git a/devel/p5-Perl-Version/distinfo b/devel/p5-Perl-Version/distinfo
index 2971499c026e..ea01ae49b017 100644
--- a/devel/p5-Perl-Version/distinfo
+++ b/devel/p5-Perl-Version/distinfo
@@ -1,3 +1,3 @@
-MD5 (Perl-Version-1.009.tar.gz) = d54af4a652a7a3bc4b97aae3ff44104d
-SHA256 (Perl-Version-1.009.tar.gz) = e1845872c06385af7fb708bed8a91de1fde441ea478ccb86a9d258766a893fb8
-SIZE (Perl-Version-1.009.tar.gz) = 22907
+MD5 (Perl-Version-1.010.tar.gz) = e73d9a247370fc703379cf6465add7f5
+SHA256 (Perl-Version-1.010.tar.gz) = 3e1f480c7c76d94c1e0fa49d2c5687954da9444e14b6716c31e38f28c668d0e7
+SIZE (Perl-Version-1.010.tar.gz) = 25352
diff --git a/devel/p5-Perl-Version/pkg-plist b/devel/p5-Perl-Version/pkg-plist
index eeaedaf0c5d8..bd25394232c2 100644
--- a/devel/p5-Perl-Version/pkg-plist
+++ b/devel/p5-Perl-Version/pkg-plist
@@ -1,4 +1,4 @@
-%%PERLREVERSION%%bin/perl-reversion
+bin/perl-reversion
%%SITE_PERL%%/Perl/Version.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl/Version/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl/Version