aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Config-Std
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2008-10-22 11:35:43 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2008-10-22 11:35:43 +0000
commitb6dcf83fff80f80d3fe8bfa6b13df6aaa9f84445 (patch)
tree9e21c9f57a388ff0175c1463bc4e7e019b0a5073 /devel/p5-Config-Std
parentf8d8cf0fca001cb69ce4707e5a78df6ba57bac1d (diff)
downloadports-b6dcf83fff80f80d3fe8bfa6b13df6aaa9f84445.tar.gz
ports-b6dcf83fff80f80d3fe8bfa6b13df6aaa9f84445.zip
- simplify dependency
- bump PORTREVISION
Notes
Notes: svn path=/head/; revision=221900
Diffstat (limited to 'devel/p5-Config-Std')
-rw-r--r--devel/p5-Config-Std/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/devel/p5-Config-Std/Makefile b/devel/p5-Config-Std/Makefile
index b81985a6be79..4bcfd805913f 100644
--- a/devel/p5-Config-Std/Makefile
+++ b/devel/p5-Config-Std/Makefile
@@ -8,6 +8,7 @@
PORTNAME= Config-Std
DISTVERSIONPREFIX= v
DISTVERSION= 0.0.4
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,13 +16,16 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Load and save configuration files in a standard format
-BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
- ${SITE_PERL}/Class/Std.pm:${PORTSDIR}/devel/p5-Class-Std \
- ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-Class-Std>=0:${PORTSDIR}/devel/p5-Class-Std
PERL_CONFIGURE= YES
MAN3= Config::Std.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500900
+RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
+.endif
+
+.include <bsd.port.post.mk>