aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2008-03-07 19:52:28 +0800
committerleeym <leeym@FreeBSD.org>2008-03-07 19:52:28 +0800
commit32695511cb32456839ae054816341ee233ecd5fc (patch)
tree885db6f426445804edad0de9be2a37a0ab4da74a /devel
parente2a545393695feb5553d72619c370076c7ea1cfa (diff)
downloadfreebsd-ports-gnome-32695511cb32456839ae054816341ee233ecd5fc.tar.gz
freebsd-ports-gnome-32695511cb32456839ae054816341ee233ecd5fc.tar.zst
freebsd-ports-gnome-32695511cb32456839ae054816341ee233ecd5fc.zip
- use CPAN macro
- fix dependency - bump PORTREVISION
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Module-Pluggable-Ordered/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/devel/p5-Module-Pluggable-Ordered/Makefile b/devel/p5-Module-Pluggable-Ordered/Makefile
index b7889a6f9d39..f56a4fea712c 100644
--- a/devel/p5-Module-Pluggable-Ordered/Makefile
+++ b/devel/p5-Module-Pluggable-Ordered/Makefile
@@ -7,21 +7,24 @@
PORTNAME= Module-Pluggable-Ordered
PORTVERSION= 1.5
+PORTREVISION= 1
CATEGORIES= devel perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= Module
+MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Call module plugins in a specified order
-RUN_DEPENDS= ${SITE_PERL}/Module/Pluggable.pm:${PORTSDIR}/devel/p5-Module-Pluggable \
- ${SITE_PERL}/UNIVERSAL/require.pm:${PORTSDIR}/devel/p5-UNIVERSAL-require
-BUILD_DEPENDS= ${RUN_DEPENDS}
-RUN_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+RUN_DEPENDS= p5-UNIVERSAL-require>=0:${PORTSDIR}/devel/p5-UNIVERSAL-require
PERL_CONFIGURE= yes
MAN3= Module::Pluggable::Ordered.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500905
+RUN_DEPENDS+= p5-Module-Pluggable>=1.9:${PORTSDIR}/devel/p5-Module-Pluggable
+.endif
+
+.include <bsd.port.post.mk>