aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Module-Pluggable
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2008-06-18 16:08:08 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2008-06-18 16:08:08 +0000
commit487f5a85f6150edc460481495eec41623c6e2113 (patch)
tree0a63641334ec7ee2b9f5eeaaac9da625201e5450 /devel/p5-Module-Pluggable
parent192eab7eef321cb83f5c8b33d11bd17affafe820 (diff)
downloadports-487f5a85f6150edc460481495eec41623c6e2113.tar.gz
ports-487f5a85f6150edc460481495eec41623c6e2113.zip
Notes
Diffstat (limited to 'devel/p5-Module-Pluggable')
-rw-r--r--devel/p5-Module-Pluggable/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/devel/p5-Module-Pluggable/Makefile b/devel/p5-Module-Pluggable/Makefile
index 6b0ee761c435..0b45dadc5d78 100644
--- a/devel/p5-Module-Pluggable/Makefile
+++ b/devel/p5-Module-Pluggable/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Module-Pluggable
PORTVERSION= 3.8
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,13 +15,16 @@ PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Automatically give your module the ability to have plugins
-RUN_DEPENDS= p5-PathTools>=3.0:${PORTSDIR}/devel/p5-PathTools
-BUILD_DEPENDS= ${RUN_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= Devel::InnerPackage.3 \
Module::Pluggable.3 \
Module::Pluggable::Object.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500806
+RUN_DEPENDS+= p5-PathTools>=3.0:${PORTSDIR}/devel/p5-PathTools
+.endif
+
+.include <bsd.port.post.mk>