aboutsummaryrefslogtreecommitdiffstats
path: root/dns/p5-Tie-DNS
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-10-24 20:05:09 +0800
committerijliao <ijliao@FreeBSD.org>2003-10-24 20:05:09 +0800
commit821f4bfe1527325c53be4dbf7c0a00aff391e896 (patch)
tree58fe92204378aa80d003f4d264f7a76f3b318df9 /dns/p5-Tie-DNS
parent1b702a0f718f009f5a32d32d75a69be3a129dd71 (diff)
downloadfreebsd-ports-gnome-821f4bfe1527325c53be4dbf7c0a00aff391e896.tar.gz
freebsd-ports-gnome-821f4bfe1527325c53be4dbf7c0a00aff391e896.tar.zst
freebsd-ports-gnome-821f4bfe1527325c53be4dbf7c0a00aff391e896.zip
utilize SITE_PERL
PR: 58166 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
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