aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2008-03-20 08:40:07 +0800
committerleeym <leeym@FreeBSD.org>2008-03-20 08:40:07 +0800
commitde7ae45d0ebe30ba7f0f355a2bde12bf213a6b0e (patch)
treef397bb500d9c5fed293f05ecd6fe1a952b44839d /dns
parent3bf380c14a3c66877709f2ab63f0bd38721edc94 (diff)
downloadfreebsd-ports-gnome-de7ae45d0ebe30ba7f0f355a2bde12bf213a6b0e.tar.gz
freebsd-ports-gnome-de7ae45d0ebe30ba7f0f355a2bde12bf213a6b0e.tar.zst
freebsd-ports-gnome-de7ae45d0ebe30ba7f0f355a2bde12bf213a6b0e.zip
- use CPAN macro
- fix dependency - bump PORTREVISION PR: 121206 Submitted by: leeym Approved by: maintainer timeout
Diffstat (limited to 'dns')
-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>