summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/chord2html/Makefile2
-rw-r--r--misc/p5-Array-Compare/Makefile1
-rw-r--r--misc/p5-Array-Compare/pkg-plist16
-rw-r--r--misc/p5-Array-IntSpan/Makefile1
-rw-r--r--misc/p5-Array-IntSpan/pkg-plist14
-rw-r--r--misc/p5-Array-PrintCols/Makefile1
-rw-r--r--misc/p5-Array-PrintCols/pkg-plist10
-rw-r--r--misc/p5-Array-RefElem/Makefile1
-rw-r--r--misc/p5-Array-RefElem/pkg-plist14
-rw-r--r--misc/p5-Business-ISBN/Makefile1
-rw-r--r--misc/p5-Business-ISBN/pkg-plist14
-rw-r--r--misc/p5-Business-ISIN/Makefile3
-rw-r--r--misc/p5-Business-ISIN/pkg-plist10
-rw-r--r--misc/p5-Business-ISSN/Makefile1
-rw-r--r--misc/p5-Business-ISSN/pkg-plist10
-rw-r--r--misc/p5-Business-UPS/Makefile3
-rw-r--r--misc/p5-Business-UPS/pkg-plist16
-rw-r--r--misc/p5-Chatbot-Eliza/Makefile1
-rw-r--r--misc/p5-Chatbot-Eliza/pkg-plist8
-rw-r--r--misc/p5-Data-Buffer/Makefile1
-rw-r--r--misc/p5-Data-Buffer/pkg-plist10
-rw-r--r--misc/p5-File-Sort/Makefile1
-rw-r--r--misc/p5-File-Sort/pkg-plist10
-rw-r--r--misc/p5-Finance-Currency-Convert/Makefile1
-rw-r--r--misc/p5-Finance-Currency-Convert/pkg-plist22
-rw-r--r--misc/p5-Finance-Quote/Makefile5
-rw-r--r--misc/p5-Finance-Quote/pkg-plist48
-rw-r--r--misc/p5-Finance-QuoteHist/Makefile3
-rw-r--r--misc/p5-Finance-QuoteHist/pkg-plist18
-rw-r--r--misc/p5-Geo-Weather/Makefile3
-rw-r--r--misc/p5-Geo-Weather/pkg-plist10
-rw-r--r--misc/p5-LEGO-RCX/Makefile1
-rw-r--r--misc/p5-LEGO-RCX/pkg-plist10
-rw-r--r--misc/p5-Locale-Codes/Makefile1
-rw-r--r--misc/p5-Locale-Codes/pkg-plist26
-rw-r--r--misc/p5-Locale-Msgcat/Makefile1
-rw-r--r--misc/p5-Locale-SubCountry/Makefile1
-rw-r--r--misc/p5-Locale-SubCountry/pkg-plist10
-rw-r--r--misc/p5-Text-FIGlet/Makefile1
-rw-r--r--misc/p5-Text-FIGlet/pkg-plist18
-rw-r--r--misc/p5-Tie-DxHash/Makefile1
-rw-r--r--misc/p5-Tie-DxHash/pkg-plist10
-rw-r--r--misc/telbook/Makefile2
-rw-r--r--misc/translate/Makefile2
44 files changed, 161 insertions, 182 deletions
diff --git a/misc/chord2html/Makefile b/misc/chord2html/Makefile
index 68aeb4836879..a19b3bc1df1d 100644
--- a/misc/chord2html/Makefile
+++ b/misc/chord2html/Makefile
@@ -14,7 +14,7 @@ MASTER_SITES= http://helllabs.org/~claudio/chord/
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert CHORD input files to HTML
-RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD
USE_PERL5= yes
NO_BUILD= yes
diff --git a/misc/p5-Array-Compare/Makefile b/misc/p5-Array-Compare/Makefile
index dccad22caa10..52a889bb49ca 100644
--- a/misc/p5-Array-Compare/Makefile
+++ b/misc/p5-Array-Compare/Makefile
@@ -18,6 +18,5 @@ COMMENT= Perl extension for comparing arrays
PERL_CONFIGURE= yes
MAN3= Array::Compare.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/misc/p5-Array-Compare/pkg-plist b/misc/p5-Array-Compare/pkg-plist
index 2c169362457b..a3fe53ab406a 100644
--- a/misc/p5-Array-Compare/pkg-plist
+++ b/misc/p5-Array-Compare/pkg-plist
@@ -1,8 +1,8 @@
-lib/perl5/site_perl/%%PERL_VER%%/Array/Compare.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Array/Compare/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/auto/Array/Compare/autosplit.ix
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/Array/Compare
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Array 2>/dev/null || true
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Array/Compare
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Array 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Array 2>/dev/null || true
+%%SITE_PERL%%/Array/Compare.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Array/Compare/.packlist
+%%SITE_PERL%%/auto/Array/Compare/autosplit.ix
+@dirrm %%SITE_PERL%%/auto/Array/Compare
+@unexec rmdir %D/%%SITE_PERL%%/auto/Array 2>/dev/null || true
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Array/Compare
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Array 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Array 2>/dev/null || true
diff --git a/misc/p5-Array-IntSpan/Makefile b/misc/p5-Array-IntSpan/Makefile
index 7ff3cb4a3cf5..a8203b18d561 100644
--- a/misc/p5-Array-IntSpan/Makefile
+++ b/misc/p5-Array-IntSpan/Makefile
@@ -19,6 +19,5 @@ PERL_CONFIGURE= yes
MAN3= Array::Array::IntSpan.3 \
Array::Array::IntSpan::IP.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/misc/p5-Array-IntSpan/pkg-plist b/misc/p5-Array-IntSpan/pkg-plist
index 6b3e1b2ffca4..79459a251af8 100644
--- a/misc/p5-Array-IntSpan/pkg-plist
+++ b/misc/p5-Array-IntSpan/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/Array/IntSpan.pm
-lib/perl5/site_perl/%%PERL_VER%%/Array/IntSpan/IP.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Array/IntSpan/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Array/IntSpan
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Array 2>/dev/null || true
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Array/IntSpan
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Array 2>/dev/null || true
+%%SITE_PERL%%/Array/IntSpan.pm
+%%SITE_PERL%%/Array/IntSpan/IP.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Array/IntSpan/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Array/IntSpan
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Array 2>/dev/null || true
+@dirrm %%SITE_PERL%%/Array/IntSpan
+@unexec rmdir %D/%%SITE_PERL%%/Array 2>/dev/null || true
diff --git a/misc/p5-Array-PrintCols/Makefile b/misc/p5-Array-PrintCols/Makefile
index 9991fc364b6c..e44caa751637 100644
--- a/misc/p5-Array-PrintCols/Makefile
+++ b/misc/p5-Array-PrintCols/Makefile
@@ -18,6 +18,5 @@ COMMENT= Perl5 module to print arrays of elements in sorted columns
PERL_CONFIGURE= yes
MAN3= Array::PrintCols.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/misc/p5-Array-PrintCols/pkg-plist b/misc/p5-Array-PrintCols/pkg-plist
index 97f24fdbf8d1..b0e1ed2ee54e 100644
--- a/misc/p5-Array-PrintCols/pkg-plist
+++ b/misc/p5-Array-PrintCols/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/Array/PrintCols.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Array/PrintCols/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Array/PrintCols
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Array 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Array 2>/dev/null || true
+%%SITE_PERL%%/Array/PrintCols.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Array/PrintCols/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Array/PrintCols
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Array 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Array 2>/dev/null || true
diff --git a/misc/p5-Array-RefElem/Makefile b/misc/p5-Array-RefElem/Makefile
index dada3d265858..e0773301ae95 100644
--- a/misc/p5-Array-RefElem/Makefile
+++ b/misc/p5-Array-RefElem/Makefile
@@ -18,6 +18,5 @@ COMMENT= Set up array elements as aliases
PERL_CONFIGURE= yes
MAN3= Array::RefElem.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/misc/p5-Array-RefElem/pkg-plist b/misc/p5-Array-RefElem/pkg-plist
index e6c43f84b3ce..f62a7a4a6b1b 100644
--- a/misc/p5-Array-RefElem/pkg-plist
+++ b/misc/p5-Array-RefElem/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Array/RefElem.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Array/RefElem/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Array/RefElem/RefElem.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Array/RefElem/RefElem.so
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Array/RefElem
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Array 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Array 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Array/RefElem.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Array/RefElem/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Array/RefElem/RefElem.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Array/RefElem/RefElem.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Array/RefElem
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Array 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Array 2>/dev/null || true
diff --git a/misc/p5-Business-ISBN/Makefile b/misc/p5-Business-ISBN/Makefile
index 4bd40b5e12de..f88c696f664a 100644
--- a/misc/p5-Business-ISBN/Makefile
+++ b/misc/p5-Business-ISBN/Makefile
@@ -19,6 +19,5 @@ PERL_CONFIGURE= yes
MAN3= Business::ISBN.3 \
Business::Data.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/misc/p5-Business-ISBN/pkg-plist b/misc/p5-Business-ISBN/pkg-plist
index 77a76161c862..2050e7ab1495 100644
--- a/misc/p5-Business-ISBN/pkg-plist
+++ b/misc/p5-Business-ISBN/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/Business/ISBN.pm
-lib/perl5/site_perl/%%PERL_VER%%/Business/ISBN/Data.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Business/ISBN/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Business/ISBN
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Business 2>/dev/null || true
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Business/ISBN
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Business 2>/dev/null || true
+%%SITE_PERL%%/Business/ISBN.pm
+%%SITE_PERL%%/Business/ISBN/Data.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/ISBN/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/ISBN
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Business 2>/dev/null || true
+@dirrm %%SITE_PERL%%/Business/ISBN
+@unexec rmdir %D/%%SITE_PERL%%/Business 2>/dev/null || true
diff --git a/misc/p5-Business-ISIN/Makefile b/misc/p5-Business-ISIN/Makefile
index fa9a6e749de9..6f3b30b92e6c 100644
--- a/misc/p5-Business-ISIN/Makefile
+++ b/misc/p5-Business-ISIN/Makefile
@@ -19,10 +19,9 @@ COMMENT= Validate International Securities Identification Numbers
BUILD_DEPENDS= ${SITE_PERL}/Locale/Country.pm:${PORTSDIR}/misc/p5-Locale-Codes
RUN_DEPENDS= ${BUILD_DEPENDS}
-SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+SITE_PERL= ${SITE_PERL}
PERL_CONFIGURE= yes
MAN3= Business::ISIN.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/misc/p5-Business-ISIN/pkg-plist b/misc/p5-Business-ISIN/pkg-plist
index ea88934b00d4..36e91d9130af 100644
--- a/misc/p5-Business-ISIN/pkg-plist
+++ b/misc/p5-Business-ISIN/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Business/ISIN/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Business/ISIN.pm
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Business 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Business/ISIN 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Business 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/ISIN/.packlist
+%%SITE_PERL%%/Business/ISIN.pm
+@unexec rmdir %D/%%SITE_PERL%%/Business 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/ISIN 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Business 2>/dev/null || true
diff --git a/misc/p5-Business-ISSN/Makefile b/misc/p5-Business-ISSN/Makefile
index 02d3d54b5dd3..f41561544faa 100644
--- a/misc/p5-Business-ISSN/Makefile
+++ b/misc/p5-Business-ISSN/Makefile
@@ -18,6 +18,5 @@ COMMENT= Perl extension for International Standard Serial Numbers
PERL_CONFIGURE= yes
MAN3= Business::ISSN.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/misc/p5-Business-ISSN/pkg-plist b/misc/p5-Business-ISSN/pkg-plist
index 440cb108dcbc..f1b8dd227624 100644
--- a/misc/p5-Business-ISSN/pkg-plist
+++ b/misc/p5-Business-ISSN/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/Business/ISSN.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Business/ISSN/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Business/ISSN
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Business 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Business 2>/dev/null || true
+%%SITE_PERL%%/Business/ISSN.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/ISSN/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/ISSN
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Business 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Business 2>/dev/null || true
diff --git a/misc/p5-Business-UPS/Makefile b/misc/p5-Business-UPS/Makefile
index d88fa635f738..908a4dcf3dd7 100644
--- a/misc/p5-Business-UPS/Makefile
+++ b/misc/p5-Business-UPS/Makefile
@@ -18,12 +18,11 @@ COMMENT= A UPS Interface Module
BUILD_DEPENDS= ${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS= ${BUILD_DEPENDS}
-SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+SITE_PERL= ${SITE_PERL}
EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME}
PERL_CONFIGURE= yes
MAN3= Business::UPS.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
post-install:
.if !defined(NOPORTDOCS)
diff --git a/misc/p5-Business-UPS/pkg-plist b/misc/p5-Business-UPS/pkg-plist
index 7d91b25dd558..2b24cebe717c 100644
--- a/misc/p5-Business-UPS/pkg-plist
+++ b/misc/p5-Business-UPS/pkg-plist
@@ -1,10 +1,10 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Business/UPS/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Business/UPS.pm
-lib/perl5/site_perl/%%PERL_VER%%/auto/Business/UPS/autosplit.ix
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/UPS/.packlist
+%%SITE_PERL%%/Business/UPS.pm
+%%SITE_PERL%%/auto/Business/UPS/autosplit.ix
%%PORTDOCS%%share/examples/Business-UPS/test.pl
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Business/UPS 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Business 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Business 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Business/UPS 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Business 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/auto/Business/UPS 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/auto/Business 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Business 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/UPS 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Business 2>/dev/null || true
%%PORTDOCS%%@unexec rmdir %D/share/examples/Business-UPS 2>/dev/null || true
diff --git a/misc/p5-Chatbot-Eliza/Makefile b/misc/p5-Chatbot-Eliza/Makefile
index 45375c003c79..6badd08a8f42 100644
--- a/misc/p5-Chatbot-Eliza/Makefile
+++ b/misc/p5-Chatbot-Eliza/Makefile
@@ -18,7 +18,6 @@ COMMENT= A clone of the classic Eliza program
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Chatbot::Eliza.3
.include <bsd.port.mk>
diff --git a/misc/p5-Chatbot-Eliza/pkg-plist b/misc/p5-Chatbot-Eliza/pkg-plist
index 8fedbaa0bd93..fa1e6f228b14 100644
--- a/misc/p5-Chatbot-Eliza/pkg-plist
+++ b/misc/p5-Chatbot-Eliza/pkg-plist
@@ -1,4 +1,4 @@
-lib/perl5/site_perl/%%PERL_VER%%/Chatbot/Eliza.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Chatbot/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Chatbot
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Chatbot
+%%SITE_PERL%%/Chatbot/Eliza.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Chatbot/.packlist
+@dirrm %%SITE_PERL%%/Chatbot
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Chatbot
diff --git a/misc/p5-Data-Buffer/Makefile b/misc/p5-Data-Buffer/Makefile
index c8135f7ea7f0..48096f444dde 100644
--- a/misc/p5-Data-Buffer/Makefile
+++ b/misc/p5-Data-Buffer/Makefile
@@ -17,7 +17,6 @@ COMMENT= Read/write buffer class
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Data::Buffer.3
.include <bsd.port.mk>
diff --git a/misc/p5-Data-Buffer/pkg-plist b/misc/p5-Data-Buffer/pkg-plist
index f0ad119a90f8..c4cf578dcb01 100644
--- a/misc/p5-Data-Buffer/pkg-plist
+++ b/misc/p5-Data-Buffer/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Data/Buffer/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Data/Buffer.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Data/Buffer
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Data
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Data
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Buffer/.packlist
+%%SITE_PERL%%/Data/Buffer.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Buffer
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data
+@dirrm %%SITE_PERL%%/Data
diff --git a/misc/p5-File-Sort/Makefile b/misc/p5-File-Sort/Makefile
index 1b94c3b311cd..49d9298608fa 100644
--- a/misc/p5-File-Sort/Makefile
+++ b/misc/p5-File-Sort/Makefile
@@ -18,6 +18,5 @@ COMMENT= Sort a file or merge sort multiple files
PERL_CONFIGURE= yes
MAN3= File::Sort.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/misc/p5-File-Sort/pkg-plist b/misc/p5-File-Sort/pkg-plist
index a27894b16bab..b164ce1a8eae 100644
--- a/misc/p5-File-Sort/pkg-plist
+++ b/misc/p5-File-Sort/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/File/Sort.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/Sort/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/Sort
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/File 2>/dev/null || true
+%%SITE_PERL%%/File/Sort.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Sort/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Sort
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/File 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/File 2>/dev/null || true
diff --git a/misc/p5-Finance-Currency-Convert/Makefile b/misc/p5-Finance-Currency-Convert/Makefile
index 4ab058133e71..2c0b78df88c3 100644
--- a/misc/p5-Finance-Currency-Convert/Makefile
+++ b/misc/p5-Finance-Currency-Convert/Makefile
@@ -19,6 +19,5 @@ COMMENT= Convert currencies and fetch their exchange rates
PERL_CONFIGURE= yes
MAN3= Finance::Currency::Convert.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/misc/p5-Finance-Currency-Convert/pkg-plist b/misc/p5-Finance-Currency-Convert/pkg-plist
index 73fda488e846..0f529d8b2deb 100644
--- a/misc/p5-Finance-Currency-Convert/pkg-plist
+++ b/misc/p5-Finance-Currency-Convert/pkg-plist
@@ -1,11 +1,11 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Finance/Currency/Convert/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Currency/Convert.pm
-lib/perl5/site_perl/%%PERL_VER%%/auto/Finance/Currency/Convert/autosplit.ix
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Finance/Currency/Convert 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Finance/Currency 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Finance 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Finance/Currency 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Finance 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Finance/Currency/Convert 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Finance/Currency 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Finance 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Finance/Currency/Convert/.packlist
+%%SITE_PERL%%/Finance/Currency/Convert.pm
+%%SITE_PERL%%/auto/Finance/Currency/Convert/autosplit.ix
+@unexec rmdir %D/%%SITE_PERL%%/auto/Finance/Currency/Convert 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/auto/Finance/Currency 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/auto/Finance 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Finance/Currency 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Finance 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Finance/Currency/Convert 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Finance/Currency 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Finance 2>/dev/null || true
diff --git a/misc/p5-Finance-Quote/Makefile b/misc/p5-Finance-Quote/Makefile
index e059a4582ad7..286dc2e5c6e6 100644
--- a/misc/p5-Finance-Quote/Makefile
+++ b/misc/p5-Finance-Quote/Makefile
@@ -15,13 +15,12 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Get stock and mutual fund quotes from various exchanges
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/HTML/TableExtract.pm:${PORTSDIR}/www/p5-HTML-TableExtract \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww
+BUILD_DEPENDS= ${SITE_PERL}/HTML/TableExtract.pm:${PORTSDIR}/www/p5-HTML-TableExtract \
+ ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Finance::Quote.3 Finance::Quote::AEX.3 Finance::Quote::ASX.3 \
Finance::Quote::Cdnfundlibrary.3 Finance::Quote::DWS.3 \
Finance::Quote::Fidelity.3 Finance::Quote::Fool.3 \
diff --git a/misc/p5-Finance-Quote/pkg-plist b/misc/p5-Finance-Quote/pkg-plist
index fa2532f90873..14061834195d 100644
--- a/misc/p5-Finance-Quote/pkg-plist
+++ b/misc/p5-Finance-Quote/pkg-plist
@@ -1,24 +1,24 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Finance/Quote/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/AEX.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/ASX.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/Cdnfundlibrary.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/DWS.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/Fidelity.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/Fool.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/Tdwaterhouse.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/Tiaacref.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/Troweprice.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/Trustnet.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/UserAgent.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/VWD.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/Yahoo/Asia.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/Yahoo/Australia.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/Yahoo/Base.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/Yahoo/Europe.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/Yahoo/USA.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote/Yahoo
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Finance/Quote
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Finance/Quote
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Finance 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Finance 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Finance/Quote/.packlist
+%%SITE_PERL%%/Finance/Quote.pm
+%%SITE_PERL%%/Finance/Quote/AEX.pm
+%%SITE_PERL%%/Finance/Quote/ASX.pm
+%%SITE_PERL%%/Finance/Quote/Cdnfundlibrary.pm
+%%SITE_PERL%%/Finance/Quote/DWS.pm
+%%SITE_PERL%%/Finance/Quote/Fidelity.pm
+%%SITE_PERL%%/Finance/Quote/Fool.pm
+%%SITE_PERL%%/Finance/Quote/Tdwaterhouse.pm
+%%SITE_PERL%%/Finance/Quote/Tiaacref.pm
+%%SITE_PERL%%/Finance/Quote/Troweprice.pm
+%%SITE_PERL%%/Finance/Quote/Trustnet.pm
+%%SITE_PERL%%/Finance/Quote/UserAgent.pm
+%%SITE_PERL%%/Finance/Quote/VWD.pm
+%%SITE_PERL%%/Finance/Quote/Yahoo/Asia.pm
+%%SITE_PERL%%/Finance/Quote/Yahoo/Australia.pm
+%%SITE_PERL%%/Finance/Quote/Yahoo/Base.pm
+%%SITE_PERL%%/Finance/Quote/Yahoo/Europe.pm
+%%SITE_PERL%%/Finance/Quote/Yahoo/USA.pm
+@dirrm %%SITE_PERL%%/Finance/Quote/Yahoo
+@dirrm %%SITE_PERL%%/Finance/Quote
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Finance/Quote
+@unexec rmdir %D/%%SITE_PERL%%/Finance 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Finance 2>/dev/null || true
diff --git a/misc/p5-Finance-QuoteHist/Makefile b/misc/p5-Finance-QuoteHist/Makefile
index bd22ac434806..7dbe3d946be7 100644
--- a/misc/p5-Finance-QuoteHist/Makefile
+++ b/misc/p5-Finance-QuoteHist/Makefile
@@ -20,7 +20,7 @@ BUILD_DEPENDS= ${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \
${SITE_PERL}/HTML/TableExtract.pm:${PORTSDIR}/www/p5-HTML-TableExtract
RUN_DEPENDS= ${BUILD_DEPENDS}
-SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+SITE_PERL= ${SITE_PERL}
PERL_CONFIGURE= yes
MAN3= Finance::QuoteHist::Yahoo.3 \
@@ -28,6 +28,5 @@ MAN3= Finance::QuoteHist::Yahoo.3 \
Finance::QuoteHist::WallStreetCity.3 \
Finance::QuoteHist::SiliconInvestor.3 \
Finance::QuoteHist::Generic.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/misc/p5-Finance-QuoteHist/pkg-plist b/misc/p5-Finance-QuoteHist/pkg-plist
index 02a621c4500e..b2674a16e66b 100644
--- a/misc/p5-Finance-QuoteHist/pkg-plist
+++ b/misc/p5-Finance-QuoteHist/pkg-plist
@@ -1,9 +1,9 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Finance-QuoteHist/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Finance/QuoteHist.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/QuoteHist/Generic.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/QuoteHist/SiliconInvestor.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/QuoteHist/Yahoo.pm
-lib/perl5/site_perl/%%PERL_VER%%/Finance/QuoteHist/WallStreetCity.pm
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Finance/QuoteHist 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Finance 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Finance-QuoteHist 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Finance-QuoteHist/.packlist
+%%SITE_PERL%%/Finance/QuoteHist.pm
+%%SITE_PERL%%/Finance/QuoteHist/Generic.pm
+%%SITE_PERL%%/Finance/QuoteHist/SiliconInvestor.pm
+%%SITE_PERL%%/Finance/QuoteHist/Yahoo.pm
+%%SITE_PERL%%/Finance/QuoteHist/WallStreetCity.pm
+@unexec rmdir %D/%%SITE_PERL%%/Finance/QuoteHist 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Finance 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Finance-QuoteHist 2>/dev/null || true
diff --git a/misc/p5-Geo-Weather/Makefile b/misc/p5-Geo-Weather/Makefile
index e45319bcf2e8..b7eae576d416 100644
--- a/misc/p5-Geo-Weather/Makefile
+++ b/misc/p5-Geo-Weather/Makefile
@@ -18,10 +18,9 @@ COMMENT= Perl module to retrieve weather information from weather.com
RUN_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww
-SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+SITE_PERL= ${SITE_PERL}
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Geo::Weather.3
.include <bsd.port.mk>
diff --git a/misc/p5-Geo-Weather/pkg-plist b/misc/p5-Geo-Weather/pkg-plist
index a1e7bddcacad..a6af6ea5fac6 100644
--- a/misc/p5-Geo-Weather/pkg-plist
+++ b/misc/p5-Geo-Weather/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/Geo/Weather.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo/Weather/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo/Weather
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Geo 2>/dev/null || true
+%%SITE_PERL%%/Geo/Weather.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Weather/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Weather
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Geo 2>/dev/null || true
diff --git a/misc/p5-LEGO-RCX/Makefile b/misc/p5-LEGO-RCX/Makefile
index b0ecfcebe7dd..98abe19aa36f 100644
--- a/misc/p5-LEGO-RCX/Makefile
+++ b/misc/p5-LEGO-RCX/Makefile
@@ -18,6 +18,5 @@ COMMENT= Perl module for communicating with the Lego RCX brick via the IR tower
PERL_CONFIGURE= yes
MAN3= LEGO::RCX.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/misc/p5-LEGO-RCX/pkg-plist b/misc/p5-LEGO-RCX/pkg-plist
index 106911122d78..b32248e6cce3 100644
--- a/misc/p5-LEGO-RCX/pkg-plist
+++ b/misc/p5-LEGO-RCX/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/LEGO/RCX.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/LEGO/RCX/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/LEGO/RCX
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/LEGO
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/LEGO
+%%SITE_PERL%%/LEGO/RCX.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/LEGO/RCX/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/LEGO/RCX
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/LEGO
+@dirrm %%SITE_PERL%%/LEGO
diff --git a/misc/p5-Locale-Codes/Makefile b/misc/p5-Locale-Codes/Makefile
index a69d088931d0..b29187906a69 100644
--- a/misc/p5-Locale-Codes/Makefile
+++ b/misc/p5-Locale-Codes/Makefile
@@ -17,7 +17,6 @@ COMMENT= Perl5 module providing access to ISO3166 and ISO639 Country Codes
PERL_CONFIGURE= YES
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Locale::Country.3 Locale::Constants.3 Locale::Currency.3 \
Locale::Language.3 Locale::Script.3
diff --git a/misc/p5-Locale-Codes/pkg-plist b/misc/p5-Locale-Codes/pkg-plist
index 7d36d888ce65..aff324391099 100644
--- a/misc/p5-Locale-Codes/pkg-plist
+++ b/misc/p5-Locale-Codes/pkg-plist
@@ -1,13 +1,13 @@
-lib/perl5/site_perl/%%PERL_VER%%/Locale/Country.pm
-lib/perl5/site_perl/%%PERL_VER%%/Locale/Country.pod
-lib/perl5/site_perl/%%PERL_VER%%/Locale/Language.pm
-lib/perl5/site_perl/%%PERL_VER%%/Locale/Language.pod
-lib/perl5/site_perl/%%PERL_VER%%/Locale/Constants.pm
-lib/perl5/site_perl/%%PERL_VER%%/Locale/Constants.pod
-lib/perl5/site_perl/%%PERL_VER%%/Locale/Currency.pm
-lib/perl5/site_perl/%%PERL_VER%%/Locale/Currency.pod
-lib/perl5/site_perl/%%PERL_VER%%/Locale/Script.pm
-lib/perl5/site_perl/%%PERL_VER%%/Locale/Script.pod
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Locale-Codes/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Locale-Codes
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Locale
+%%SITE_PERL%%/Locale/Country.pm
+%%SITE_PERL%%/Locale/Country.pod
+%%SITE_PERL%%/Locale/Language.pm
+%%SITE_PERL%%/Locale/Language.pod
+%%SITE_PERL%%/Locale/Constants.pm
+%%SITE_PERL%%/Locale/Constants.pod
+%%SITE_PERL%%/Locale/Currency.pm
+%%SITE_PERL%%/Locale/Currency.pod
+%%SITE_PERL%%/Locale/Script.pm
+%%SITE_PERL%%/Locale/Script.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Locale-Codes/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Locale-Codes
+@dirrm %%SITE_PERL%%/Locale
diff --git a/misc/p5-Locale-Msgcat/Makefile b/misc/p5-Locale-Msgcat/Makefile
index 35a6ebd53609..c501a4cb5576 100644
--- a/misc/p5-Locale-Msgcat/Makefile
+++ b/misc/p5-Locale-Msgcat/Makefile
@@ -17,6 +17,5 @@ COMMENT= Msgcat, a small Perl module for systems to support the XPG4 message cat
PERL_CONFIGURE= YES
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/misc/p5-Locale-SubCountry/Makefile b/misc/p5-Locale-SubCountry/Makefile
index 8058d0d5e7e6..848db304cc35 100644
--- a/misc/p5-Locale-SubCountry/Makefile
+++ b/misc/p5-Locale-SubCountry/Makefile
@@ -18,6 +18,5 @@ COMMENT= Convert state, province, county etc. names to/from code
PERL_CONFIGURE= yes
MAN3= Locale::SubCountry.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/misc/p5-Locale-SubCountry/pkg-plist b/misc/p5-Locale-SubCountry/pkg-plist
index e1b3cb9a43ba..89e4168afa57 100644
--- a/misc/p5-Locale-SubCountry/pkg-plist
+++ b/misc/p5-Locale-SubCountry/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/Locale/SubCountry.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Locale/SubCountry/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Locale/SubCountry
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Locale 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Locale 2>/dev/null || true
+%%SITE_PERL%%/Locale/SubCountry.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Locale/SubCountry/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Locale/SubCountry
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Locale 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Locale 2>/dev/null || true
diff --git a/misc/p5-Text-FIGlet/Makefile b/misc/p5-Text-FIGlet/Makefile
index 6d880f6e64c1..64b291908c84 100644
--- a/misc/p5-Text-FIGlet/Makefile
+++ b/misc/p5-Text-FIGlet/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= ${LOCALBASE}/bin/figlet:${PORTSDIR}/misc/figlet
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Text::FIGlet.3 \
Text::charmap.3 \
diff --git a/misc/p5-Text-FIGlet/pkg-plist b/misc/p5-Text-FIGlet/pkg-plist
index 416b5f03cb16..04c2e323d0fd 100644
--- a/misc/p5-Text-FIGlet/pkg-plist
+++ b/misc/p5-Text-FIGlet/pkg-plist
@@ -1,9 +1,9 @@
-lib/perl5/site_perl/%%PERL_VER%%/Text/FIGlet.pm
-lib/perl5/site_perl/%%PERL_VER%%/Text/charmap.pl
-lib/perl5/site_perl/%%PERL_VER%%/Text/figlet.pl
-lib/perl5/site_perl/%%PERL_VER%%/Text/minifig.pl
-lib/perl5/site_perl/%%PERL_VER%%/Text/showfigfonts.pl
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/FIGlet/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/FIGlet
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Text 2>/dev/null || true
+%%SITE_PERL%%/Text/FIGlet.pm
+%%SITE_PERL%%/Text/charmap.pl
+%%SITE_PERL%%/Text/figlet.pl
+%%SITE_PERL%%/Text/minifig.pl
+%%SITE_PERL%%/Text/showfigfonts.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/FIGlet/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/FIGlet
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Text 2>/dev/null || true
diff --git a/misc/p5-Tie-DxHash/Makefile b/misc/p5-Tie-DxHash/Makefile
index 8506dd8caa30..0fbbf7bd4aa8 100644
--- a/misc/p5-Tie-DxHash/Makefile
+++ b/misc/p5-Tie-DxHash/Makefile
@@ -18,6 +18,5 @@ COMMENT= Keeps insertion order, allows duplicate keys
PERL_CONFIGURE= yes
MAN3= Tie::DxHash.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/misc/p5-Tie-DxHash/pkg-plist b/misc/p5-Tie-DxHash/pkg-plist
index 0f19d547fbd3..e270f94f6e5d 100644
--- a/misc/p5-Tie-DxHash/pkg-plist
+++ b/misc/p5-Tie-DxHash/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie/DxHash/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Tie/DxHash.pm
-@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/DxHash 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/DxHash/.packlist
+%%SITE_PERL%%/Tie/DxHash.pm
+@unexec rmdir %D/%%SITE_PERL%%/Tie 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/DxHash 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie 2>/dev/null || true
diff --git a/misc/telbook/Makefile b/misc/telbook/Makefile
index feae7eff7693..a777e5b86ede 100644
--- a/misc/telbook/Makefile
+++ b/misc/telbook/Makefile
@@ -12,7 +12,7 @@ MASTER_SITES= http://home.arcor.de/kaffeetisch/downloads/
MAINTAINER= krion@FreeBSD.org
COMMENT= Simple telephone book
-RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
NO_BUILD= yes
diff --git a/misc/translate/Makefile b/misc/translate/Makefile
index 4b1be9b29c7d..60556594a11e 100644
--- a/misc/translate/Makefile
+++ b/misc/translate/Makefile
@@ -16,7 +16,7 @@ COMMENT= Translates string using Babelfish
RUN_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww
-SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+SITE_PERL= ${SITE_PERL}
USE_PERL5= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}