aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2008-03-20 00:40:07 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2008-03-20 00:40:07 +0000
commit1e57ec78587c5414fd830925a60e40edde0b6350 (patch)
tree0491766438de1f4a22ffc4c58994d2684e2e33e8
parent1940fb7fddf8c8636567204a613daf224744bd19 (diff)
downloadports-1e57ec78587c5414fd830925a60e40edde0b6350.tar.gz
ports-1e57ec78587c5414fd830925a60e40edde0b6350.zip
Notes
-rw-r--r--dns/p5-Net-Domain-TLD/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/dns/p5-Net-Domain-TLD/Makefile b/dns/p5-Net-Domain-TLD/Makefile
index 5c2c3ec23e53..716bc17e5bbf 100644
--- a/dns/p5-Net-Domain-TLD/Makefile
+++ b/dns/p5-Net-Domain-TLD/Makefile
@@ -7,20 +7,24 @@
PORTNAME= Net-Domain-TLD
PORTVERSION= 1.67
+PORTREVISION= 1
CATEGORIES= dns perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= Net
+MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Look up and validate TLDs
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
BUILD_DEPENDS= ${RUN_DEPENDS}
-BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
PERL_CONFIGURE= yes
MAN3= Net::Domain::TLD.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Storable>=0:${PORTSDIR}/devel/p5-Storable
+.endif
+
+.include <bsd.port.post.mk>