aboutsummaryrefslogtreecommitdiff
path: root/dns/p5-Tie-DNS
diff options
context:
space:
mode:
Diffstat (limited to 'dns/p5-Tie-DNS')
-rw-r--r--dns/p5-Tie-DNS/Makefile15
-rw-r--r--dns/p5-Tie-DNS/distinfo6
-rw-r--r--dns/p5-Tie-DNS/pkg-plist8
3 files changed, 13 insertions, 16 deletions
diff --git a/dns/p5-Tie-DNS/Makefile b/dns/p5-Tie-DNS/Makefile
index 28d4e53be273..b2d9aac1bf5a 100644
--- a/dns/p5-Tie-DNS/Makefile
+++ b/dns/p5-Tie-DNS/Makefile
@@ -6,27 +6,32 @@
#
PORTNAME= Tie-DNS
-PORTVERSION= 0.5
+PORTVERSION= 0.6.1
PORTEPOCH= 1
CATEGORIES= dns perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
-EXTRACT_SUFX= .tgz
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
COMMENT= Tie interface to p5-Net-DNS
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-Net-DNS>=0.12:${PORTSDIR}/dns/p5-Net-DNS \
+ p5-Tie-Cache>=0.01:${PORTSDIR}/devel/p5-Tie-Cache
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Tie::DNS.3
+.if !defined(NOPORTEXAMPLES)
+
+PORTEXAMPLES= *
+
post-install:
-.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/eg/* ${EXAMPLESDIR}
+
.endif
.include <bsd.port.mk>
diff --git a/dns/p5-Tie-DNS/distinfo b/dns/p5-Tie-DNS/distinfo
index 8a5889f100e1..0f0b54f3f052 100644
--- a/dns/p5-Tie-DNS/distinfo
+++ b/dns/p5-Tie-DNS/distinfo
@@ -1,3 +1,3 @@
-MD5 (Tie-DNS-0.5.tgz) = 04845f7a995520e363a0439e5ea53f90
-SHA256 (Tie-DNS-0.5.tgz) = 6592b8c08798078c50eb2155b8ddbfa81eb01b4a950a3476bee6ca92129296f3
-SIZE (Tie-DNS-0.5.tgz) = 6620
+MD5 (Tie-DNS-0.61.tar.gz) = af73dca9678a91a365b693eac2ef0d1c
+SHA256 (Tie-DNS-0.61.tar.gz) = 83613030288769e2eaeaea138824be39671f1f98e9cf75f8f6182815fc649e8a
+SIZE (Tie-DNS-0.61.tar.gz) = 7957
diff --git a/dns/p5-Tie-DNS/pkg-plist b/dns/p5-Tie-DNS/pkg-plist
index 36b4efda56e1..8e92d2471ceb 100644
--- a/dns/p5-Tie-DNS/pkg-plist
+++ b/dns/p5-Tie-DNS/pkg-plist
@@ -1,13 +1,5 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/DNS/.packlist
%%SITE_PERL%%/Tie/DNS.pm
-%%PORTDOCS%%%%EXAMPLESDIR%%/example1.pl
-%%PORTDOCS%%%%EXAMPLESDIR%%/example2.pl
-%%PORTDOCS%%%%EXAMPLESDIR%%/example3.pl
-%%PORTDOCS%%%%EXAMPLESDIR%%/example4.pl
-%%PORTDOCS%%%%EXAMPLESDIR%%/example5.pl
-%%PORTDOCS%%%%EXAMPLESDIR%%/example6.pl
-%%PORTDOCS%%%%EXAMPLESDIR%%/example7.pl
@dirrmtry %%SITE_PERL%%/Tie
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/DNS
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie
-%%PORTDOCS%%@dirrmtry %%EXAMPLESDIR%%