aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Class-Hook
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 /devel/p5-Class-Hook
parent1b702a0f718f009f5a32d32d75a69be3a129dd71 (diff)
downloadfreebsd-ports-graphics-821f4bfe1527325c53be4dbf7c0a00aff391e896.tar.gz
freebsd-ports-graphics-821f4bfe1527325c53be4dbf7c0a00aff391e896.tar.zst
freebsd-ports-graphics-821f4bfe1527325c53be4dbf7c0a00aff391e896.zip
utilize SITE_PERL
PR: 58166 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
Diffstat (limited to 'devel/p5-Class-Hook')
-rw-r--r--devel/p5-Class-Hook/Makefile5
-rw-r--r--devel/p5-Class-Hook/pkg-plist12
2 files changed, 8 insertions, 9 deletions
diff --git a/devel/p5-Class-Hook/Makefile b/devel/p5-Class-Hook/Makefile
index 4d23f44fa3d..b0a7d0fd03d 100644
--- a/devel/p5-Class-Hook/Makefile
+++ b/devel/p5-Class-Hook/Makefile
@@ -22,9 +22,8 @@ BUILD_DEPENDS= ${ARCH_PERL}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
PERL_CONFIGURE= yes
MAN3= Class::Hook.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-ARCH_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}
-SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+ARCH_PERL= ${SITE_PERL}/${PERL_ARCH}
+SITE_PERL= ${SITE_PERL}
.include <bsd.port.mk>
diff --git a/devel/p5-Class-Hook/pkg-plist b/devel/p5-Class-Hook/pkg-plist
index eab3fc0bb92..f00bdf1b230 100644
--- a/devel/p5-Class-Hook/pkg-plist
+++ b/devel/p5-Class-Hook/pkg-plist
@@ -1,6 +1,6 @@
-lib/perl5/site_perl/%%PERL_VER%%/Class/Hook.pm
-lib/perl5/site_perl/%%PERL_VER%%/Class/FOO.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Hook/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Hook
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Class 2>/dev/null || true
+%%SITE_PERL%%/Class/Hook.pm
+%%SITE_PERL%%/Class/FOO.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Hook/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Hook
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true