summaryrefslogtreecommitdiff
path: root/devel/p5-Memoize
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-10-24 12:05:09 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-10-24 12:05:09 +0000
commitc634b4bb839753aec2ae1040e2c80a5282402cb8 (patch)
treed8b3fc97550f860aeb41c57751d2550e9ad6273e /devel/p5-Memoize
parentChange MASTER_SITES to fix fetch (diff)
utilize SITE_PERL
PR: 58166 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
Diffstat (limited to 'devel/p5-Memoize')
-rw-r--r--devel/p5-Memoize/Makefile3
-rw-r--r--devel/p5-Memoize/pkg-plist24
2 files changed, 13 insertions, 14 deletions
diff --git a/devel/p5-Memoize/Makefile b/devel/p5-Memoize/Makefile
index cfaa84bf7feb..80035fd00a92 100644
--- a/devel/p5-Memoize/Makefile
+++ b/devel/p5-Memoize/Makefile
@@ -15,7 +15,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Transparently speed up perl functions by caching return values
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@@ -29,7 +29,6 @@ MAN3= Memoize.3 \
Memoize::SDBM_File.3 \
Memoize::Saves.3 \
Memoize::Storable.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
post-patch:
${PERL} -pi -e '$$_=";" if /warnings::/' ${WRKSRC}/Memoize.pm
diff --git a/devel/p5-Memoize/pkg-plist b/devel/p5-Memoize/pkg-plist
index f00621a1b96f..e8e987000b7b 100644
--- a/devel/p5-Memoize/pkg-plist
+++ b/devel/p5-Memoize/pkg-plist
@@ -1,12 +1,12 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Memoize/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Memoize.pm
-lib/perl5/site_perl/%%PERL_VER%%/Memoize/ExpireTest.pm
-lib/perl5/site_perl/%%PERL_VER%%/Memoize/Saves.pm
-lib/perl5/site_perl/%%PERL_VER%%/Memoize/Expire.pm
-lib/perl5/site_perl/%%PERL_VER%%/Memoize/AnyDBM_File.pm
-lib/perl5/site_perl/%%PERL_VER%%/Memoize/Storable.pm
-lib/perl5/site_perl/%%PERL_VER%%/Memoize/SDBM_File.pm
-lib/perl5/site_perl/%%PERL_VER%%/Memoize/ExpireFile.pm
-lib/perl5/site_perl/%%PERL_VER%%/Memoize/NDBM_File.pm
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Memoize 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Memoize 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Memoize/.packlist
+%%SITE_PERL%%/Memoize.pm
+%%SITE_PERL%%/Memoize/ExpireTest.pm
+%%SITE_PERL%%/Memoize/Saves.pm
+%%SITE_PERL%%/Memoize/Expire.pm
+%%SITE_PERL%%/Memoize/AnyDBM_File.pm
+%%SITE_PERL%%/Memoize/Storable.pm
+%%SITE_PERL%%/Memoize/SDBM_File.pm
+%%SITE_PERL%%/Memoize/ExpireFile.pm
+%%SITE_PERL%%/Memoize/NDBM_File.pm
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Memoize 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Memoize 2>/dev/null || true