aboutsummaryrefslogtreecommitdiff
path: root/dns/p5-Net-Domain-ExpireDate
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-11-26 21:13:48 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-11-26 21:13:48 +0000
commit543d6dc189278dbbb41d581a1fdf8d8df5a00afd (patch)
treefad17c826f4c5778c63e55c9157fe88425d2c7a8 /dns/p5-Net-Domain-ExpireDate
parent88ff5302007c6eb5b3527077db3439533d4bfa5b (diff)
downloadports-543d6dc189278dbbb41d581a1fdf8d8df5a00afd.tar.gz
ports-543d6dc189278dbbb41d581a1fdf8d8df5a00afd.zip
Notes
Diffstat (limited to 'dns/p5-Net-Domain-ExpireDate')
-rw-r--r--dns/p5-Net-Domain-ExpireDate/Makefile15
-rw-r--r--dns/p5-Net-Domain-ExpireDate/distinfo5
2 files changed, 11 insertions, 9 deletions
diff --git a/dns/p5-Net-Domain-ExpireDate/Makefile b/dns/p5-Net-Domain-ExpireDate/Makefile
index 05e9daa5f666..387334b623e6 100644
--- a/dns/p5-Net-Domain-ExpireDate/Makefile
+++ b/dns/p5-Net-Domain-ExpireDate/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Net-Domain-ExpireDate
-PORTVERSION= 0.98
+PORTVERSION= 1.00
CATEGORIES= dns net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,10 +14,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= clsung@FreeBSD.org
COMMENT= Perl module obtain expiration date of domain names
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Time/Piece.pm:${PORTSDIR}/devel/p5-Time-Piece \
- ${SITE_PERL}/Net/Whois/Raw.pm:${PORTSDIR}/net/p5-Net-Whois-Raw \
- ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= ${SITE_PERL}/Net/Whois/Raw.pm:${PORTSDIR}/net/p5-Net-Whois-Raw
PERL_CONFIGURE= yes
@@ -26,4 +23,10 @@ MAN3= Net::Domain::ExpireDate.3
post-patch:
@${FIND} ${WRKSRC} -name "*.orig" -delete
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500905
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/Piece.pm:${PORTSDIR}/devel/p5-Time-Piece
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/dns/p5-Net-Domain-ExpireDate/distinfo b/dns/p5-Net-Domain-ExpireDate/distinfo
index 1ff9efb768ab..c13ab10ca796 100644
--- a/dns/p5-Net-Domain-ExpireDate/distinfo
+++ b/dns/p5-Net-Domain-ExpireDate/distinfo
@@ -1,3 +1,2 @@
-MD5 (Net-Domain-ExpireDate-0.98.tar.gz) = 4b4331d529cae223586e914ebc8d4519
-SHA256 (Net-Domain-ExpireDate-0.98.tar.gz) = ec8664935212a610b0e65ba57a2e29df7fafcdae54ffa3dbd243b4f75324813e
-SIZE (Net-Domain-ExpireDate-0.98.tar.gz) = 12052
+SHA256 (Net-Domain-ExpireDate-1.00.tar.gz) = f945b41c1c18ce6712dc85621d5bb0fde0e659ba0d05e7e206d0499d098503b4
+SIZE (Net-Domain-ExpireDate-1.00.tar.gz) = 12102