aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Test-Exception
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-Test-Exception
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-Test-Exception')
-rw-r--r--devel/p5-Test-Exception/Makefile8
-rw-r--r--devel/p5-Test-Exception/pkg-plist8
2 files changed, 8 insertions, 8 deletions
diff --git a/devel/p5-Test-Exception/Makefile b/devel/p5-Test-Exception/Makefile
index 4c2148bd341..99f7e95bc5a 100644
--- a/devel/p5-Test-Exception/Makefile
+++ b/devel/p5-Test-Exception/Makefile
@@ -15,8 +15,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= erwin@FreeBSD.org
COMMENT= Test::Exception - test functions for exception based code
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/Builder/Tester.pm:${PORTSDIR}/devel/p5-Test-Builder-Tester \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Sub/Uplevel.pm:${PORTSDIR}/devel/p5-Sub-Uplevel
+BUILD_DEPENDS= ${SITE_PERL}/Test/Builder/Tester.pm:${PORTSDIR}/devel/p5-Test-Builder-Tester \
+ ${SITE_PERL}/Sub/Uplevel.pm:${PORTSDIR}/devel/p5-Sub-Uplevel
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@@ -34,8 +34,8 @@ IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again
.endif
.if ${PERL_LEVEL} < 500800
-BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
-RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+RUN_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>
diff --git a/devel/p5-Test-Exception/pkg-plist b/devel/p5-Test-Exception/pkg-plist
index f00cb3fe1bd..230e6b5cb2a 100644
--- a/devel/p5-Test-Exception/pkg-plist
+++ b/devel/p5-Test-Exception/pkg-plist
@@ -1,4 +1,4 @@
-lib/perl5/site_perl/%%PERL_VER%%/mach/auto/Test/Exception/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Test/Exception.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/mach/auto/Test/Exception
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Test 2>/dev/null || true
+%%SITE_PERL%%/mach/auto/Test/Exception/.packlist
+%%SITE_PERL%%/Test/Exception.pm
+@dirrm %%SITE_PERL%%/mach/auto/Test/Exception
+@unexec rmdir %D/%%SITE_PERL%%/Test 2>/dev/null || true