aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-03-02 18:52:04 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-03-02 18:52:04 +0800
commit4d03dcfaadd266e812984756bbeefdd256d9d021 (patch)
tree183664e963d297e0a5501321a8f2d5b7f498cef7
parent0af6e0fd280395797b2c824981bf195150997375 (diff)
downloadfreebsd-ports-gnome-4d03dcfaadd266e812984756bbeefdd256d9d021.tar.gz
freebsd-ports-gnome-4d03dcfaadd266e812984756bbeefdd256d9d021.tar.zst
freebsd-ports-gnome-4d03dcfaadd266e812984756bbeefdd256d9d021.zip
- Update to 0.004002
Changes: http://search.cpan.org/dist/Contextual-Return/Changes
-rw-r--r--devel/p5-Contextual-Return/Makefile18
-rw-r--r--devel/p5-Contextual-Return/distinfo4
2 files changed, 14 insertions, 8 deletions
diff --git a/devel/p5-Contextual-Return/Makefile b/devel/p5-Contextual-Return/Makefile
index 87b77567d8bd..f65948b7a3c9 100644
--- a/devel/p5-Contextual-Return/Makefile
+++ b/devel/p5-Contextual-Return/Makefile
@@ -6,22 +6,28 @@
#
PORTNAME= Contextual-Return
-PORTVERSION= 0.2.1
-DISTVERSIONPREFIX= v
+PORTVERSION= 0.004.002
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DCONWAY
PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= perl@FreeBSD.org
COMMENT= Create context-senstive return values
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Want.pm:${PORTSDIR}/devel/p5-Want \
- ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+BUILD_DEPENDS= p5-Want>=0:${PORTSDIR}/devel/p5-Want
+RUN_DEPENDS= p5-Want>=0:${PORTSDIR}/devel/p5-Want
PERL_CONFIGURE= yes
MAN3= Contextual::Return.3 Contextual::Return::Failure.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
+RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Contextual-Return/distinfo b/devel/p5-Contextual-Return/distinfo
index f21cd3639961..4ae3aad71364 100644
--- a/devel/p5-Contextual-Return/distinfo
+++ b/devel/p5-Contextual-Return/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Contextual-Return-v0.2.1.tar.gz) = 17a1ed1043a2abe123920894d6023709e834de66ef766be86e4cfbb96b1dd16c
-SIZE (Contextual-Return-v0.2.1.tar.gz) = 27493
+SHA256 (Contextual-Return-0.004002.tar.gz) = d2fdb8819d13ba98e4d7fbf7f1cd7ff5b1075b9afe8d87a6bcd589dcefa6d889
+SIZE (Contextual-Return-0.004002.tar.gz) = 38267