aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2008-10-22 19:35:43 +0800
committerleeym <leeym@FreeBSD.org>2008-10-22 19:35:43 +0800
commit3b64225046152bcf78db3796565b6f5bc595231b (patch)
treeb2ad4b18d107a3da504128be146659fe5d908f44 /devel
parentda34c1625691ee8004d8cb8d6df595d8b2118e33 (diff)
downloadfreebsd-ports-gnome-3b64225046152bcf78db3796565b6f5bc595231b.tar.gz
freebsd-ports-gnome-3b64225046152bcf78db3796565b6f5bc595231b.tar.zst
freebsd-ports-gnome-3b64225046152bcf78db3796565b6f5bc595231b.zip
- simplify dependency
- bump PORTREVISION
Diffstat (limited to 'devel')
-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>