aboutsummaryrefslogtreecommitdiffstats
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/Makefile3
-rw-r--r--dns/p5-Tie-DNS/pkg-plist10
2 files changed, 6 insertions, 7 deletions
diff --git a/dns/p5-Tie-DNS/Makefile b/dns/p5-Tie-DNS/Makefile
index e18f5de0aac3..09365a36b341 100644
--- a/dns/p5-Tie-DNS/Makefile
+++ b/dns/p5-Tie-DNS/Makefile
@@ -18,12 +18,11 @@ COMMENT= Tie interface to p5-Net-DNS
BUILD_DEPENDS= ${SITE_PERL}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
RUN_DEPENDS= ${BUILD_DEPENDS}
-SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+SITE_PERL= ${SITE_PERL}
EXAMPLESDIR?= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
PERL_CONFIGURE= yes
MAN3= Tie::DNS.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
post-install:
.if !defined(NOPORTDOCS)
diff --git a/dns/p5-Tie-DNS/pkg-plist b/dns/p5-Tie-DNS/pkg-plist
index 73a186a3ba63..fab71504d04d 100644
--- a/dns/p5-Tie-DNS/pkg-plist
+++ b/dns/p5-Tie-DNS/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie/DNS/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Tie/DNS.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/DNS/.packlist
+%%SITE_PERL%%/Tie/DNS.pm
%%PORTDOCS%%share/examples/p5-Tie-DNS/example1.pl
%%PORTDOCS%%share/examples/p5-Tie-DNS/example2.pl
%%PORTDOCS%%share/examples/p5-Tie-DNS/example3.pl
@@ -7,7 +7,7 @@ lib/perl5/site_perl/%%PERL_VER%%/Tie/DNS.pm
%%PORTDOCS%%share/examples/p5-Tie-DNS/example5.pl
%%PORTDOCS%%share/examples/p5-Tie-DNS/example6.pl
%%PORTDOCS%%share/examples/p5-Tie-DNS/example7.pl
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Tie 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie/DNS 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Tie 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/DNS 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie 2>/dev/null || true
%%PORTDOCS%%@unexec rmdir %D/share/examples/p5-Tie-DNS 2>/dev/null || true