aboutsummaryrefslogtreecommitdiff
path: root/databases
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 /databases
parent386f40a6b587557ff9ef6bed9fccca2490a5d78d (diff)
downloadports-c634b4bb839753aec2ae1040e2c80a5282402cb8.tar.gz
ports-c634b4bb839753aec2ae1040e2c80a5282402cb8.zip
utilize SITE_PERL
PR: 58166 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
Notes
Notes: svn path=/head/; revision=92059
Diffstat (limited to 'databases')
-rw-r--r--databases/WWWdb/pkg-plist72
-rw-r--r--databases/mysql2pgsql/Makefile2
-rw-r--r--databases/mysql323-server/Makefile2
-rw-r--r--databases/mysql40-server/Makefile2
-rw-r--r--databases/mysql41-server/Makefile2
-rw-r--r--databases/mysql50-server/Makefile2
-rw-r--r--databases/mysql51-server/Makefile2
-rw-r--r--databases/mysql54-server/Makefile2
-rw-r--r--databases/mysql55-server/Makefile2
-rw-r--r--databases/mysql60-server/Makefile2
-rw-r--r--databases/namazu2/Makefile2
-rw-r--r--databases/p5-ApacheDBILogger/Makefile2
-rw-r--r--databases/p5-ApacheDBILogger/pkg-plist8
-rw-r--r--databases/p5-AsciiDB-TagFile/Makefile1
-rw-r--r--databases/p5-AsciiDB-TagFile/pkg-plist12
-rw-r--r--databases/p5-CDB_File-Generator/Makefile3
-rw-r--r--databases/p5-CDB_File-Generator/pkg-plist10
-rw-r--r--databases/p5-DBD-CSV/Makefile5
-rw-r--r--databases/p5-DBD-CSV/pkg-plist18
-rw-r--r--databases/p5-DBD-Excel/Makefile3
-rw-r--r--databases/p5-DBD-Excel/pkg-plist10
-rw-r--r--databases/p5-DBD-LDAP/Makefile3
-rw-r--r--databases/p5-DBD-LDAP/pkg-plist18
-rw-r--r--databases/p5-DBD-SQLite/Makefile1
-rw-r--r--databases/p5-DBD-SQLite/pkg-plist16
-rw-r--r--databases/p5-DBD-SQLite2/Makefile1
-rw-r--r--databases/p5-DBD-SQLite2/pkg-plist16
-rw-r--r--databases/p5-DBIWrapper/Makefile3
-rw-r--r--databases/p5-DBIWrapper/pkg-plist24
-rw-r--r--databases/p5-DBIx-AnyDBD/Makefile3
-rw-r--r--databases/p5-DBIx-AnyDBD/pkg-plist10
-rw-r--r--databases/p5-DBIx-Browse/Makefile1
-rw-r--r--databases/p5-DBIx-Browse/pkg-plist14
-rw-r--r--databases/p5-DBIx-DBSchema/Makefile3
-rw-r--r--databases/p5-DBIx-DBSchema/pkg-plist34
-rw-r--r--databases/p5-DBIx-DataSource/Makefile1
-rw-r--r--databases/p5-DBIx-DataSource/pkg-plist18
-rw-r--r--databases/p5-DBIx-Password/Makefile1
-rw-r--r--databases/p5-DBIx-Password/pkg-plist4
-rw-r--r--databases/p5-DBIx-Recordset/Makefile1
-rw-r--r--databases/p5-DBIx-Recordset/pkg-plist22
-rw-r--r--databases/p5-DBIx-SQLEngine/Makefile3
-rw-r--r--databases/p5-DBIx-Table/Makefile1
-rw-r--r--databases/p5-DBIx-Table/pkg-plist10
-rw-r--r--databases/p5-DBIx-XML_RDB/Makefile3
-rw-r--r--databases/p5-DBIx-XML_RDB/pkg-plist14
-rw-r--r--databases/p5-DBZ_File/Makefile1
-rw-r--r--databases/p5-GDBM/Makefile1
-rw-r--r--databases/p5-GDBM/pkg-plist12
-rw-r--r--databases/p5-MLDBM-Sync/Makefile7
-rw-r--r--databases/p5-MLDBM-Sync/pkg-plist14
-rw-r--r--databases/p5-MLDBM/Makefile7
-rw-r--r--databases/p5-MLDBM/pkg-plist18
-rw-r--r--databases/p5-Metadata/Makefile3
-rw-r--r--databases/p5-Metadata/pkg-plist14
-rw-r--r--databases/p5-Mysql/Makefile2
-rw-r--r--databases/p5-Mysql/pkg-plist26
-rw-r--r--databases/p5-POE-Component-RRDTool/Makefile2
-rw-r--r--databases/p5-POE-Component-RRDTool/pkg-plist14
-rw-r--r--databases/p5-Pg/Makefile1
-rw-r--r--databases/p5-Pg/pkg-plist12
-rw-r--r--databases/p5-ResourcePool-Resource-DBI/Makefile3
-rw-r--r--databases/p5-ResourcePool-Resource-DBI/pkg-plist34
-rw-r--r--databases/p5-SQL-Abstract/Makefile1
-rw-r--r--databases/p5-SQL-Abstract/pkg-plist10
-rw-r--r--databases/p5-SQL-Statement/Makefile1
-rw-r--r--databases/p5-SQL-Statement/pkg-plist28
-rw-r--r--databases/p5-Search-Namazu/Makefile1
-rw-r--r--databases/p5-Search-Namazu/pkg-plist14
-rw-r--r--databases/p5-Tangram/Makefile3
-rw-r--r--databases/p5-Tangram/pkg-plist130
-rw-r--r--databases/p5-Text-Query-SQL/Makefile3
-rw-r--r--databases/p5-Text-Query-SQL/pkg-plist26
-rw-r--r--databases/p5-Tie-DBI/Makefile1
-rw-r--r--databases/p5-Time-Piece-MySQL/Makefile1
-rw-r--r--databases/p5-hp200lx-db/Makefile1
-rw-r--r--databases/p5-hp200lx-db/pkg-plist32
-rw-r--r--databases/p5-sqlrelay/pkg-plist34
-rw-r--r--databases/percona55-server/Makefile2
-rw-r--r--databases/postgresql_autodoc/Makefile4
-rw-r--r--databases/rrdtool/pkg-plist18
-rw-r--r--databases/rrdtool10/pkg-plist18
82 files changed, 428 insertions, 460 deletions
diff --git a/databases/WWWdb/pkg-plist b/databases/WWWdb/pkg-plist
index 3dd162c45602..feac2309f78b 100644
--- a/databases/WWWdb/pkg-plist
+++ b/databases/WWWdb/pkg-plist
@@ -1,37 +1,37 @@
-lib/perl5/site_perl/%%PERL_VER%%/INSTALL.pl
-lib/perl5/site_perl/%%PERL_VER%%/Apache/WWWdb_TransUri.pm
-lib/perl5/site_perl/%%PERL_VER%%/Apache/WWWdb.conf
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/ConfigFile.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/DbSession.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/DbSession.html
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/DbSession_en.po
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/Monitor.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/List.html
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/HTML.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/ConfigFile_en.po
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/Session.html
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/ConfigPool.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/ConfigFile.html
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/Hash.html
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/DbSession_de.po
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/ConfigFile_de.po
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/Plugin.html
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/Session.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/List.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/Hash.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/Plugin_en.po
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/Base.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/Base.html
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/Plugin.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/HTML.html
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/Plugin_de.po
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/DbSession/Oracle.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/DbSession/Pg.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/DbSession/mysql.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/DbSession/ODBC.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWWdb/DbSession/InterBase.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/WWWdb/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/WWWdb/DbSession
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/WWWdb
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/WWWdb
+%%SITE_PERL%%/INSTALL.pl
+%%SITE_PERL%%/Apache/WWWdb_TransUri.pm
+%%SITE_PERL%%/Apache/WWWdb.conf
+%%SITE_PERL%%/WWWdb/ConfigFile.pm
+%%SITE_PERL%%/WWWdb/DbSession.pm
+%%SITE_PERL%%/WWWdb/DbSession.html
+%%SITE_PERL%%/WWWdb/DbSession_en.po
+%%SITE_PERL%%/WWWdb/Monitor.pm
+%%SITE_PERL%%/WWWdb/List.html
+%%SITE_PERL%%/WWWdb/HTML.pm
+%%SITE_PERL%%/WWWdb/ConfigFile_en.po
+%%SITE_PERL%%/WWWdb/Session.html
+%%SITE_PERL%%/WWWdb/ConfigPool.pm
+%%SITE_PERL%%/WWWdb/ConfigFile.html
+%%SITE_PERL%%/WWWdb/Hash.html
+%%SITE_PERL%%/WWWdb/DbSession_de.po
+%%SITE_PERL%%/WWWdb/ConfigFile_de.po
+%%SITE_PERL%%/WWWdb/Plugin.html
+%%SITE_PERL%%/WWWdb/Session.pm
+%%SITE_PERL%%/WWWdb/List.pm
+%%SITE_PERL%%/WWWdb/Hash.pm
+%%SITE_PERL%%/WWWdb/Plugin_en.po
+%%SITE_PERL%%/WWWdb/Base.pm
+%%SITE_PERL%%/WWWdb/Base.html
+%%SITE_PERL%%/WWWdb/Plugin.pm
+%%SITE_PERL%%/WWWdb/HTML.html
+%%SITE_PERL%%/WWWdb/Plugin_de.po
+%%SITE_PERL%%/WWWdb/DbSession/Oracle.pm
+%%SITE_PERL%%/WWWdb/DbSession/Pg.pm
+%%SITE_PERL%%/WWWdb/DbSession/mysql.pm
+%%SITE_PERL%%/WWWdb/DbSession/ODBC.pm
+%%SITE_PERL%%/WWWdb/DbSession/InterBase.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWWdb/.packlist
+@dirrm %%SITE_PERL%%/WWWdb/DbSession
+@dirrm %%SITE_PERL%%/WWWdb
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWWdb
diff --git a/databases/mysql2pgsql/Makefile b/databases/mysql2pgsql/Makefile
index a84f15b8ed53..35c2e93c2b20 100644
--- a/databases/mysql2pgsql/Makefile
+++ b/databases/mysql2pgsql/Makefile
@@ -16,7 +16,7 @@ EXTRACT_ONLY= ${PORTNAME}
MAINTAINER= petef@FreeBSD.org
COMMENT= Convert a MySQL dump to a PostgreSQL dump
-RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
PATCH_WRKSRC= ${WRKDIR}
USE_PERL5= yes
diff --git a/databases/mysql323-server/Makefile b/databases/mysql323-server/Makefile
index 61b5e71c17fd..d91c87953da7 100644
--- a/databases/mysql323-server/Makefile
+++ b/databases/mysql323-server/Makefile
@@ -94,7 +94,7 @@ CONFIGURE_ENV+= CXX="${CC}"
# MySQL-Server part
.if !defined(CLIENT_ONLY)
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql323-client \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-Mysql
+ ${SITE_PERL}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-Mysql
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}
diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile
index a5db2b4378a7..5e3dadd59858 100644
--- a/databases/mysql40-server/Makefile
+++ b/databases/mysql40-server/Makefile
@@ -100,7 +100,7 @@ CXXFLAGS+= -fno-exceptions
USE_PERL5_RUN= yes
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql40-client \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
+ ${SITE_PERL}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}
diff --git a/databases/mysql41-server/Makefile b/databases/mysql41-server/Makefile
index 7a36ca57d586..6e2f0dcb4585 100644
--- a/databases/mysql41-server/Makefile
+++ b/databases/mysql41-server/Makefile
@@ -102,7 +102,7 @@ CXX= ${CC}
USE_PERL5_RUN= yes
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql41-client \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
+ ${SITE_PERL}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}-alpha
diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile
index 7a36ca57d586..6e2f0dcb4585 100644
--- a/databases/mysql50-server/Makefile
+++ b/databases/mysql50-server/Makefile
@@ -102,7 +102,7 @@ CXX= ${CC}
USE_PERL5_RUN= yes
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql41-client \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
+ ${SITE_PERL}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}-alpha
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
index 7a36ca57d586..6e2f0dcb4585 100644
--- a/databases/mysql51-server/Makefile
+++ b/databases/mysql51-server/Makefile
@@ -102,7 +102,7 @@ CXX= ${CC}
USE_PERL5_RUN= yes
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql41-client \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
+ ${SITE_PERL}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}-alpha
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile
index 7a36ca57d586..6e2f0dcb4585 100644
--- a/databases/mysql54-server/Makefile
+++ b/databases/mysql54-server/Makefile
@@ -102,7 +102,7 @@ CXX= ${CC}
USE_PERL5_RUN= yes
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql41-client \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
+ ${SITE_PERL}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}-alpha
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
index 7a36ca57d586..6e2f0dcb4585 100644
--- a/databases/mysql55-server/Makefile
+++ b/databases/mysql55-server/Makefile
@@ -102,7 +102,7 @@ CXX= ${CC}
USE_PERL5_RUN= yes
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql41-client \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
+ ${SITE_PERL}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}-alpha
diff --git a/databases/mysql60-server/Makefile b/databases/mysql60-server/Makefile
index 7a36ca57d586..6e2f0dcb4585 100644
--- a/databases/mysql60-server/Makefile
+++ b/databases/mysql60-server/Makefile
@@ -102,7 +102,7 @@ CXX= ${CC}
USE_PERL5_RUN= yes
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql41-client \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
+ ${SITE_PERL}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}-alpha
diff --git a/databases/namazu2/Makefile b/databases/namazu2/Makefile
index e5f902d2cdf6..9145dc69aa09 100644
--- a/databases/namazu2/Makefile
+++ b/databases/namazu2/Makefile
@@ -25,7 +25,7 @@ RUN_DEPENDS= ${PM_BASE}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic
# xlHtml:${PORTSDIR}/textproc/xlhtml \
# wvHtml:${PORTSDIR}/textproc/wv
-PM_BASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+PM_BASE= ${SITE_PERL}
USE_PERL5= yes
GNU_CONFIGURE= yes
diff --git a/databases/p5-ApacheDBILogger/Makefile b/databases/p5-ApacheDBILogger/Makefile
index 1937399624b8..83dded9e9f44 100644
--- a/databases/p5-ApacheDBILogger/Makefile
+++ b/databases/p5-ApacheDBILogger/Makefile
@@ -15,7 +15,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= dburr@FreeBSD.ORG
COMMENT= A module that tracks what's being transferred in a DBI database
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI \
+BUILD_DEPENDS= ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI \
${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
PERL_CONFIGURE= yes
diff --git a/databases/p5-ApacheDBILogger/pkg-plist b/databases/p5-ApacheDBILogger/pkg-plist
index 86dd282225bf..a0dd3a488af7 100644
--- a/databases/p5-ApacheDBILogger/pkg-plist
+++ b/databases/p5-ApacheDBILogger/pkg-plist
@@ -1,4 +1,4 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/DBILogger/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Apache/DBILogger.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/DBILogger
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Apache
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/DBILogger/.packlist
+%%SITE_PERL%%/Apache/DBILogger.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/DBILogger
+@dirrm %%SITE_PERL%%/Apache
diff --git a/databases/p5-AsciiDB-TagFile/Makefile b/databases/p5-AsciiDB-TagFile/Makefile
index 1a56eeb1d61e..aa892286c7cc 100644
--- a/databases/p5-AsciiDB-TagFile/Makefile
+++ b/databases/p5-AsciiDB-TagFile/Makefile
@@ -18,6 +18,5 @@ COMMENT= Perl tie class for a simple ASCII database
PERL_CONFIGURE= yes
MAN3= AsciiDB::TagFile.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/databases/p5-AsciiDB-TagFile/pkg-plist b/databases/p5-AsciiDB-TagFile/pkg-plist
index 09cb231d1ae4..ab6a3bc82032 100644
--- a/databases/p5-AsciiDB-TagFile/pkg-plist
+++ b/databases/p5-AsciiDB-TagFile/pkg-plist
@@ -1,6 +1,6 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/AsciiDB/TagFile/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/AsciiDB/TagFile.pm
-lib/perl5/site_perl/%%PERL_VER%%/AsciiDB/TagRecord.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/AsciiDB/TagFile
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/AsciiDB 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/AsciiDB 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/AsciiDB/TagFile/.packlist
+%%SITE_PERL%%/AsciiDB/TagFile.pm
+%%SITE_PERL%%/AsciiDB/TagRecord.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/AsciiDB/TagFile
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/AsciiDB 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/AsciiDB 2>/dev/null || true
diff --git a/databases/p5-CDB_File-Generator/Makefile b/databases/p5-CDB_File-Generator/Makefile
index 56ddb0afb271..bb612819fd01 100644
--- a/databases/p5-CDB_File-Generator/Makefile
+++ b/databases/p5-CDB_File-Generator/Makefile
@@ -19,10 +19,9 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/cdbmake:${PORTSDIR}/databases/cdb \
${SITE_PERL}/${PERL_ARCH}/CDB_File.pm:${PORTSDIR}/databases/p5-CDB_File
RUN_DEPENDS= ${BUILD_DEPENDS}
-SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+SITE_PERL= ${SITE_PERL}
PERL_CONFIGURE= yes
MAN3= CDB_File::Generator.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/databases/p5-CDB_File-Generator/pkg-plist b/databases/p5-CDB_File-Generator/pkg-plist
index d87d4cd140c0..cc017161cb7b 100644
--- a/databases/p5-CDB_File-Generator/pkg-plist
+++ b/databases/p5-CDB_File-Generator/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/CDB_File/Generator.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CDB_File/Generator/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CDB_File/Generator
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CDB_File 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/CDB_File 2>/dev/null || true
+%%SITE_PERL%%/CDB_File/Generator.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/CDB_File/Generator/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CDB_File/Generator
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/CDB_File 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/CDB_File 2>/dev/null || true
diff --git a/databases/p5-DBD-CSV/Makefile b/databases/p5-DBD-CSV/Makefile
index 16fdd993f11f..db6ce2c9a5a0 100644
--- a/databases/p5-DBD-CSV/Makefile
+++ b/databases/p5-DBD-CSV/Makefile
@@ -15,13 +15,12 @@ PKGNAMEPREFIX= p5-
MAINTAINER= erwin@FreeBSD.org
COMMENT= DBI driver for CSV files
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Text/CSV_XS.pm:${PORTSDIR}/textproc/p5-Text-CSV_XS \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/SQL/Statement.pm:${PORTSDIR}/databases/p5-SQL-Statement
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Text/CSV_XS.pm:${PORTSDIR}/textproc/p5-Text-CSV_XS \
+ ${SITE_PERL}/SQL/Statement.pm:${PORTSDIR}/databases/p5-SQL-Statement
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= YES
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= DBD::File.3 \
DBD::CSV.3 \
Bundle::DBD::CSV.3
diff --git a/databases/p5-DBD-CSV/pkg-plist b/databases/p5-DBD-CSV/pkg-plist
index 25b95e697352..9738059e2a9b 100644
--- a/databases/p5-DBD-CSV/pkg-plist
+++ b/databases/p5-DBD-CSV/pkg-plist
@@ -1,9 +1,9 @@
-lib/perl5/site_perl/%%PERL_VER%%/DBD/File.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBD/CSV.pm
-lib/perl5/site_perl/%%PERL_VER%%/Bundle/DBD/CSV.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/CSV/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/CSV
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Bundle/DBD
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Bundle 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DBD 2>/dev/null || true
+%%SITE_PERL%%/DBD/File.pm
+%%SITE_PERL%%/DBD/CSV.pm
+%%SITE_PERL%%/Bundle/DBD/CSV.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/CSV/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/CSV
+@dirrm %%SITE_PERL%%/Bundle/DBD
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Bundle 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBD 2>/dev/null || true
diff --git a/databases/p5-DBD-Excel/Makefile b/databases/p5-DBD-Excel/Makefile
index 5179aeccaf09..eedcbac3728e 100644
--- a/databases/p5-DBD-Excel/Makefile
+++ b/databases/p5-DBD-Excel/Makefile
@@ -20,12 +20,11 @@ BUILD_DEPENDS= ${SITE_PERL}/SQL/Statement.pm:${PORTSDIR}/databases/p5-SQL-Statem
${SITE_PERL}/Spreadsheet/WriteExcel.pm:${PORTSDIR}/textproc/p5-Spreadsheet-WriteExcel
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= DBD::Excel.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
post-install:
.if !defined(NOPORTDOCS)
diff --git a/databases/p5-DBD-Excel/pkg-plist b/databases/p5-DBD-Excel/pkg-plist
index 2527af43a4b5..a8954cdb34e8 100644
--- a/databases/p5-DBD-Excel/pkg-plist
+++ b/databases/p5-DBD-Excel/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/Excel/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/DBD/Excel.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Excel/.packlist
+%%SITE_PERL%%/DBD/Excel.pm
%%PORTDOCS%%share/examples/DBD-Excel/README
%%PORTDOCS%%share/examples/DBD-Excel/dbdtest.xls
%%PORTDOCS%%share/examples/DBD-Excel/newxl.xls
@@ -13,7 +13,7 @@ lib/perl5/site_perl/%%PERL_VER%%/DBD/Excel.pm
%%PORTDOCS%%share/examples/DBD-Excel/texj.pl
%%PORTDOCS%%share/examples/DBD-Excel/thidden.pl
%%PORTDOCS%%share/examples/DBD-Excel/thidden.xls
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DBD 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/Excel 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBD 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Excel 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
%%PORTDOCS%%@unexec rmdir %D/share/examples/DBD-Excel 2>/dev/null || true
diff --git a/databases/p5-DBD-LDAP/Makefile b/databases/p5-DBD-LDAP/Makefile
index 36dd1941d855..330872916d65 100644
--- a/databases/p5-DBD-LDAP/Makefile
+++ b/databases/p5-DBD-LDAP/Makefile
@@ -18,11 +18,10 @@ COMMENT= DBI interface for accessing LDAP servers
BUILD_DEPENDS= ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap
RUN_DEPENDS= ${BUILD_DEPENDS}
-SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+SITE_PERL= ${SITE_PERL}
PERL_CONFIGURE= yes
MAN3= DBD::LDAP.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.pre.mk>
diff --git a/databases/p5-DBD-LDAP/pkg-plist b/databases/p5-DBD-LDAP/pkg-plist
index 355365d9a8f5..f26c809607a0 100644
--- a/databases/p5-DBD-LDAP/pkg-plist
+++ b/databases/p5-DBD-LDAP/pkg-plist
@@ -1,9 +1,9 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/LDAP/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/DBD/LDAP.pm
-lib/perl5/site_perl/%%PERL_VER%%/JLdap.pm
-lib/perl5/site_perl/%%PERL_VER%%/auto/DBD/LDAP/autosplit.ix
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/DBD/LDAP 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/DBD 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DBD 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/LDAP 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/LDAP/.packlist
+%%SITE_PERL%%/DBD/LDAP.pm
+%%SITE_PERL%%/JLdap.pm
+%%SITE_PERL%%/auto/DBD/LDAP/autosplit.ix
+@unexec rmdir %D/%%SITE_PERL%%/auto/DBD/LDAP 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/auto/DBD 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBD 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/LDAP 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
diff --git a/databases/p5-DBD-SQLite/Makefile b/databases/p5-DBD-SQLite/Makefile
index 237cc38861f9..91c5e30d4d57 100644
--- a/databases/p5-DBD-SQLite/Makefile
+++ b/databases/p5-DBD-SQLite/Makefile
@@ -17,7 +17,6 @@ COMMENT= Provides access to SQLite2 databases through the DBI
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= DBD::SQLite.3
.include <bsd.port.pre.mk>
diff --git a/databases/p5-DBD-SQLite/pkg-plist b/databases/p5-DBD-SQLite/pkg-plist
index 90e937f764f2..ebefd1d70f3a 100644
--- a/databases/p5-DBD-SQLite/pkg-plist
+++ b/databases/p5-DBD-SQLite/pkg-plist
@@ -1,8 +1,8 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/DBD/SQLite.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/DBD/getsqlite.pl
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/SQLite/SQLite.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/SQLite/SQLite.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/SQLite/.packlist
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/SQLite 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/DBD 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/DBD/SQLite.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/DBD/getsqlite.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLite/SQLite.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLite/SQLite.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLite/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLite 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/DBD 2>/dev/null || true
diff --git a/databases/p5-DBD-SQLite2/Makefile b/databases/p5-DBD-SQLite2/Makefile
index 237cc38861f9..91c5e30d4d57 100644
--- a/databases/p5-DBD-SQLite2/Makefile
+++ b/databases/p5-DBD-SQLite2/Makefile
@@ -17,7 +17,6 @@ COMMENT= Provides access to SQLite2 databases through the DBI
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= DBD::SQLite.3
.include <bsd.port.pre.mk>
diff --git a/databases/p5-DBD-SQLite2/pkg-plist b/databases/p5-DBD-SQLite2/pkg-plist
index 90e937f764f2..ebefd1d70f3a 100644
--- a/databases/p5-DBD-SQLite2/pkg-plist
+++ b/databases/p5-DBD-SQLite2/pkg-plist
@@ -1,8 +1,8 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/DBD/SQLite.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/DBD/getsqlite.pl
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/SQLite/SQLite.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/SQLite/SQLite.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/SQLite/.packlist
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/SQLite 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/DBD 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/DBD/SQLite.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/DBD/getsqlite.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLite/SQLite.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLite/SQLite.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLite/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLite 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/DBD 2>/dev/null || true
diff --git a/databases/p5-DBIWrapper/Makefile b/databases/p5-DBIWrapper/Makefile
index cc8ee414d740..a9a3ffb5dc62 100644
--- a/databases/p5-DBIWrapper/Makefile
+++ b/databases/p5-DBIWrapper/Makefile
@@ -16,12 +16,11 @@ DISTNAME= dbi_wrapper-${PORTVERSION}
MAINTAINER= petef@FreeBSD.org
COMMENT= Perl extension for generic DBI database access
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= DBIWrapper.3 DBIWrapper::ResultSet.3 DBIWrapper::XMLParser.3
.include <bsd.port.pre.mk>
diff --git a/databases/p5-DBIWrapper/pkg-plist b/databases/p5-DBIWrapper/pkg-plist
index 0494d8251188..27d05e5d2dc8 100644
--- a/databases/p5-DBIWrapper/pkg-plist
+++ b/databases/p5-DBIWrapper/pkg-plist
@@ -1,12 +1,12 @@
-lib/perl5/site_perl/%%PERL_VER%%/DBIWrapper.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIWrapper/ResultSet.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIWrapper/XMLParser.pm
-lib/perl5/site_perl/%%PERL_VER%%/auto/DBIWrapper/autosplit.ix
-lib/perl5/site_perl/%%PERL_VER%%/auto/DBIWrapper/ResultSet/autosplit.ix
-lib/perl5/site_perl/%%PERL_VER%%/auto/DBIWrapper/XMLParser/autosplit.ix
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIWrapper/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIWrapper
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/DBIWrapper/XMLParser
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/DBIWrapper/ResultSet
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/DBIWrapper
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/DBIWrapper
+%%SITE_PERL%%/DBIWrapper.pm
+%%SITE_PERL%%/DBIWrapper/ResultSet.pm
+%%SITE_PERL%%/DBIWrapper/XMLParser.pm
+%%SITE_PERL%%/auto/DBIWrapper/autosplit.ix
+%%SITE_PERL%%/auto/DBIWrapper/ResultSet/autosplit.ix
+%%SITE_PERL%%/auto/DBIWrapper/XMLParser/autosplit.ix
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIWrapper/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIWrapper
+@dirrm %%SITE_PERL%%/auto/DBIWrapper/XMLParser
+@dirrm %%SITE_PERL%%/auto/DBIWrapper/ResultSet
+@dirrm %%SITE_PERL%%/auto/DBIWrapper
+@dirrm %%SITE_PERL%%/DBIWrapper
diff --git a/databases/p5-DBIx-AnyDBD/Makefile b/databases/p5-DBIx-AnyDBD/Makefile
index c45ad71989d3..7a68f2cba2f4 100644
--- a/databases/p5-DBIx-AnyDBD/Makefile
+++ b/databases/p5-DBIx-AnyDBD/Makefile
@@ -15,11 +15,10 @@ PKGNAMEPREFIX= p5-
MAINTAINER= svenasse@polaris.ca
COMMENT= DBD independant class
-SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+SITE_PERL= ${SITE_PERL}
PERL_CONFIGURE= yes
MAN3= DBIx::AnyDBD.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.pre.mk>
diff --git a/databases/p5-DBIx-AnyDBD/pkg-plist b/databases/p5-DBIx-AnyDBD/pkg-plist
index ebd4a75facfe..1a29a7ebf3da 100644
--- a/databases/p5-DBIx-AnyDBD/pkg-plist
+++ b/databases/p5-DBIx-AnyDBD/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/AnyDBD.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/AnyDBD/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/AnyDBD
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DBIx 2>/dev/null || true
+%%SITE_PERL%%/DBIx/AnyDBD.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/AnyDBD/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/AnyDBD
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx 2>/dev/null || true
diff --git a/databases/p5-DBIx-Browse/Makefile b/databases/p5-DBIx-Browse/Makefile
index c05f1e1e832c..ad8d7313397d 100644
--- a/databases/p5-DBIx-Browse/Makefile
+++ b/databases/p5-DBIx-Browse/Makefile
@@ -19,7 +19,6 @@ PERL_CONFIGURE= yes
MAN3= DBIx::Browse::CGI.3 \
DBIx::Browse.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.pre.mk>
diff --git a/databases/p5-DBIx-Browse/pkg-plist b/databases/p5-DBIx-Browse/pkg-plist
index a5ab968f8122..8031f6147956 100644
--- a/databases/p5-DBIx-Browse/pkg-plist
+++ b/databases/p5-DBIx-Browse/pkg-plist
@@ -1,8 +1,8 @@
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/Browse.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/Browse/CGI.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/DBIx/Browse/
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/Browse/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/Browse/
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DBIx 2>/dev/null || true
+%%SITE_PERL%%/DBIx/Browse.pm
+%%SITE_PERL%%/DBIx/Browse/CGI.pm
+@dirrm %%SITE_PERL%%/DBIx/Browse/
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Browse/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Browse/
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx 2>/dev/null || true
diff --git a/databases/p5-DBIx-DBSchema/Makefile b/databases/p5-DBIx-DBSchema/Makefile
index 93c5c50b5365..13c008a60390 100644
--- a/databases/p5-DBIx-DBSchema/Makefile
+++ b/databases/p5-DBIx-DBSchema/Makefile
@@ -15,12 +15,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= An OO-interface to database schemas
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw
+BUILD_DEPENDS= ${SITE_PERL}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= DBIx::DBSchema.3 DBIx::DBSchema::ColGroup.3 \
DBIx::DBSchema::ColGroup::Index.3 DBIx::DBSchema::ColGroup::Unique.3 \
DBIx::DBSchema::Column.3 DBIx::DBSchema::DBD.3 \
diff --git a/databases/p5-DBIx-DBSchema/pkg-plist b/databases/p5-DBIx-DBSchema/pkg-plist
index 4c029f475cc7..e5e00912ef2e 100644
--- a/databases/p5-DBIx-DBSchema/pkg-plist
+++ b/databases/p5-DBIx-DBSchema/pkg-plist
@@ -1,17 +1,17 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/DBSchema/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/ColGroup.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/ColGroup/Unique.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/ColGroup/Index.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/Column.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/DBD.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/DBD/Pg.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/DBD/Sybase.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/DBD/mysql.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/Table.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/DBSchema
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/ColGroup
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/DBD
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DBIx 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/DBSchema/.packlist
+%%SITE_PERL%%/DBIx/DBSchema.pm
+%%SITE_PERL%%/DBIx/DBSchema/ColGroup.pm
+%%SITE_PERL%%/DBIx/DBSchema/ColGroup/Unique.pm
+%%SITE_PERL%%/DBIx/DBSchema/ColGroup/Index.pm
+%%SITE_PERL%%/DBIx/DBSchema/Column.pm
+%%SITE_PERL%%/DBIx/DBSchema/DBD.pm
+%%SITE_PERL%%/DBIx/DBSchema/DBD/Pg.pm
+%%SITE_PERL%%/DBIx/DBSchema/DBD/Sybase.pm
+%%SITE_PERL%%/DBIx/DBSchema/DBD/mysql.pm
+%%SITE_PERL%%/DBIx/DBSchema/Table.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/DBSchema
+@dirrm %%SITE_PERL%%/DBIx/DBSchema/ColGroup
+@dirrm %%SITE_PERL%%/DBIx/DBSchema/DBD
+@dirrm %%SITE_PERL%%/DBIx/DBSchema
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx 2>/dev/null || true
diff --git a/databases/p5-DBIx-DataSource/Makefile b/databases/p5-DBIx-DataSource/Makefile
index ed9c3875e052..e1ed5746b314 100644
--- a/databases/p5-DBIx-DataSource/Makefile
+++ b/databases/p5-DBIx-DataSource/Makefile
@@ -19,7 +19,6 @@ PERL_CONFIGURE= yes
MAN3= DBIx::DataSource.3 DBIx::DataSource::Driver.3 \
DBIx::DataSource::mysql.3 DBIx::DataSource::Pg.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.pre.mk>
diff --git a/databases/p5-DBIx-DataSource/pkg-plist b/databases/p5-DBIx-DataSource/pkg-plist
index c765c858fa48..4b7c499d71c0 100644
--- a/databases/p5-DBIx-DataSource/pkg-plist
+++ b/databases/p5-DBIx-DataSource/pkg-plist
@@ -1,9 +1,9 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/DataSource/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/DataSource.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/DataSource/Driver.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/DataSource/mysql.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/DataSource/Pg.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/DataSource
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/DBIx/DataSource
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DBIx 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/DataSource/.packlist
+%%SITE_PERL%%/DBIx/DataSource.pm
+%%SITE_PERL%%/DBIx/DataSource/Driver.pm
+%%SITE_PERL%%/DBIx/DataSource/mysql.pm
+%%SITE_PERL%%/DBIx/DataSource/Pg.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/DataSource
+@dirrm %%SITE_PERL%%/DBIx/DataSource
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx 2>/dev/null || true
diff --git a/databases/p5-DBIx-Password/Makefile b/databases/p5-DBIx-Password/Makefile
index cbf0aa28da0f..c48c76a8a8b8 100644
--- a/databases/p5-DBIx-Password/Makefile
+++ b/databases/p5-DBIx-Password/Makefile
@@ -18,7 +18,6 @@ COMMENT= Allows you to create a global password file for DB passwords
PERL_CONFIGURE= yes
MAN3= DBIx::Password.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.pre.mk>
diff --git a/databases/p5-DBIx-Password/pkg-plist b/databases/p5-DBIx-Password/pkg-plist
index ef1916b89913..5b226f6b33ff 100644
--- a/databases/p5-DBIx-Password/pkg-plist
+++ b/databases/p5-DBIx-Password/pkg-plist
@@ -1,2 +1,2 @@
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/Password.pm
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DBIx 2>/dev/null || true
+%%SITE_PERL%%/DBIx/Password.pm
+@unexec rmdir %D/%%SITE_PERL%%/DBIx 2>/dev/null || true
diff --git a/databases/p5-DBIx-Recordset/Makefile b/databases/p5-DBIx-Recordset/Makefile
index 430548be5239..a2257d8b9718 100644
--- a/databases/p5-DBIx-Recordset/Makefile
+++ b/databases/p5-DBIx-Recordset/Makefile
@@ -17,7 +17,6 @@ COMMENT= Perl module for abstraction and simplification of database access
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= DBIx::Compat.3 DBIx::Database.3 DBIx::Intrors.3 \
DBIx::Recordset.3 DBIx::Recordset::DBSeq.3 \
DBIx::Recordset::FileSeq.3
diff --git a/databases/p5-DBIx-Recordset/pkg-plist b/databases/p5-DBIx-Recordset/pkg-plist
index dbb9070bfef0..ba9380b9033b 100644
--- a/databases/p5-DBIx-Recordset/pkg-plist
+++ b/databases/p5-DBIx-Recordset/pkg-plist
@@ -1,11 +1,11 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/Recordset/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/Compat.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/Database.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/Intrors.pod
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/Recordset.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/Recordset/DBSeq.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/Recordset/FileSeq.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/DBIx/Recordset
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/Recordset
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DBIx 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Recordset/.packlist
+%%SITE_PERL%%/DBIx/Compat.pm
+%%SITE_PERL%%/DBIx/Database.pm
+%%SITE_PERL%%/DBIx/Intrors.pod
+%%SITE_PERL%%/DBIx/Recordset.pm
+%%SITE_PERL%%/DBIx/Recordset/DBSeq.pm
+%%SITE_PERL%%/DBIx/Recordset/FileSeq.pm
+@dirrm %%SITE_PERL%%/DBIx/Recordset
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Recordset
+@unexec rmdir %D/%%SITE_PERL%%/DBIx 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true
diff --git a/databases/p5-DBIx-SQLEngine/Makefile b/databases/p5-DBIx-SQLEngine/Makefile
index 82810ea46f7a..3128c866957d 100644
--- a/databases/p5-DBIx-SQLEngine/Makefile
+++ b/databases/p5-DBIx-SQLEngine/Makefile
@@ -19,7 +19,7 @@ BUILD_DEPENDS= ${SITE_PERL}/DBIx/AnyDBD.pm:${PORTSDIR}/databases/p5-DBIx-AnyDBD
${SITE_PERL}/Class/MakeMethods/Template.pm:${PORTSDIR}/devel/p5-Class-MakeMethods
RUN_DEPENDS= ${BUILD_DEPENDS}
-SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+SITE_PERL= ${SITE_PERL}
PERL_CONFIGURE= yes
MAN3= DBIx::SQLEngine::Criteria::StringEquality.3\
@@ -38,6 +38,5 @@ MAN3= DBIx::SQLEngine::Criteria::StringEquality.3\
DBIx::SQLEngine::Mixin::SeqTable.3\
DBIx::SQLEngine.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/databases/p5-DBIx-Table/Makefile b/databases/p5-DBIx-Table/Makefile
index 8eba325ad666..de2d10a25556 100644
--- a/databases/p5-DBIx-Table/Makefile
+++ b/databases/p5-DBIx-Table/Makefile
@@ -18,6 +18,5 @@ COMMENT= Class used to represent DBI database tables
PERL_CONFIGURE= yes
MAN3= DBIx::Table.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/databases/p5-DBIx-Table/pkg-plist b/databases/p5-DBIx-Table/pkg-plist
index ee47e5d4431b..fa709ee90cdf 100644
--- a/databases/p5-DBIx-Table/pkg-plist
+++ b/databases/p5-DBIx-Table/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/Table.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/Table/.packlist
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/Table 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DBIx 2>/dev/null || true
+%%SITE_PERL%%/DBIx/Table.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Table/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Table 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx 2>/dev/null || true
diff --git a/databases/p5-DBIx-XML_RDB/Makefile b/databases/p5-DBIx-XML_RDB/Makefile
index b0a9ba85715f..67919fc38587 100644
--- a/databases/p5-DBIx-XML_RDB/Makefile
+++ b/databases/p5-DBIx-XML_RDB/Makefile
@@ -15,12 +15,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl extension for creating XML from existing DBI datasources
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= DBIx::XML_RDB.3
.include <bsd.port.pre.mk>
diff --git a/databases/p5-DBIx-XML_RDB/pkg-plist b/databases/p5-DBIx-XML_RDB/pkg-plist
index 3874100f23fd..2889440e2d97 100644
--- a/databases/p5-DBIx-XML_RDB/pkg-plist
+++ b/databases/p5-DBIx-XML_RDB/pkg-plist
@@ -1,9 +1,9 @@
bin/sql2xml.pl
bin/xml2sql.pl
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/XML_RDB.pm
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/sql2xml.pl
-lib/perl5/site_perl/%%PERL_VER%%/DBIx/xml2sql.pl
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/XML_RDB/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/XML_RDB
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DBIx 2>/dev/null || true
+%%SITE_PERL%%/DBIx/XML_RDB.pm
+%%SITE_PERL%%/DBIx/sql2xml.pl
+%%SITE_PERL%%/DBIx/xml2sql.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/XML_RDB/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/XML_RDB
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx 2>/dev/null || true
diff --git a/databases/p5-DBZ_File/Makefile b/databases/p5-DBZ_File/Makefile
index 4ac8a19e29e7..d6c521275086 100644
--- a/databases/p5-DBZ_File/Makefile
+++ b/databases/p5-DBZ_File/Makefile
@@ -27,7 +27,6 @@ CONFIGURE_ARGS+= POLLUTE=1
WRKSRC= ${WRKDIR}/DBZ_File
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= DBZ_File.3
.include <bsd.port.post.mk>
diff --git a/databases/p5-GDBM/Makefile b/databases/p5-GDBM/Makefile
index 97924919cb27..fa34aef3af40 100644
--- a/databases/p5-GDBM/Makefile
+++ b/databases/p5-GDBM/Makefile
@@ -24,6 +24,5 @@ PERL_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/GDBM_File
MAN3= GDBM_File.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/databases/p5-GDBM/pkg-plist b/databases/p5-GDBM/pkg-plist
index b0415fe19d34..9b0fb6c1721f 100644
--- a/databases/p5-GDBM/pkg-plist
+++ b/databases/p5-GDBM/pkg-plist
@@ -1,6 +1,6 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/GDBM_File.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/GDBM_File/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/GDBM_File/GDBM_File.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/GDBM_File/GDBM_File.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/GDBM_File/autosplit.ix
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/GDBM_File
+%%SITE_PERL%%/%%PERL_ARCH%%/GDBM_File.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/GDBM_File/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/GDBM_File/GDBM_File.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/GDBM_File/GDBM_File.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/GDBM_File/autosplit.ix
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/GDBM_File
diff --git a/databases/p5-MLDBM-Sync/Makefile b/databases/p5-MLDBM-Sync/Makefile
index 68396e211fc3..5304ab1380ba 100644
--- a/databases/p5-MLDBM-Sync/Makefile
+++ b/databases/p5-MLDBM-Sync/Makefile
@@ -15,19 +15,18 @@ PKGNAMEPREFIX= p5-
MAINTAINER= erwin@FreeBSD.org
COMMENT= MLDBM::Sync - safe concurrent access to MLDBM databases
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/MLDBM.pm:${PORTSDIR}/databases/p5-MLDBM
+BUILD_DEPENDS= ${SITE_PERL}/MLDBM.pm:${PORTSDIR}/databases/p5-MLDBM
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= MLDBM::Sync.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
-BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
-RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
.endif
.include <bsd.port.post.mk>
diff --git a/databases/p5-MLDBM-Sync/pkg-plist b/databases/p5-MLDBM-Sync/pkg-plist
index d680c8d91122..609fe1aebeeb 100644
--- a/databases/p5-MLDBM-Sync/pkg-plist
+++ b/databases/p5-MLDBM-Sync/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/MLDBM/Sync.pm
-lib/perl5/site_perl/%%PERL_VER%%/MLDBM/Sync/SDBM_File.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MLDBM/Sync/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MLDBM/Sync
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MLDBM 2>/dev/null || true
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/MLDBM/Sync
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/MLDBM 2>/dev/null || true
+%%SITE_PERL%%/MLDBM/Sync.pm
+%%SITE_PERL%%/MLDBM/Sync/SDBM_File.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MLDBM/Sync/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MLDBM/Sync
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/MLDBM 2>/dev/null || true
+@dirrm %%SITE_PERL%%/MLDBM/Sync
+@unexec rmdir %D/%%SITE_PERL%%/MLDBM 2>/dev/null || true
diff --git a/databases/p5-MLDBM/Makefile b/databases/p5-MLDBM/Makefile
index 722f8bfd2c31..7dd977f46392 100644
--- a/databases/p5-MLDBM/Makefile
+++ b/databases/p5-MLDBM/Makefile
@@ -15,19 +15,18 @@ PKGNAMEPREFIX= p5-
MAINTAINER= erwin@FreeBSD.org
COMMENT= Store multi-level hash structure in single level tied hash
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw
+BUILD_DEPENDS= ${SITE_PERL}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= MLDBM.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
-BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
-RUN_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+= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
.endif
.include <bsd.port.post.mk>
diff --git a/databases/p5-MLDBM/pkg-plist b/databases/p5-MLDBM/pkg-plist
index 7dbbc232f971..fcd37c5735aa 100644
--- a/databases/p5-MLDBM/pkg-plist
+++ b/databases/p5-MLDBM/pkg-plist
@@ -1,9 +1,9 @@
-lib/perl5/site_perl/%%PERL_VER%%/MLDBM.pm
-lib/perl5/site_perl/%%PERL_VER%%/MLDBM/Serializer/FreezeThaw.pm
-lib/perl5/site_perl/%%PERL_VER%%/MLDBM/Serializer/Storable.pm
-lib/perl5/site_perl/%%PERL_VER%%/MLDBM/Serializer/Data/Dumper.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MLDBM/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MLDBM
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/MLDBM/Serializer/Data
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/MLDBM/Serializer
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/MLDBM
+%%SITE_PERL%%/MLDBM.pm
+%%SITE_PERL%%/MLDBM/Serializer/FreezeThaw.pm
+%%SITE_PERL%%/MLDBM/Serializer/Storable.pm
+%%SITE_PERL%%/MLDBM/Serializer/Data/Dumper.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MLDBM/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MLDBM
+@dirrm %%SITE_PERL%%/MLDBM/Serializer/Data
+@dirrm %%SITE_PERL%%/MLDBM/Serializer
+@dirrm %%SITE_PERL%%/MLDBM
diff --git a/databases/p5-Metadata/Makefile b/databases/p5-Metadata/Makefile
index 2341a00b4518..461a82f1a91d 100644
--- a/databases/p5-Metadata/Makefile
+++ b/databases/p5-Metadata/Makefile
@@ -18,13 +18,12 @@ COMMENT= Perl implementation of Dublin Core compatible metadata
BUILD_DEPENDS= ${SITE_PERL}/Date/Format.pm:${PORTSDIR}/devel/p5-TimeDate
RUN_DEPENDS= ${BUILD_DEPENDS}
-SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+SITE_PERL= ${SITE_PERL}
PERL_CONFIGURE= yes
MAN3= Metadata::Base.3 \
Metadata::HTTP.3 \
Metadata::IAFA.3 \
Metadata::SOIF.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/databases/p5-Metadata/pkg-plist b/databases/p5-Metadata/pkg-plist
index a344bcaca5b4..afed4d7021b1 100644
--- a/databases/p5-Metadata/pkg-plist
+++ b/databases/p5-Metadata/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/Metadata/Base.pm
-lib/perl5/site_perl/%%PERL_VER%%/Metadata/HTTP.pm
-lib/perl5/site_perl/%%PERL_VER%%/Metadata/IAFA.pm
-lib/perl5/site_perl/%%PERL_VER%%/Metadata/SOIF.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Metadata/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Metadata
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Metadata
+%%SITE_PERL%%/Metadata/Base.pm
+%%SITE_PERL%%/Metadata/HTTP.pm
+%%SITE_PERL%%/Metadata/IAFA.pm
+%%SITE_PERL%%/Metadata/SOIF.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Metadata/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Metadata
+@dirrm %%SITE_PERL%%/Metadata
diff --git a/databases/p5-Mysql/Makefile b/databases/p5-Mysql/Makefile
index f8533e43c4e5..6e36aa940b1a 100644
--- a/databases/p5-Mysql/Makefile
+++ b/databases/p5-Mysql/Makefile
@@ -16,7 +16,7 @@ DISTNAME= Msql-Mysql-modules-${PORTVERSION}
MAINTAINER= jedgar@FreeBSD.org
COMMENT= Perl5 modules for accessing MySQL databases
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Data/ShowTable.pm:${PORTSDIR}/devel/p5-Data-ShowTable
+BUILD_DEPENDS= ${SITE_PERL}/Data/ShowTable.pm:${PORTSDIR}/devel/p5-Data-ShowTable
RUN_DEPENDS= ${BUILD_DEPENDS}
.include <bsd.port.pre.mk>
diff --git a/databases/p5-Mysql/pkg-plist b/databases/p5-Mysql/pkg-plist
index cebf02907e5a..28eb305dd2e5 100644
--- a/databases/p5-Mysql/pkg-plist
+++ b/databases/p5-Mysql/pkg-plist
@@ -1,14 +1,14 @@
bin/dbimon
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Mysql.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Bundle/DBD/mysql.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/DBD/mysql.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Mysql/Statement.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/mysql/mysql.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/mysql/mysql.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Msql-Mysql-modules/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/mysql
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Msql-Mysql-modules
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Mysql
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Bundle/DBD
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Bundle 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Mysql.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Bundle/DBD/mysql.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/DBD/mysql.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Mysql/Statement.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/mysql/mysql.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/mysql/mysql.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Msql-Mysql-modules/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/mysql
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Msql-Mysql-modules
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Mysql
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Bundle/DBD
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Bundle 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
diff --git a/databases/p5-POE-Component-RRDTool/Makefile b/databases/p5-POE-Component-RRDTool/Makefile
index 837deba5e469..a2f593ccdeb9 100644
--- a/databases/p5-POE-Component-RRDTool/Makefile
+++ b/databases/p5-POE-Component-RRDTool/Makefile
@@ -15,7 +15,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= POE interface to Round Robin Database Tools
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/POE.pm:${PORTSDIR}/devel/p5-POE \
+BUILD_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \
${LOCALBASE}/bin/rrdtool:${PORTSDIR}/net/rrdtool
RUN_DEPENDS= ${BUILD_DEPENDS}
diff --git a/databases/p5-POE-Component-RRDTool/pkg-plist b/databases/p5-POE-Component-RRDTool/pkg-plist
index 975c5b42eda6..ae6853c7d35f 100644
--- a/databases/p5-POE-Component-RRDTool/pkg-plist
+++ b/databases/p5-POE-Component-RRDTool/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/POE/Component/RRDTool/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/POE/Component/RRDTool.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/POE/Component/RRDTool
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/POE/Component 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/POE/Component 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/POE 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/POE 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/RRDTool/.packlist
+%%SITE_PERL%%/POE/Component/RRDTool.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/RRDTool
+@unexec rmdir %D/%%SITE_PERL%%/POE/Component 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/POE 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE 2>/dev/null || true
diff --git a/databases/p5-Pg/Makefile b/databases/p5-Pg/Makefile
index a6fb5cd38a94..3e0c772a8a30 100644
--- a/databases/p5-Pg/Makefile
+++ b/databases/p5-Pg/Makefile
@@ -23,7 +23,6 @@ LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
USE_PERL5= yes
MAN3= Pg.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
PERL_CONFIGURE= YES
CONFIGURE_ENV= POSTGRES_INCLUDE=${LOCALBASE}/include POSTGRES_LIB=${LOCALBASE}/lib
diff --git a/databases/p5-Pg/pkg-plist b/databases/p5-Pg/pkg-plist
index 7e1038624cc8..adc7f9fe797d 100644
--- a/databases/p5-Pg/pkg-plist
+++ b/databases/p5-Pg/pkg-plist
@@ -1,6 +1,6 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Pg.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Pg/Pg.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Pg/Pg.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Pg/autosplit.ix
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Pg/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Pg
+%%SITE_PERL%%/%%PERL_ARCH%%/Pg.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Pg/Pg.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Pg/Pg.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Pg/autosplit.ix
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Pg/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Pg
diff --git a/databases/p5-ResourcePool-Resource-DBI/Makefile b/databases/p5-ResourcePool-Resource-DBI/Makefile
index aef6635ca359..5b70e4262868 100644
--- a/databases/p5-ResourcePool-Resource-DBI/Makefile
+++ b/databases/p5-ResourcePool-Resource-DBI/Makefile
@@ -16,12 +16,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= erwin@FreeBSD.org
COMMENT= ResourcePool::Resource::DBI - A ResourcePool wrapper for DBI
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/ResourcePool.pm:${PORTSDIR}/devel/p5-ResourcePool
+BUILD_DEPENDS= ${SITE_PERL}/ResourcePool.pm:${PORTSDIR}/devel/p5-ResourcePool
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= ResourcePool::Resource::DBI.3 ResourcePool::Factory::DBI.3 \
ResourcePool::Command::DBI::Execute.3 ResourcePool::Command::DBI::Select.3 \
ResourcePool::Command::DBI::SelectRow.3
diff --git a/databases/p5-ResourcePool-Resource-DBI/pkg-plist b/databases/p5-ResourcePool-Resource-DBI/pkg-plist
index 5d779664fb7d..e2fcb2a34551 100644
--- a/databases/p5-ResourcePool-Resource-DBI/pkg-plist
+++ b/databases/p5-ResourcePool-Resource-DBI/pkg-plist
@@ -1,17 +1,17 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/ResourcePool/Resource/DBI/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/ResourcePool/Command/DBI/Execute.pm
-lib/perl5/site_perl/%%PERL_VER%%/ResourcePool/Command/DBI/SelectRow.pod
-lib/perl5/site_perl/%%PERL_VER%%/ResourcePool/Command/DBI/Select.pod
-lib/perl5/site_perl/%%PERL_VER%%/ResourcePool/Command/DBI/Select.pm
-lib/perl5/site_perl/%%PERL_VER%%/ResourcePool/Command/DBI/SelectRow.pm
-lib/perl5/site_perl/%%PERL_VER%%/ResourcePool/Command/DBI/Execute.pod
-lib/perl5/site_perl/%%PERL_VER%%/ResourcePool/Command/DBI/Common.pm
-lib/perl5/site_perl/%%PERL_VER%%/ResourcePool/Resource/DBI.pm
-lib/perl5/site_perl/%%PERL_VER%%/ResourcePool/Resource/DBI.pod
-lib/perl5/site_perl/%%PERL_VER%%/ResourcePool/Factory/DBI.pm
-lib/perl5/site_perl/%%PERL_VER%%/ResourcePool/Factory/DBI.pod
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/ResourcePool/Command/DBI
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/ResourcePool/Resource/DBI
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/ResourcePool/Resource 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/ResourcePool/Resource 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/ResourcePool/Factory 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/ResourcePool/Resource/DBI/.packlist
+%%SITE_PERL%%/ResourcePool/Command/DBI/Execute.pm
+%%SITE_PERL%%/ResourcePool/Command/DBI/SelectRow.pod
+%%SITE_PERL%%/ResourcePool/Command/DBI/Select.pod
+%%SITE_PERL%%/ResourcePool/Command/DBI/Select.pm
+%%SITE_PERL%%/ResourcePool/Command/DBI/SelectRow.pm
+%%SITE_PERL%%/ResourcePool/Command/DBI/Execute.pod
+%%SITE_PERL%%/ResourcePool/Command/DBI/Common.pm
+%%SITE_PERL%%/ResourcePool/Resource/DBI.pm
+%%SITE_PERL%%/ResourcePool/Resource/DBI.pod
+%%SITE_PERL%%/ResourcePool/Factory/DBI.pm
+%%SITE_PERL%%/ResourcePool/Factory/DBI.pod
+@dirrm %%SITE_PERL%%/ResourcePool/Command/DBI
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/ResourcePool/Resource/DBI
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/ResourcePool/Resource 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/ResourcePool/Resource 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/ResourcePool/Factory 2>/dev/null || true
diff --git a/databases/p5-SQL-Abstract/Makefile b/databases/p5-SQL-Abstract/Makefile
index 1c12384daf88..3459fef44d41 100644
--- a/databases/p5-SQL-Abstract/Makefile
+++ b/databases/p5-SQL-Abstract/Makefile
@@ -17,7 +17,6 @@ COMMENT= Perl extension to generate SQL from Perl data structures
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= SQL::Abstract.3
.include <bsd.port.mk>
diff --git a/databases/p5-SQL-Abstract/pkg-plist b/databases/p5-SQL-Abstract/pkg-plist
index 00e745551201..22e7cf3ea4b3 100644
--- a/databases/p5-SQL-Abstract/pkg-plist
+++ b/databases/p5-SQL-Abstract/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SQL/Abstract/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/SQL/Abstract.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SQL/Abstract
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/SQL 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SQL 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SQL/Abstract/.packlist
+%%SITE_PERL%%/SQL/Abstract.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SQL/Abstract
+@unexec rmdir %D/%%SITE_PERL%%/SQL 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/SQL 2>/dev/null || true
diff --git a/databases/p5-SQL-Statement/Makefile b/databases/p5-SQL-Statement/Makefile
index 55826af0746e..fde27c99d220 100644
--- a/databases/p5-SQL-Statement/Makefile
+++ b/databases/p5-SQL-Statement/Makefile
@@ -17,7 +17,6 @@ COMMENT= A perl5 module for SQL parsing and processing
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= SQL::Dialects::ANSI.3 SQL::Dialects::AnyData.3 \
SQL::Dialects::CSV.3 SQL::Eval.3 SQL::Parser.3 SQL::Statement.3
diff --git a/databases/p5-SQL-Statement/pkg-plist b/databases/p5-SQL-Statement/pkg-plist
index 9904cde0a0e4..028537be3adf 100644
--- a/databases/p5-SQL-Statement/pkg-plist
+++ b/databases/p5-SQL-Statement/pkg-plist
@@ -1,14 +1,14 @@
-lib/perl5/site_perl/%%PERL_VER%%/SQL/Dialects/ANSI.pm
-lib/perl5/site_perl/%%PERL_VER%%/SQL/Dialects/AnyData.pm
-lib/perl5/site_perl/%%PERL_VER%%/SQL/Dialects/CSV.pm
-lib/perl5/site_perl/%%PERL_VER%%/SQL/Eval.pm
-lib/perl5/site_perl/%%PERL_VER%%/SQL/Parser.pm
-lib/perl5/site_perl/%%PERL_VER%%/SQL/Statement.pm
-lib/perl5/site_perl/%%PERL_VER%%/SQL/Statement/GetInfo.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/SQL/Statement
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/SQL/Dialects 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/SQL 2>/dev/null || true
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SQL/Statement/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SQL/Statement
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SQL/Statement 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SQL 2>/dev/null || true
+%%SITE_PERL%%/SQL/Dialects/ANSI.pm
+%%SITE_PERL%%/SQL/Dialects/AnyData.pm
+%%SITE_PERL%%/SQL/Dialects/CSV.pm
+%%SITE_PERL%%/SQL/Eval.pm
+%%SITE_PERL%%/SQL/Parser.pm
+%%SITE_PERL%%/SQL/Statement.pm
+%%SITE_PERL%%/SQL/Statement/GetInfo.pm
+@dirrm %%SITE_PERL%%/SQL/Statement
+@unexec rmdir %D/%%SITE_PERL%%/SQL/Dialects 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/SQL 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SQL/Statement/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SQL/Statement
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/SQL/Statement 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/SQL 2>/dev/null || true
diff --git a/databases/p5-Search-Namazu/Makefile b/databases/p5-Search-Namazu/Makefile
index 62e715f0806a..4e8e629fb65e 100644
--- a/databases/p5-Search-Namazu/Makefile
+++ b/databases/p5-Search-Namazu/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext \
PERL_CONFIGURE= YES
CONFIGURE_ENV= PREFIX=${PREFIX}
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Search::Namazu.3
.include <bsd.port.mk>
diff --git a/databases/p5-Search-Namazu/pkg-plist b/databases/p5-Search-Namazu/pkg-plist
index 16166779a1b6..1f7aa662d663 100644
--- a/databases/p5-Search-Namazu/pkg-plist
+++ b/databases/p5-Search-Namazu/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Search/Namazu.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search/Namazu/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search/Namazu/Namazu.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search/Namazu/Namazu.so
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search/Namazu
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Search 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Search/Namazu.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/Namazu/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/Namazu/Namazu.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/Namazu/Namazu.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/Namazu
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Search 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Search 2>/dev/null || true
diff --git a/databases/p5-Tangram/Makefile b/databases/p5-Tangram/Makefile
index 564042da3573..ed1f191f011a 100644
--- a/databases/p5-Tangram/Makefile
+++ b/databases/p5-Tangram/Makefile
@@ -15,12 +15,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Orthogonal Object Persistence in Relational Databases
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Set/Object.pm:${PORTSDIR}/devel/p5-Set-Object
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Set/Object.pm:${PORTSDIR}/devel/p5-Set-Object
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Tangram.3 Tangram::Array.3 Tangram::Core.3 Tangram::Cursor.3 \
Tangram::DateTime.3 Tangram::Deploy.3 Tangram::Dialect.3 \
Tangram::Expr.3 Tangram::FlatArray.3 Tangram::FlatHash.3 \
diff --git a/databases/p5-Tangram/pkg-plist b/databases/p5-Tangram/pkg-plist
index a31f28da3bd9..c83bc9b51051 100644
--- a/databases/p5-Tangram/pkg-plist
+++ b/databases/p5-Tangram/pkg-plist
@@ -1,65 +1,65 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tangram/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Tangram.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/AbstractArray.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/AbstractHash.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/AbstractSet.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Array.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Array.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Coll.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Core.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Core.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Cursor.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Cursor.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/DMDateTime.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/DateTime.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Deploy.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Deploy.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Dialect.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Expr.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Expr.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/FlatArray.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/FlatArray.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/FlatHash.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/FlatHash.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Hash.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/IntrArray.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/IntrArray.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/IntrHash.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/IntrSet.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/IntrSet.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/PerlDump.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/PerlDump.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/RawDate.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/RawDateTime.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/RawTime.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Ref.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Ref.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Relational.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Relational.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Relational/Engine.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Relational/Mappings.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Remote.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Scalar.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Scalar.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Schema.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Schema.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Set.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Set.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Springfield.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Springfield.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Storage.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Storage.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Sybase.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Sybase.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Tour.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Type.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Type.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/Type/Extending.pod
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/mysql.pm
-lib/perl5/site_perl/%%PERL_VER%%/Tangram/mysql.pod
-lib/perl5/site_perl/%%PERL_VER%%/auto/Tangram/autosplit.ix
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Tangram/Relational
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Tangram/Type
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Tangram
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tangram
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tangram/.packlist
+%%SITE_PERL%%/Tangram.pm
+%%SITE_PERL%%/Tangram.pod
+%%SITE_PERL%%/Tangram/AbstractArray.pm
+%%SITE_PERL%%/Tangram/AbstractHash.pm
+%%SITE_PERL%%/Tangram/AbstractSet.pm
+%%SITE_PERL%%/Tangram/Array.pm
+%%SITE_PERL%%/Tangram/Array.pod
+%%SITE_PERL%%/Tangram/Coll.pm
+%%SITE_PERL%%/Tangram/Core.pm
+%%SITE_PERL%%/Tangram/Core.pod
+%%SITE_PERL%%/Tangram/Cursor.pm
+%%SITE_PERL%%/Tangram/Cursor.pod
+%%SITE_PERL%%/Tangram/DMDateTime.pm
+%%SITE_PERL%%/Tangram/DateTime.pod
+%%SITE_PERL%%/Tangram/Deploy.pm
+%%SITE_PERL%%/Tangram/Deploy.pod
+%%SITE_PERL%%/Tangram/Dialect.pod
+%%SITE_PERL%%/Tangram/Expr.pm
+%%SITE_PERL%%/Tangram/Expr.pod
+%%SITE_PERL%%/Tangram/FlatArray.pm
+%%SITE_PERL%%/Tangram/FlatArray.pod
+%%SITE_PERL%%/Tangram/FlatHash.pm
+%%SITE_PERL%%/Tangram/FlatHash.pod
+%%SITE_PERL%%/Tangram/Hash.pm
+%%SITE_PERL%%/Tangram/IntrArray.pm
+%%SITE_PERL%%/Tangram/IntrArray.pod
+%%SITE_PERL%%/Tangram/IntrHash.pm
+%%SITE_PERL%%/Tangram/IntrSet.pm
+%%SITE_PERL%%/Tangram/IntrSet.pod
+%%SITE_PERL%%/Tangram/PerlDump.pm
+%%SITE_PERL%%/Tangram/PerlDump.pod
+%%SITE_PERL%%/Tangram/RawDate.pm
+%%SITE_PERL%%/Tangram/RawDateTime.pm
+%%SITE_PERL%%/Tangram/RawTime.pm
+%%SITE_PERL%%/Tangram/Ref.pm
+%%SITE_PERL%%/Tangram/Ref.pod
+%%SITE_PERL%%/Tangram/Relational.pm
+%%SITE_PERL%%/Tangram/Relational.pod
+%%SITE_PERL%%/Tangram/Relational/Engine.pm
+%%SITE_PERL%%/Tangram/Relational/Mappings.pod
+%%SITE_PERL%%/Tangram/Remote.pod
+%%SITE_PERL%%/Tangram/Scalar.pm
+%%SITE_PERL%%/Tangram/Scalar.pod
+%%SITE_PERL%%/Tangram/Schema.pm
+%%SITE_PERL%%/Tangram/Schema.pod
+%%SITE_PERL%%/Tangram/Set.pm
+%%SITE_PERL%%/Tangram/Set.pod
+%%SITE_PERL%%/Tangram/Springfield.pm
+%%SITE_PERL%%/Tangram/Springfield.pod
+%%SITE_PERL%%/Tangram/Storage.pm
+%%SITE_PERL%%/Tangram/Storage.pod
+%%SITE_PERL%%/Tangram/Sybase.pm
+%%SITE_PERL%%/Tangram/Sybase.pod
+%%SITE_PERL%%/Tangram/Tour.pod
+%%SITE_PERL%%/Tangram/Type.pm
+%%SITE_PERL%%/Tangram/Type.pod
+%%SITE_PERL%%/Tangram/Type/Extending.pod
+%%SITE_PERL%%/Tangram/mysql.pm
+%%SITE_PERL%%/Tangram/mysql.pod
+%%SITE_PERL%%/auto/Tangram/autosplit.ix
+@dirrm %%SITE_PERL%%/Tangram/Relational
+@dirrm %%SITE_PERL%%/Tangram/Type
+@dirrm %%SITE_PERL%%/Tangram
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tangram
diff --git a/databases/p5-Text-Query-SQL/Makefile b/databases/p5-Text-Query-SQL/Makefile
index a31887e6b92b..63c1aa4aba04 100644
--- a/databases/p5-Text-Query-SQL/Makefile
+++ b/databases/p5-Text-Query-SQL/Makefile
@@ -15,7 +15,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Text-Query-SQL provides query builders for SQL databases
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Text/Query.pm:${PORTSDIR}/textproc/p5-Text-Query
+BUILD_DEPENDS= ${SITE_PERL}/Text/Query.pm:${PORTSDIR}/textproc/p5-Text-Query
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@@ -24,7 +24,6 @@ MAN3= Text::Query::BuildSQLMifluz.3 Text::Query::BuildSQLMySQL.3 \
Text::Query::BuildSQLFulcrum.3 Text::Query::BuildSQL.3 \
Text::Query::BuildSQLPg.3 Text::Query::SolveSQL.3 \
Bundle::Text::Query::BuildSQL.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
pre-patch:
@${PERL} -pi -e '/DBI/ and $$_=""' ${WRKSRC}/Makefile.PL
diff --git a/databases/p5-Text-Query-SQL/pkg-plist b/databases/p5-Text-Query-SQL/pkg-plist
index 52336fa11d42..c464700811a9 100644
--- a/databases/p5-Text-Query-SQL/pkg-plist
+++ b/databases/p5-Text-Query-SQL/pkg-plist
@@ -1,13 +1,13 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Query/SQL/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Text/Query/BuildSQLMifluz.pm
-lib/perl5/site_perl/%%PERL_VER%%/Text/Query/BuildSQLMySQL.pm
-lib/perl5/site_perl/%%PERL_VER%%/Text/Query/BuildSQLFulcrum.pm
-lib/perl5/site_perl/%%PERL_VER%%/Text/Query/BuildSQL.pm
-lib/perl5/site_perl/%%PERL_VER%%/Text/Query/BuildSQLPg.pm
-lib/perl5/site_perl/%%PERL_VER%%/Text/Query/SolveSQL.pm
-lib/perl5/site_perl/%%PERL_VER%%/Bundle/Text/Query/BuildSQL.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Query/SQL
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Bundle/Text/Query 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Bundle/Text 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Bundle 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Text/Query 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Query/SQL/.packlist
+%%SITE_PERL%%/Text/Query/BuildSQLMifluz.pm
+%%SITE_PERL%%/Text/Query/BuildSQLMySQL.pm
+%%SITE_PERL%%/Text/Query/BuildSQLFulcrum.pm
+%%SITE_PERL%%/Text/Query/BuildSQL.pm
+%%SITE_PERL%%/Text/Query/BuildSQLPg.pm
+%%SITE_PERL%%/Text/Query/SolveSQL.pm
+%%SITE_PERL%%/Bundle/Text/Query/BuildSQL.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Query/SQL
+@unexec rmdir %D/%%SITE_PERL%%/Bundle/Text/Query 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Bundle/Text 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Bundle 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Text/Query 2>/dev/null || true
diff --git a/databases/p5-Tie-DBI/Makefile b/databases/p5-Tie-DBI/Makefile
index 760642c5bbfe..d3bd2138ab47 100644
--- a/databases/p5-Tie-DBI/Makefile
+++ b/databases/p5-Tie-DBI/Makefile
@@ -17,7 +17,6 @@ COMMENT= Perl module implementing Tie hash to a DBI handle
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Tie::RDBM.3 Tie::DBI.3
.include <bsd.port.mk>
diff --git a/databases/p5-Time-Piece-MySQL/Makefile b/databases/p5-Time-Piece-MySQL/Makefile
index ff7a55c76c35..6412780ea715 100644
--- a/databases/p5-Time-Piece-MySQL/Makefile
+++ b/databases/p5-Time-Piece-MySQL/Makefile
@@ -21,6 +21,5 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Time::Piece::MySQL.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/databases/p5-hp200lx-db/Makefile b/databases/p5-hp200lx-db/Makefile
index 93b516d5825c..c59aff20a326 100644
--- a/databases/p5-hp200lx-db/Makefile
+++ b/databases/p5-hp200lx-db/Makefile
@@ -18,6 +18,5 @@ COMMENT= Perl5 module to handle HP 200LX palmtop computer databases
PERL_CONFIGURE= yes
MAN3= HP200LX::DB.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/databases/p5-hp200lx-db/pkg-plist b/databases/p5-hp200lx-db/pkg-plist
index 05a874e5eec6..4c373f6cb1aa 100644
--- a/databases/p5-hp200lx-db/pkg-plist
+++ b/databases/p5-hp200lx-db/pkg-plist
@@ -1,16 +1,16 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HP200LX/DB/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DB.pm
-lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DB/adb.pm
-lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DB/recurrence.pm
-lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DB/tools.pm
-lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DB/vpt.pm
-lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DB/diag.pm
-lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DBgui.pm
-lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DBgui/card.pm
-lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DBgui/list.pm
-lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DBgui/vpt.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HP200LX/DB
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HP200LX
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DB
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DBgui
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/HP200LX
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/HP200LX/DB/.packlist
+%%SITE_PERL%%/HP200LX/DB.pm
+%%SITE_PERL%%/HP200LX/DB/adb.pm
+%%SITE_PERL%%/HP200LX/DB/recurrence.pm
+%%SITE_PERL%%/HP200LX/DB/tools.pm
+%%SITE_PERL%%/HP200LX/DB/vpt.pm
+%%SITE_PERL%%/HP200LX/DB/diag.pm
+%%SITE_PERL%%/HP200LX/DBgui.pm
+%%SITE_PERL%%/HP200LX/DBgui/card.pm
+%%SITE_PERL%%/HP200LX/DBgui/list.pm
+%%SITE_PERL%%/HP200LX/DBgui/vpt.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HP200LX/DB
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HP200LX
+@dirrm %%SITE_PERL%%/HP200LX/DB
+@dirrm %%SITE_PERL%%/HP200LX/DBgui
+@dirrm %%SITE_PERL%%/HP200LX
diff --git a/databases/p5-sqlrelay/pkg-plist b/databases/p5-sqlrelay/pkg-plist
index d12657193efc..24f7f0f3fed2 100644
--- a/databases/p5-sqlrelay/pkg-plist
+++ b/databases/p5-sqlrelay/pkg-plist
@@ -1,17 +1,17 @@
-lib/perl5/site_perl/%%PERL_VER%%/DBD/SQLRelay.pm
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DBD 2>/dev/null || true
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/SQLRelay/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/SQLRelay
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Firstworks/SQLRConnection.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks/SQLRConnection/SQLRConnection.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks/SQLRConnection/SQLRConnection.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks/SQLRConnection/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks/SQLRConnection
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Firstworks/SQLRCursor.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks/SQLRCursor/SQLRCursor.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks/SQLRCursor/SQLRCursor.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks/SQLRCursor/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks/SQLRCursor
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Firstworks 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks 2>/dev/null || true
+%%SITE_PERL%%/DBD/SQLRelay.pm
+@unexec rmdir %D/%%SITE_PERL%%/DBD 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLRelay/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLRelay
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Firstworks/SQLRConnection.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks/SQLRConnection/SQLRConnection.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks/SQLRConnection/SQLRConnection.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks/SQLRConnection/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks/SQLRConnection
+%%SITE_PERL%%/%%PERL_ARCH%%/Firstworks/SQLRCursor.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks/SQLRCursor/SQLRCursor.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks/SQLRCursor/SQLRCursor.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks/SQLRCursor/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks/SQLRCursor
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Firstworks 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks 2>/dev/null || true
diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile
index 7a36ca57d586..6e2f0dcb4585 100644
--- a/databases/percona55-server/Makefile
+++ b/databases/percona55-server/Makefile
@@ -102,7 +102,7 @@ CXX= ${CC}
USE_PERL5_RUN= yes
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql41-client \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
+ ${SITE_PERL}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}-alpha
diff --git a/databases/postgresql_autodoc/Makefile b/databases/postgresql_autodoc/Makefile
index c9cb9ead2479..361554cdbc9e 100644
--- a/databases/postgresql_autodoc/Makefile
+++ b/databases/postgresql_autodoc/Makefile
@@ -14,8 +14,8 @@ DIST_SUBDIR= postgresql
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Automatic documentation generator for postgresql databases
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
+BUILD_DEPENDS= ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \
+ ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
GNU_CONFIGURE= yes
USE_GMAKE= yes
diff --git a/databases/rrdtool/pkg-plist b/databases/rrdtool/pkg-plist
index 579be8a0753f..a84a6d29e72e 100644
--- a/databases/rrdtool/pkg-plist
+++ b/databases/rrdtool/pkg-plist
@@ -73,16 +73,16 @@ share/doc/rrdtool/html/rrdtutorial.es.html
share/doc/rrdtool/html/RRDs.html
share/doc/rrdtool/html/RRDp.html
share/doc/rrdtool/html/rrdxport.html
-lib/perl5/site_perl/%%PERL_VER%%/RRDp.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RRDp/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/RRDs.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/ntmake.pl
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RRDs/RRDs.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RRDs/RRDs.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RRDs/.packlist
+%%SITE_PERL%%/RRDp.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDp/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/RRDs.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/ntmake.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs/RRDs.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs/RRDs.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs/.packlist
@dirrm share/examples/rrdtool/trytime
@dirrm share/examples/rrdtool
@dirrm share/doc/rrdtool/html
@dirrm share/doc/rrdtool
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RRDp
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RRDs
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDp
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs
diff --git a/databases/rrdtool10/pkg-plist b/databases/rrdtool10/pkg-plist
index 579be8a0753f..a84a6d29e72e 100644
--- a/databases/rrdtool10/pkg-plist
+++ b/databases/rrdtool10/pkg-plist
@@ -73,16 +73,16 @@ share/doc/rrdtool/html/rrdtutorial.es.html
share/doc/rrdtool/html/RRDs.html
share/doc/rrdtool/html/RRDp.html
share/doc/rrdtool/html/rrdxport.html
-lib/perl5/site_perl/%%PERL_VER%%/RRDp.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RRDp/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/RRDs.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/ntmake.pl
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RRDs/RRDs.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RRDs/RRDs.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RRDs/.packlist
+%%SITE_PERL%%/RRDp.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDp/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/RRDs.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/ntmake.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs/RRDs.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs/RRDs.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs/.packlist
@dirrm share/examples/rrdtool/trytime
@dirrm share/examples/rrdtool
@dirrm share/doc/rrdtool/html
@dirrm share/doc/rrdtool
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RRDp
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RRDs
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDp
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs