aboutsummaryrefslogtreecommitdiff
path: root/math/p5-Set-IntSpan
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2006-01-01 19:06:39 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2006-01-01 19:06:39 +0000
commit71b2a204902d9a290199fd3fecd1cb8e3b00f4a9 (patch)
tree34d9d14e4f80aa21c5b6a5ae9d7ae9753ef54746 /math/p5-Set-IntSpan
parent1fb2833f795ca2a5af2bbf80661ce55305db1818 (diff)
downloadports-71b2a204902d9a290199fd3fecd1cb8e3b00f4a9.tar.gz
ports-71b2a204902d9a290199fd3fecd1cb8e3b00f4a9.zip
Notes
Diffstat (limited to 'math/p5-Set-IntSpan')
-rw-r--r--math/p5-Set-IntSpan/Makefile14
-rw-r--r--math/p5-Set-IntSpan/distinfo5
2 files changed, 11 insertions, 8 deletions
diff --git a/math/p5-Set-IntSpan/Makefile b/math/p5-Set-IntSpan/Makefile
index e11b9d023e85..0fc89f168ee1 100644
--- a/math/p5-Set-IntSpan/Makefile
+++ b/math/p5-Set-IntSpan/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= Set-IntSpan
-PORTVERSION= 1.08
-PORTREVISION= 2
+PORTVERSION= 1.09
+PORTREVISION= 0
CATEGORIES= math perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Set
@@ -20,9 +20,11 @@ PERL_CONFIGURE= yes
MAN3= Set::IntSpan.3
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
post-patch:
- @${REINPLACE_CMD} -e 's|^our ||g' ${WRKSRC}/IntSpan.pm
- @${REINPLACE_CMD} -Ee 's/(^use base.*)/\1 use vars qw(@EXPORT_OK $$VERSION);/' \
- ${WRKSRC}/IntSpan.pm
+ ${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/' ${WRKSRC}/IntSpan.pm
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/math/p5-Set-IntSpan/distinfo b/math/p5-Set-IntSpan/distinfo
index 60c550acb7b8..658d8eb8690b 100644
--- a/math/p5-Set-IntSpan/distinfo
+++ b/math/p5-Set-IntSpan/distinfo
@@ -1,2 +1,3 @@
-MD5 (Set-IntSpan-1.08.tar.gz) = 9d44f23bd2e4f3852e53f703f73fc699
-SIZE (Set-IntSpan-1.08.tar.gz) = 14148
+MD5 (Set-IntSpan-1.09.tar.gz) = 161b53631199cc9baf7c7f96ad68a31c
+SHA256 (Set-IntSpan-1.09.tar.gz) = 7a8f95af361e4365afb69e903080c9a116f202f44ed19e463b971ba988976b0d
+SIZE (Set-IntSpan-1.09.tar.gz) = 17524