From 32695511cb32456839ae054816341ee233ecd5fc Mon Sep 17 00:00:00 2001 From: leeym Date: Fri, 7 Mar 2008 11:52:28 +0000 Subject: - use CPAN macro - fix dependency - bump PORTREVISION --- devel/p5-Module-Pluggable-Ordered/Makefile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'devel') 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 +.include + +.if ${PERL_LEVEL} < 500905 +RUN_DEPENDS+= p5-Module-Pluggable>=1.9:${PORTSDIR}/devel/p5-Module-Pluggable +.endif + +.include -- cgit