aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2006-01-02 03:06:39 +0800
committerleeym <leeym@FreeBSD.org>2006-01-02 03:06:39 +0800
commit14c92a8394b53ac3e000bbda716323eb996e5411 (patch)
treebb4755bb3eb14c6d962c66ad19bb4a93b1c48405 /math
parent228e82a4384c0a738b86a94b69f1d7ab2f3e3dbf (diff)
downloadfreebsd-ports-gnome-14c92a8394b53ac3e000bbda716323eb996e5411.tar.gz
freebsd-ports-gnome-14c92a8394b53ac3e000bbda716323eb996e5411.tar.zst
freebsd-ports-gnome-14c92a8394b53ac3e000bbda716323eb996e5411.zip
- Update to 1.09
PR: 90573 Submitted by: leeym Approved by: maintainer timeout
Diffstat (limited to 'math')
-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