aboutsummaryrefslogtreecommitdiff
path: root/security
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 /security
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 'security')
-rw-r--r--security/amavis-perl/Makefile20
-rw-r--r--security/cp2fwb/Makefile4
-rw-r--r--security/p5-Authen-Krb5/pkg-plist12
-rw-r--r--security/p5-Authen-PAM/pkg-plist16
-rw-r--r--security/p5-Authen-Smb/pkg-plist16
-rw-r--r--security/p5-Authen-TacacsPlus/Makefile1
-rw-r--r--security/p5-Authen-TacacsPlus/pkg-plist14
-rw-r--r--security/p5-Authen-Ticket/Makefile1
-rw-r--r--security/p5-Authen-Ticket/pkg-plist18
-rw-r--r--security/p5-Crypt-Blowfish/Makefile1
-rw-r--r--security/p5-Crypt-Blowfish/pkg-plist14
-rw-r--r--security/p5-Crypt-Blowfish_PP/Makefile1
-rw-r--r--security/p5-Crypt-Blowfish_PP/pkg-plist12
-rw-r--r--security/p5-Crypt-CBC/Makefile2
-rw-r--r--security/p5-Crypt-CBC/pkg-plist10
-rw-r--r--security/p5-Crypt-CipherSaber/Makefile1
-rw-r--r--security/p5-Crypt-CipherSaber/pkg-plist10
-rw-r--r--security/p5-Crypt-Cracklib/Makefile3
-rw-r--r--security/p5-Crypt-Cracklib/pkg-plist14
-rw-r--r--security/p5-Crypt-Cryptix/Makefile1
-rw-r--r--security/p5-Crypt-Cryptix/pkg-plist176
-rw-r--r--security/p5-Crypt-DES/Makefile1
-rw-r--r--security/p5-Crypt-DES/pkg-plist14
-rw-r--r--security/p5-Crypt-DES_EDE3/Makefile3
-rw-r--r--security/p5-Crypt-DES_EDE3/pkg-plist2
-rw-r--r--security/p5-Crypt-DH/Makefile5
-rw-r--r--security/p5-Crypt-DH/pkg-plist2
-rw-r--r--security/p5-Crypt-DSA/Makefile3
-rw-r--r--security/p5-Crypt-DSA/pkg-plist22
-rw-r--r--security/p5-Crypt-ECB/Makefile1
-rw-r--r--security/p5-Crypt-ECB/pkg-plist10
-rw-r--r--security/p5-Crypt-HCE_SHA/Makefile6
-rw-r--r--security/p5-Crypt-HCE_SHA/pkg-plist18
-rw-r--r--security/p5-Crypt-IDEA/Makefile1
-rw-r--r--security/p5-Crypt-IDEA/pkg-plist16
-rw-r--r--security/p5-Crypt-OTP/Makefile1
-rw-r--r--security/p5-Crypt-OTP/pkg-plist10
-rw-r--r--security/p5-Crypt-OpenSSL-DSA/Makefile1
-rw-r--r--security/p5-Crypt-OpenSSL-DSA/pkg-plist22
-rw-r--r--security/p5-Crypt-OpenSSL-RSA/Makefile3
-rw-r--r--security/p5-Crypt-OpenSSL-RSA/pkg-plist54
-rw-r--r--security/p5-Crypt-OpenSSL-Random/Makefile1
-rw-r--r--security/p5-Crypt-OpenSSL-Random/pkg-plist20
-rw-r--r--security/p5-Crypt-PGPSimple/Makefile1
-rw-r--r--security/p5-Crypt-PGPSimple/pkg-plist10
-rw-r--r--security/p5-Crypt-PassGen/Makefile3
-rw-r--r--security/p5-Crypt-PassGen/pkg-plist12
-rw-r--r--security/p5-Crypt-PasswdMD5/pkg-plist8
-rw-r--r--security/p5-Crypt-Primes/Makefile3
-rw-r--r--security/p5-Crypt-RC4/Makefile1
-rw-r--r--security/p5-Crypt-RC4/pkg-plist10
-rw-r--r--security/p5-Crypt-RC5/Makefile1
-rw-r--r--security/p5-Crypt-RC5/pkg-plist10
-rw-r--r--security/p5-Crypt-RC6/Makefile1
-rw-r--r--security/p5-Crypt-RC6/pkg-plist14
-rw-r--r--security/p5-Crypt-RIPEMD160/Makefile1
-rw-r--r--security/p5-Crypt-RIPEMD160/pkg-plist20
-rw-r--r--security/p5-Crypt-RSA/Makefile3
-rw-r--r--security/p5-Crypt-RSA/pkg-plist44
-rw-r--r--security/p5-Crypt-RandPasswd/Makefile2
-rw-r--r--security/p5-Crypt-RandPasswd/pkg-plist10
-rw-r--r--security/p5-Crypt-Random/Makefile3
-rw-r--r--security/p5-Crypt-Random/pkg-plist26
-rw-r--r--security/p5-Crypt-Rijndael/pkg-plist14
-rw-r--r--security/p5-Crypt-SSLeay/Makefile7
-rw-r--r--security/p5-Crypt-SSLeay/pkg-plist30
-rw-r--r--security/p5-Crypt-Serpent/Makefile1
-rw-r--r--security/p5-Crypt-Serpent/pkg-plist14
-rw-r--r--security/p5-Crypt-Solitaire/Makefile1
-rw-r--r--security/p5-Crypt-Solitaire/pkg-plist16
-rw-r--r--security/p5-Crypt-TripleDES/Makefile1
-rw-r--r--security/p5-Crypt-TripleDES/pkg-plist12
-rw-r--r--security/p5-Crypt-Twofish/pkg-plist14
-rw-r--r--security/p5-Crypt-Twofish2/Makefile1
-rw-r--r--security/p5-Crypt-Twofish2/pkg-plist14
-rw-r--r--security/p5-Crypt-UnixCrypt/Makefile3
-rw-r--r--security/p5-Crypt-UnixCrypt/pkg-plist10
-rw-r--r--security/p5-Digest-BubbleBabble/Makefile1
-rw-r--r--security/p5-Digest-BubbleBabble/pkg-plist2
-rw-r--r--security/p5-Digest-HMAC/Makefile5
-rw-r--r--security/p5-Digest-HMAC/pkg-plist14
-rw-r--r--security/p5-Digest-MD2/Makefile1
-rw-r--r--security/p5-Digest-MD2/pkg-plist14
-rw-r--r--security/p5-Digest-MD4/Makefile1
-rw-r--r--security/p5-Digest-Nilsimsa/Makefile1
-rw-r--r--security/p5-File-Scan/Makefile1
-rw-r--r--security/p5-File-Scan/pkg-plist10
-rw-r--r--security/p5-Filter-CBC/Makefile6
-rw-r--r--security/p5-Filter-CBC/pkg-plist12
-rw-r--r--security/p5-GnuPG-Interface/Makefile3
-rw-r--r--security/p5-IO-Socket-SSL/Makefile3
-rw-r--r--security/p5-IO-Socket-SSL/pkg-plist14
-rw-r--r--security/p5-MD5/Makefile3
-rw-r--r--security/p5-MD5/pkg-plist6
-rw-r--r--security/p5-Net-SSLeay/Makefile1
-rw-r--r--security/p5-Net-SSLeay/pkg-plist98
-rw-r--r--security/p5-PGP-Sign/Makefile1
-rw-r--r--security/p5-PGP-Sign/pkg-plist10
-rw-r--r--security/p5-PGP/Makefile1
-rw-r--r--security/p5-PGP/pkg-plist10
-rw-r--r--security/p5-SHA/Makefile1
-rw-r--r--security/p5-SHA/pkg-plist16
-rw-r--r--security/p5-Safe-Hole/Makefile1
-rw-r--r--security/p5-Safe-Hole/pkg-plist12
-rw-r--r--security/p5-Tie-EncryptedHash/Makefile3
-rw-r--r--security/saferpay/pkg-plist.p540
-rw-r--r--security/smtpscan/Makefile6
-rw-r--r--security/snortsnarf/Makefile2
-rw-r--r--security/swatch/Makefile2
-rw-r--r--security/swatch/pkg-plist4
-rw-r--r--security/tinyca/Makefile2
111 files changed, 572 insertions, 619 deletions
diff --git a/security/amavis-perl/Makefile b/security/amavis-perl/Makefile
index b7c3bd780977..d812aa0ab468 100644
--- a/security/amavis-perl/Makefile
+++ b/security/amavis-perl/Makefile
@@ -19,16 +19,16 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/uvscan:${PORTSDIR}/security/vscan \
${LOCALBASE}/bin/unrar:${PORTSDIR}/archivers/unrar \
${LOCALBASE}/bin/zoo:${PORTSDIR}/archivers/zoo \
${LOCALBASE}/bin/arc:${PORTSDIR}/archivers/arc \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/IO/AtomicFile.pm:${PORTSDIR}/devel/p5-IO-stringy \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/MIME/Body.pm:${PORTSDIR}/mail/p5-MIME-Tools \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Convert/UUlib.pm:${PORTSDIR}/converters/p5-Convert-UUlib \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip
+ ${SITE_PERL}/IO/AtomicFile.pm:${PORTSDIR}/devel/p5-IO-stringy \
+ ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
+ ${SITE_PERL}/MIME/Body.pm:${PORTSDIR}/mail/p5-MIME-Tools \
+ ${SITE_PERL}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools \
+ ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
+ ${SITE_PERL}/${PERL_ARCH}/Convert/UUlib.pm:${PORTSDIR}/converters/p5-Convert-UUlib \
+ ${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \
+ ${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
+ ${SITE_PERL}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog \
+ ${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip
.if !exists(/usr/bin/bzip2)
BUILD_DEPENDS+= bunzip2:${PORTSDIR}/archivers/bzip2
.endif
diff --git a/security/cp2fwb/Makefile b/security/cp2fwb/Makefile
index 3593376ade6d..c50128f785ea 100644
--- a/security/cp2fwb/Makefile
+++ b/security/cp2fwb/Makefile
@@ -15,8 +15,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Checkpoint FW1 to Firewall Builder ruleset converter
-RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/Writer.pm:${PORTSDIR}/textproc/p5-XML-Writer \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
+RUN_DEPENDS= ${SITE_PERL}/XML/Writer.pm:${PORTSDIR}/textproc/p5-XML-Writer \
+ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
USE_PERL5= yes
NO_BUILD= yes
diff --git a/security/p5-Authen-Krb5/pkg-plist b/security/p5-Authen-Krb5/pkg-plist
index 35fc34195b4d..e18648a1dcc3 100644
--- a/security/p5-Authen-Krb5/pkg-plist
+++ b/security/p5-Authen-Krb5/pkg-plist
@@ -1,6 +1,6 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Authen/Krb5.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/Krb5/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/Krb5/Krb5.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/Krb5/Krb5.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/Krb5/autosplit.ix
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/Krb5
+%%SITE_PERL%%/%%PERL_ARCH%%/Authen/Krb5.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Krb5/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Krb5/Krb5.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Krb5/Krb5.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Krb5/autosplit.ix
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Krb5
diff --git a/security/p5-Authen-PAM/pkg-plist b/security/p5-Authen-PAM/pkg-plist
index f394bc6404ec..1d6535116b2f 100644
--- a/security/p5-Authen-PAM/pkg-plist
+++ b/security/p5-Authen-PAM/pkg-plist
@@ -1,8 +1,8 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Authen/FAQ.pod
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Authen/PAM.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/PAM/PAM.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/PAM/PAM.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/PAM/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/PAM
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Authen 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Authen/FAQ.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/Authen/PAM.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/PAM/PAM.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/PAM/PAM.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/PAM/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/PAM
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Authen 2>/dev/null || true
diff --git a/security/p5-Authen-Smb/pkg-plist b/security/p5-Authen-Smb/pkg-plist
index fb6d5048c40d..67b447cd7a27 100644
--- a/security/p5-Authen-Smb/pkg-plist
+++ b/security/p5-Authen-Smb/pkg-plist
@@ -1,8 +1,8 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Authen/Smb.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/Smb/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/Smb/autosplit.ix
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/Smb/Smb.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/Smb/Smb.so
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/Smb
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Authen 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Authen/Smb.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Smb/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Smb/autosplit.ix
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Smb/Smb.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Smb/Smb.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Smb
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Authen 2>/dev/null || true
diff --git a/security/p5-Authen-TacacsPlus/Makefile b/security/p5-Authen-TacacsPlus/Makefile
index 962bca85cc78..b3585c7bca30 100644
--- a/security/p5-Authen-TacacsPlus/Makefile
+++ b/security/p5-Authen-TacacsPlus/Makefile
@@ -18,7 +18,6 @@ COMMENT= A perl module that provides authentication using a tacacs+ server
PERL_CONFIGURE= yes
MAKE_ENV+= CCFLAGS="${CFLAGS}"
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Authen::TacacsPlus.3
pre-build:
diff --git a/security/p5-Authen-TacacsPlus/pkg-plist b/security/p5-Authen-TacacsPlus/pkg-plist
index a3e351b9e59b..0140da6a61cf 100644
--- a/security/p5-Authen-TacacsPlus/pkg-plist
+++ b/security/p5-Authen-TacacsPlus/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Authen/TacacsPlus.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/TacacsPlus/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/TacacsPlus/TacacsPlus.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/TacacsPlus/TacacsPlus.so
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/TacacsPlus
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Authen 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Authen/TacacsPlus.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/TacacsPlus/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/TacacsPlus/TacacsPlus.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/TacacsPlus/TacacsPlus.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/TacacsPlus
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Authen 2>/dev/null || true
diff --git a/security/p5-Authen-Ticket/Makefile b/security/p5-Authen-Ticket/Makefile
index 71a84982a8a8..f429ee9b2fe6 100644
--- a/security/p5-Authen-Ticket/Makefile
+++ b/security/p5-Authen-Ticket/Makefile
@@ -17,6 +17,5 @@ COMMENT= Perl module providing the framework for implementing a ticketing system
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-Authen-Ticket/pkg-plist b/security/p5-Authen-Ticket/pkg-plist
index c96c9b373fe2..87b02d1b9624 100644
--- a/security/p5-Authen-Ticket/pkg-plist
+++ b/security/p5-Authen-Ticket/pkg-plist
@@ -2,12 +2,12 @@ lib/perl5/%%PERL_VERSION%%/man/man3/Authen::Ticket.3
lib/perl5/%%PERL_VERSION%%/man/man3/Authen::Ticket::Client.3
lib/perl5/%%PERL_VERSION%%/man/man3/Authen::Ticket::Server.3
lib/perl5/%%PERL_VERSION%%/man/man3/Authen::Ticket::Signature.3
-lib/perl5/site_perl/%%PERL_VER%%/Authen/Ticket.pm
-lib/perl5/site_perl/%%PERL_VER%%/Authen/Ticket/Client.pm
-lib/perl5/site_perl/%%PERL_VER%%/Authen/Ticket/Server.pm
-lib/perl5/site_perl/%%PERL_VER%%/Authen/Ticket/Signature.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/Ticket/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/Ticket
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Authen/Ticket
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Authen 2>/dev/null || true
+%%SITE_PERL%%/Authen/Ticket.pm
+%%SITE_PERL%%/Authen/Ticket/Client.pm
+%%SITE_PERL%%/Authen/Ticket/Server.pm
+%%SITE_PERL%%/Authen/Ticket/Signature.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Ticket/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Ticket
+@dirrm %%SITE_PERL%%/Authen/Ticket
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Authen 2>/dev/null || true
diff --git a/security/p5-Crypt-Blowfish/Makefile b/security/p5-Crypt-Blowfish/Makefile
index 7a775e4e7291..7e38815d4ece 100644
--- a/security/p5-Crypt-Blowfish/Makefile
+++ b/security/p5-Crypt-Blowfish/Makefile
@@ -19,6 +19,5 @@ PERL_CONFIGURE= yes
MAN3= Crypt::Blowfish.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-Blowfish/pkg-plist b/security/p5-Crypt-Blowfish/pkg-plist
index 2db6023eade1..e7a7883aa25d 100644
--- a/security/p5-Crypt-Blowfish/pkg-plist
+++ b/security/p5-Crypt-Blowfish/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/Blowfish.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Blowfish/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Blowfish/Blowfish.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Blowfish/Blowfish.so
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Blowfish
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/Blowfish.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Blowfish/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Blowfish/Blowfish.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Blowfish/Blowfish.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Blowfish
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-Blowfish_PP/Makefile b/security/p5-Crypt-Blowfish_PP/Makefile
index 9ee72285ac64..0c0c36f8d715 100644
--- a/security/p5-Crypt-Blowfish_PP/Makefile
+++ b/security/p5-Crypt-Blowfish_PP/Makefile
@@ -18,6 +18,5 @@ COMMENT= Blowfish encryption algorithm implemented purely in Perl
PERL_CONFIGURE= yes
MAN3= Crypt::Blowfish_PP.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-Blowfish_PP/pkg-plist b/security/p5-Crypt-Blowfish_PP/pkg-plist
index 95c0078786ad..59bb9f1990f9 100644
--- a/security/p5-Crypt-Blowfish_PP/pkg-plist
+++ b/security/p5-Crypt-Blowfish_PP/pkg-plist
@@ -1,6 +1,6 @@
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/Blowfish_PP.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Blowfish_PP/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Blowfish_PP
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/Crypt/Blowfish_PP.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Blowfish_PP/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Blowfish_PP
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-CBC/Makefile b/security/p5-Crypt-CBC/Makefile
index 1b90eca61278..838e2190cdd7 100644
--- a/security/p5-Crypt-CBC/Makefile
+++ b/security/p5-Crypt-CBC/Makefile
@@ -22,7 +22,7 @@ MAN3= Crypt::CBC.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
-RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${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/security/p5-Crypt-CBC/pkg-plist b/security/p5-Crypt-CBC/pkg-plist
index e45a02b30e70..fefc24052297 100644
--- a/security/p5-Crypt-CBC/pkg-plist
+++ b/security/p5-Crypt-CBC/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/CBC.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/CBC/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/CBC
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/Crypt/CBC.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/CBC/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/CBC
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-CipherSaber/Makefile b/security/p5-Crypt-CipherSaber/Makefile
index 571ba4b17b98..4da29e6a61f7 100644
--- a/security/p5-Crypt-CipherSaber/Makefile
+++ b/security/p5-Crypt-CipherSaber/Makefile
@@ -17,7 +17,6 @@ COMMENT= Perl module providing an OO interface to CipherSaber encryption
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::CipherSaber.3
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-CipherSaber/pkg-plist b/security/p5-Crypt-CipherSaber/pkg-plist
index a2c3ba7ed099..45c0dc1c90ec 100644
--- a/security/p5-Crypt-CipherSaber/pkg-plist
+++ b/security/p5-Crypt-CipherSaber/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/CipherSaber.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/CipherSaber/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/CipherSaber
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/Crypt/CipherSaber.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/CipherSaber/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/CipherSaber
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-Cracklib/Makefile b/security/p5-Crypt-Cracklib/Makefile
index bc8311738655..35d112558448 100644
--- a/security/p5-Crypt-Cracklib/Makefile
+++ b/security/p5-Crypt-Cracklib/Makefile
@@ -18,11 +18,10 @@ COMMENT= Perl interface to Alec Muffet's cracklib library
BUILD_DEPENDS= ${LOCALBASE}/lib/libcrack.a:${PORTSDIR}/security/cracklib
RUN_DEPENDS= ${BUILD_DEPENDS}
-SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+SITE_PERL= ${SITE_PERL}
PERL_CONFIGURE= yes
CONFIGURE_ARGS+=INC="-I${LOCALBASE}/include"
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::Cracklib.3
post-patch:
diff --git a/security/p5-Crypt-Cracklib/pkg-plist b/security/p5-Crypt-Cracklib/pkg-plist
index b5b312c6f8c8..9f9abbdb3788 100644
--- a/security/p5-Crypt-Cracklib/pkg-plist
+++ b/security/p5-Crypt-Cracklib/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/Cracklib.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Cracklib/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Cracklib/Cracklib.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Cracklib/Cracklib.so
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Cracklib
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/Cracklib.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Cracklib/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Cracklib/Cracklib.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Cracklib/Cracklib.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Cracklib
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-Cryptix/Makefile b/security/p5-Crypt-Cryptix/Makefile
index a984af011835..0c60fc3c1ab6 100644
--- a/security/p5-Crypt-Cryptix/Makefile
+++ b/security/p5-Crypt-Cryptix/Makefile
@@ -23,6 +23,5 @@ MAN3= Crypt::DES.3 \
Math::BigInteger.3 \
Math::TrulyRandom.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-Cryptix/pkg-plist b/security/p5-Crypt-Cryptix/pkg-plist
index 8adb8d1e9898..e46166dcc412 100644
--- a/security/p5-Crypt-Cryptix/pkg-plist
+++ b/security/p5-Crypt-Cryptix/pkg-plist
@@ -1,88 +1,88 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/TrulyRandom/TrulyRandom.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/TrulyRandom/TrulyRandom.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/PRSG/PRSG.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/PRSG/PRSG.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/BigInteger/BigInteger.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/BigInteger/BigInteger.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/SHA0/SHA0.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/SHA0/SHA0.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/SHA/SHA.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/SHA/SHA.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/MD5/MD5.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/MD5/MD5.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/IDEA/IDEA.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/IDEA/IDEA.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/DES/DES.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/DES/DES.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Blowfish/Blowfish.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Blowfish/Blowfish.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Cryptix/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Stream/StringInput.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Stream/DataEncoding.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Stream/DataInput.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Stream/DataOutput.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Stream/Streamable.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Stream/FileOutput.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Stream/FileInput.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Stream/IO.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Stream/StringOutput.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/Random.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/PseudoRandomStream.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/TestPrime.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/PRSG.pod
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/BigInteger.pod
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/BigInteger.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/MPI.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/PRSG.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/TrulyRandom.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/TrulyRandom.pod
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/RSAKey.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/RSAPublicKey.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/HashMD5.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/DES.pod
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/ECB.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/StreamCipher.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/MD5.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/IDEA.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/CFB.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/HashSHA.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/HashSHA0.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/Blowfish.pod
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/CSRandomStream.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/SHA0.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/MessageHash.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/DES.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/MessageDigest.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/SHA.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/RSAKeyGen.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/IDEA.pod
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/BlockCipher.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/DES3EDE.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/Blowfish.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/CBC.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/RSASecretKeyPair.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/DSA/PublicKey.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/DSA/SecretKey.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/DSA/KeyGen.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/DSA/NOTES
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/ElGamal/NOTES
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/ElGamal/KeyGen.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/ElGamal/PublicKey.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/ElGamal/SecretKey.pm
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/TrulyRandom
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/PRSG
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/BigInteger
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Cryptix
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/SHA0
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/SHA
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/MD5
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/IDEA
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/DES
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Blowfish
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Stream
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/ElGamal
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/DSA
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/TrulyRandom/TrulyRandom.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/TrulyRandom/TrulyRandom.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/PRSG/PRSG.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/PRSG/PRSG.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BigInteger/BigInteger.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BigInteger/BigInteger.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/SHA0/SHA0.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/SHA0/SHA0.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/SHA/SHA.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/SHA/SHA.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/MD5/MD5.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/MD5/MD5.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/IDEA/IDEA.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/IDEA/IDEA.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DES/DES.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DES/DES.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Blowfish/Blowfish.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Blowfish/Blowfish.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cryptix/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/Stream/StringInput.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Stream/DataEncoding.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Stream/DataInput.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Stream/DataOutput.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Stream/Streamable.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Stream/FileOutput.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Stream/FileInput.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Stream/IO.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Stream/StringOutput.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Math/Random.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Math/PseudoRandomStream.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Math/TestPrime.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Math/PRSG.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/Math/BigInteger.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/Math/BigInteger.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Math/MPI.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Math/PRSG.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Math/TrulyRandom.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Math/TrulyRandom.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/RSAKey.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/RSAPublicKey.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/HashMD5.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/DES.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/ECB.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/StreamCipher.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/MD5.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/IDEA.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/CFB.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/HashSHA.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/HashSHA0.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/Blowfish.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/CSRandomStream.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/SHA0.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/MessageHash.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/DES.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/MessageDigest.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/SHA.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/RSAKeyGen.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/IDEA.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/BlockCipher.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/DES3EDE.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/Blowfish.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/CBC.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/RSASecretKeyPair.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/DSA/PublicKey.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/DSA/SecretKey.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/DSA/KeyGen.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/DSA/NOTES
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/ElGamal/NOTES
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/ElGamal/KeyGen.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/ElGamal/PublicKey.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/ElGamal/SecretKey.pm
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/TrulyRandom
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/PRSG
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BigInteger
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cryptix
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/SHA0
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/SHA
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/MD5
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/IDEA
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DES
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Blowfish
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Stream
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Math
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/ElGamal
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/DSA
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt
diff --git a/security/p5-Crypt-DES/Makefile b/security/p5-Crypt-DES/Makefile
index 144e4af8dc19..5a63e46740c5 100644
--- a/security/p5-Crypt-DES/Makefile
+++ b/security/p5-Crypt-DES/Makefile
@@ -17,7 +17,6 @@ COMMENT= Perl5 interface to DES block cipher
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::DES.3
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-DES/pkg-plist b/security/p5-Crypt-DES/pkg-plist
index 3edef572b78d..bf40e2183b1c 100644
--- a/security/p5-Crypt-DES/pkg-plist
+++ b/security/p5-Crypt-DES/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/DES.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/DES/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/DES/DES.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/DES/DES.so
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/DES
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2> /dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt 2> /dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/DES.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DES/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DES/DES.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DES/DES.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DES
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2> /dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt 2> /dev/null || true
diff --git a/security/p5-Crypt-DES_EDE3/Makefile b/security/p5-Crypt-DES_EDE3/Makefile
index c3e15f838bc1..a0ce10f9ba38 100644
--- a/security/p5-Crypt-DES_EDE3/Makefile
+++ b/security/p5-Crypt-DES_EDE3/Makefile
@@ -15,12 +15,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= jesper@FreeBSD.org
COMMENT= Perl5 interface to a implementing 3-DES EDE encryption and decryption
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::DES_EDE3.3
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-DES_EDE3/pkg-plist b/security/p5-Crypt-DES_EDE3/pkg-plist
index 79686ec84530..fc7de7edbb79 100644
--- a/security/p5-Crypt-DES_EDE3/pkg-plist
+++ b/security/p5-Crypt-DES_EDE3/pkg-plist
@@ -1 +1 @@
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/DES_EDE3.pm
+%%SITE_PERL%%/Crypt/DES_EDE3.pm
diff --git a/security/p5-Crypt-DH/Makefile b/security/p5-Crypt-DH/Makefile
index 8fe8d281975e..64a5b4753509 100644
--- a/security/p5-Crypt-DH/Makefile
+++ b/security/p5-Crypt-DH/Makefile
@@ -15,13 +15,12 @@ PKGNAMEPREFIX= p5-
MAINTAINER= jesper@FreeBSD.org
COMMENT= Perl5 interface to a Diffie-Hellman key exchange system
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Math/Pari.pm:${PORTSDIR}/math/p5-Math-Pari \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Crypt/Random.pm:${PORTSDIR}/security/p5-Crypt-Random
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Math/Pari.pm:${PORTSDIR}/math/p5-Math-Pari \
+ ${SITE_PERL}/Crypt/Random.pm:${PORTSDIR}/security/p5-Crypt-Random
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::DH.3
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-DH/pkg-plist b/security/p5-Crypt-DH/pkg-plist
index dd2727e9a53c..ddc9a76e48c2 100644
--- a/security/p5-Crypt-DH/pkg-plist
+++ b/security/p5-Crypt-DH/pkg-plist
@@ -1 +1 @@
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/DH.pm
+%%SITE_PERL%%/Crypt/DH.pm
diff --git a/security/p5-Crypt-DSA/Makefile b/security/p5-Crypt-DSA/Makefile
index 583f4518c685..1fd63e2c1a0d 100644
--- a/security/p5-Crypt-DSA/Makefile
+++ b/security/p5-Crypt-DSA/Makefile
@@ -15,7 +15,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= mharo@FreeBSD.org
COMMENT= DSA signature and key generation
-PERLBASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+PERLBASE= ${SITE_PERL}
BUILD_DEPENDS= ${PERLBASE}/Crypt/Random.pm:${PORTSDIR}/security/p5-Crypt-Random \
${PERLBASE}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
@@ -25,7 +25,6 @@ BUILD_DEPENDS= ${PERLBASE}/Crypt/Random.pm:${PORTSDIR}/security/p5-Crypt-Random
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::DSA::Key::SSH2.3 Crypt::DSA.3 Crypt::DSA::Key.3 \
Crypt::DSA::Key::PEM.3 Crypt::DSA::Signature.3 \
Crypt::DSA::KeyChain.3 Crypt::DSA::Util.3
diff --git a/security/p5-Crypt-DSA/pkg-plist b/security/p5-Crypt-DSA/pkg-plist
index c1d778730033..a5c46891aa3e 100644
--- a/security/p5-Crypt-DSA/pkg-plist
+++ b/security/p5-Crypt-DSA/pkg-plist
@@ -1,11 +1,11 @@
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/DSA/Key/SSH2.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/DSA/Key/PEM.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/DSA/Key.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/DSA/Signature.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/DSA/KeyChain.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/DSA/Util.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/DSA.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/DSA/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/DSA/Key
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/DSA
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/DSA
+%%SITE_PERL%%/Crypt/DSA/Key/SSH2.pm
+%%SITE_PERL%%/Crypt/DSA/Key/PEM.pm
+%%SITE_PERL%%/Crypt/DSA/Key.pm
+%%SITE_PERL%%/Crypt/DSA/Signature.pm
+%%SITE_PERL%%/Crypt/DSA/KeyChain.pm
+%%SITE_PERL%%/Crypt/DSA/Util.pm
+%%SITE_PERL%%/Crypt/DSA.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DSA/.packlist
+@dirrm %%SITE_PERL%%/Crypt/DSA/Key
+@dirrm %%SITE_PERL%%/Crypt/DSA
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DSA
diff --git a/security/p5-Crypt-ECB/Makefile b/security/p5-Crypt-ECB/Makefile
index 26baad4ec6fb..a406f9474412 100644
--- a/security/p5-Crypt-ECB/Makefile
+++ b/security/p5-Crypt-ECB/Makefile
@@ -20,7 +20,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/-2//}
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::ECB.3
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-ECB/pkg-plist b/security/p5-Crypt-ECB/pkg-plist
index e5326fa0d08a..9de44d23c92e 100644
--- a/security/p5-Crypt-ECB/pkg-plist
+++ b/security/p5-Crypt-ECB/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/ECB.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/ECB/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/ECB
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/Crypt/ECB.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/ECB/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/ECB
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-HCE_SHA/Makefile b/security/p5-Crypt-HCE_SHA/Makefile
index d77e4411f295..6dae8454d88f 100644
--- a/security/p5-Crypt-HCE_SHA/Makefile
+++ b/security/p5-Crypt-HCE_SHA/Makefile
@@ -15,7 +15,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl5 interface to one way hash chaining block cipher
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@@ -25,8 +25,8 @@ MAN3= Crypt::HCE_SHA.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
-BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
-RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
.endif
.include <bsd.port.post.mk>
diff --git a/security/p5-Crypt-HCE_SHA/pkg-plist b/security/p5-Crypt-HCE_SHA/pkg-plist
index 7f3cfd6004ef..6bff173d3f9c 100644
--- a/security/p5-Crypt-HCE_SHA/pkg-plist
+++ b/security/p5-Crypt-HCE_SHA/pkg-plist
@@ -1,9 +1,9 @@
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/HCE_SHA.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/HCE_SHA/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/auto/Crypt/HCE_SHA/autosplit.ix
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/HCE_SHA
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/Crypt/HCE_SHA
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2> /dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt 2> /dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/Crypt/HCE_SHA.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/HCE_SHA/.packlist
+%%SITE_PERL%%/auto/Crypt/HCE_SHA/autosplit.ix
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/HCE_SHA
+@dirrm %%SITE_PERL%%/auto/Crypt/HCE_SHA
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2> /dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt 2> /dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-IDEA/Makefile b/security/p5-Crypt-IDEA/Makefile
index 2c7ad01b09f8..703802784388 100644
--- a/security/p5-Crypt-IDEA/Makefile
+++ b/security/p5-Crypt-IDEA/Makefile
@@ -17,7 +17,6 @@ COMMENT= Perl5 interface to IDEA block cipher
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::IDEA.3
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-IDEA/pkg-plist b/security/p5-Crypt-IDEA/pkg-plist
index f7406776a740..1fc47168387a 100644
--- a/security/p5-Crypt-IDEA/pkg-plist
+++ b/security/p5-Crypt-IDEA/pkg-plist
@@ -1,8 +1,8 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/IDEA.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/IDEA.pod
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/IDEA/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/IDEA/IDEA.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/IDEA/IDEA.so
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/IDEA
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2> /dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt 2> /dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/IDEA.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/IDEA.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/IDEA/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/IDEA/IDEA.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/IDEA/IDEA.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/IDEA
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2> /dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt 2> /dev/null || true
diff --git a/security/p5-Crypt-OTP/Makefile b/security/p5-Crypt-OTP/Makefile
index 766530faacd1..337b4164ad10 100644
--- a/security/p5-Crypt-OTP/Makefile
+++ b/security/p5-Crypt-OTP/Makefile
@@ -18,6 +18,5 @@ COMMENT= Perl implementation of the One Time Pad (hence, OTP) encryption method
PERL_CONFIGURE= yes
MAN3= Crypt::OTP.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-OTP/pkg-plist b/security/p5-Crypt-OTP/pkg-plist
index 8894a74d9a8d..639fd6c5ce84 100644
--- a/security/p5-Crypt-OTP/pkg-plist
+++ b/security/p5-Crypt-OTP/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/OTP.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OTP/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OTP
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/Crypt/OTP.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OTP/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OTP
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-OpenSSL-DSA/Makefile b/security/p5-Crypt-OpenSSL-DSA/Makefile
index b99ac219fb96..f7daf3e66db6 100644
--- a/security/p5-Crypt-OpenSSL-DSA/Makefile
+++ b/security/p5-Crypt-OpenSSL-DSA/Makefile
@@ -19,6 +19,5 @@ PERL_CONFIGURE= yes
MAN3= Crypt::OpenSSL::DSA.3 Crypt::OpenSSL::DSA::Signature.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-OpenSSL-DSA/pkg-plist b/security/p5-Crypt-OpenSSL-DSA/pkg-plist
index ab15e7d54526..a9319dfbf5fa 100644
--- a/security/p5-Crypt-OpenSSL-DSA/pkg-plist
+++ b/security/p5-Crypt-OpenSSL-DSA/pkg-plist
@@ -1,11 +1,11 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/OpenSSL/DSA.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/OpenSSL/DSA/Signature.pod
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/DSA/DSA.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/DSA/DSA.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/DSA/.packlist
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/DSA 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/OpenSSL/DSA 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/OpenSSL 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/OpenSSL/DSA.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/OpenSSL/DSA/Signature.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/DSA/DSA.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/DSA/DSA.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/DSA/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/DSA 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/OpenSSL/DSA 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/OpenSSL 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-OpenSSL-RSA/Makefile b/security/p5-Crypt-OpenSSL-RSA/Makefile
index 21defef46567..d19df66b3fde 100644
--- a/security/p5-Crypt-OpenSSL-RSA/Makefile
+++ b/security/p5-Crypt-OpenSSL-RSA/Makefile
@@ -15,13 +15,12 @@ PKGNAMEPREFIX= p5-
MAINTAINER= nork@FreeBSD.org
COMMENT= Perl5 module to RSA encode and decode strings using OpenSSL
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Crypt/OpenSSL/Random.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-Random
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Crypt/OpenSSL/Random.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-Random
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Crypt::OpenSSL::RSA.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-OpenSSL-RSA/pkg-plist b/security/p5-Crypt-OpenSSL-RSA/pkg-plist
index 7787226c9545..f10fe03ffb87 100644
--- a/security/p5-Crypt-OpenSSL-RSA/pkg-plist
+++ b/security/p5-Crypt-OpenSSL-RSA/pkg-plist
@@ -1,27 +1,27 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/OpenSSL/RSA.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/RSA.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/RSA.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/DESTROY.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/_new.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/_set_padding_mode.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/autosplit.ix
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/generate_key.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/get_key_parameters.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/get_padding_mode.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/get_private_key_string.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/get_public_key_string.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/import_random_seed.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/load_private_key.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/load_public_key.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/new.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/new_key_from_parameters.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/new_private_key.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/new_public_key.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/set_padding_mode.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/use_sslv23_padding.al
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/OpenSSL 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/OpenSSL/RSA.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/RSA.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/RSA.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/DESTROY.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/_new.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/_set_padding_mode.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/autosplit.ix
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/generate_key.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/get_key_parameters.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/get_padding_mode.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/get_private_key_string.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/get_public_key_string.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/import_random_seed.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/load_private_key.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/load_public_key.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/new.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/new_key_from_parameters.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/new_private_key.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/new_public_key.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/set_padding_mode.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA/use_sslv23_padding.al
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/RSA 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/OpenSSL 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-OpenSSL-Random/Makefile b/security/p5-Crypt-OpenSSL-Random/Makefile
index 26f0a2a268c3..5a129752c632 100644
--- a/security/p5-Crypt-OpenSSL-Random/Makefile
+++ b/security/p5-Crypt-OpenSSL-Random/Makefile
@@ -19,6 +19,5 @@ PERL_CONFIGURE= yes
MAN3= Crypt::OpenSSL::Random.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-OpenSSL-Random/pkg-plist b/security/p5-Crypt-OpenSSL-Random/pkg-plist
index 110caabb12a3..61d813d6a70d 100644
--- a/security/p5-Crypt-OpenSSL-Random/pkg-plist
+++ b/security/p5-Crypt-OpenSSL-Random/pkg-plist
@@ -1,10 +1,10 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/OpenSSL/Random.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/Random/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/Random/Random.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/Random/Random.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/Random/autosplit.ix
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/OpenSSL 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/Random 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/OpenSSL/Random.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/Random/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/Random/Random.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/Random/Random.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/Random/autosplit.ix
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/OpenSSL 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL/Random 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/OpenSSL 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-PGPSimple/Makefile b/security/p5-Crypt-PGPSimple/Makefile
index 2274a70b829c..2258146098ab 100644
--- a/security/p5-Crypt-PGPSimple/Makefile
+++ b/security/p5-Crypt-PGPSimple/Makefile
@@ -20,6 +20,5 @@ RUN_DEPENDS= ${LOCALBASE}/bin/pgp:${PORTSDIR}/security/pgp
PERL_CONFIGURE= yes
MAN3= Crypt::PGPSimple.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-PGPSimple/pkg-plist b/security/p5-Crypt-PGPSimple/pkg-plist
index 8f930faf73f9..94256c17c920 100644
--- a/security/p5-Crypt-PGPSimple/pkg-plist
+++ b/security/p5-Crypt-PGPSimple/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/PGPSimple/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/PGPSimple.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/PGPSimple
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/PGPSimple/.packlist
+%%SITE_PERL%%/Crypt/PGPSimple.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/PGPSimple
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-PassGen/Makefile b/security/p5-Crypt-PassGen/Makefile
index ae823dd622ad..da10d31d3a24 100644
--- a/security/p5-Crypt-PassGen/Makefile
+++ b/security/p5-Crypt-PassGen/Makefile
@@ -15,12 +15,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Crypt::PassGen - Generate a random password that looks like a real word
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Crypt::PassGen.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-PassGen/pkg-plist b/security/p5-Crypt-PassGen/pkg-plist
index 1219a265e71a..032d181adc56 100644
--- a/security/p5-Crypt-PassGen/pkg-plist
+++ b/security/p5-Crypt-PassGen/pkg-plist
@@ -1,6 +1,6 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/PassGen/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/PassGenWordFreq.dat
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/PassGen.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/PassGen
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/PassGen/.packlist
+%%SITE_PERL%%/Crypt/PassGenWordFreq.dat
+%%SITE_PERL%%/Crypt/PassGen.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/PassGen
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-PasswdMD5/pkg-plist b/security/p5-Crypt-PasswdMD5/pkg-plist
index 59283eb97b48..8c4cec1a92c1 100644
--- a/security/p5-Crypt-PasswdMD5/pkg-plist
+++ b/security/p5-Crypt-PasswdMD5/pkg-plist
@@ -1,4 +1,4 @@
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/PasswdMD5.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/PasswdMD5/.packlist
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+%%SITE_PERL%%/Crypt/PasswdMD5.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/PasswdMD5/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-Primes/Makefile b/security/p5-Crypt-Primes/Makefile
index 62201314ecd9..c603f5c03f9c 100644
--- a/security/p5-Crypt-Primes/Makefile
+++ b/security/p5-Crypt-Primes/Makefile
@@ -15,14 +15,13 @@ PKGNAMEPREFIX= p5-
MAINTAINER= mharo@FreeBSD.org
COMMENT= Provable Prime Number Generator suitable for Cryptographic Applications
-PERLBASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+PERLBASE= ${SITE_PERL}
BUILD_DEPENDS= ${PERLBASE}/Crypt/Random.pm:${PORTSDIR}/security/p5-Crypt-Random \
${PERLBASE}/${PERL_ARCH}/Math/Pari.pm:${PORTSDIR}/math/p5-Math-Pari
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::Primes.3
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-RC4/Makefile b/security/p5-Crypt-RC4/Makefile
index 066d7888f92d..ec1b5ac8d887 100644
--- a/security/p5-Crypt-RC4/Makefile
+++ b/security/p5-Crypt-RC4/Makefile
@@ -18,6 +18,5 @@ COMMENT= Perl implementation of the RC4 encryption algorithm
PERL_CONFIGURE= yes
MAN3= Crypt::RC4.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-RC4/pkg-plist b/security/p5-Crypt-RC4/pkg-plist
index 709e992f69c5..a70c3b1acec9 100644
--- a/security/p5-Crypt-RC4/pkg-plist
+++ b/security/p5-Crypt-RC4/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/RC4.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RC4/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RC4
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/Crypt/RC4.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/RC4/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/RC4
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-RC5/Makefile b/security/p5-Crypt-RC5/Makefile
index a8fd4d7e950a..40e7019651ef 100644
--- a/security/p5-Crypt-RC5/Makefile
+++ b/security/p5-Crypt-RC5/Makefile
@@ -19,6 +19,5 @@ PERL_CONFIGURE= yes
MAN3= Crypt::RC5.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-RC5/pkg-plist b/security/p5-Crypt-RC5/pkg-plist
index a8d326e25262..5b5822b99979 100644
--- a/security/p5-Crypt-RC5/pkg-plist
+++ b/security/p5-Crypt-RC5/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/RC5.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RC5/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RC5
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/Crypt/RC5.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/RC5/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/RC5
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-RC6/Makefile b/security/p5-Crypt-RC6/Makefile
index 5b69602c5884..81323cdeb74b 100644
--- a/security/p5-Crypt-RC6/Makefile
+++ b/security/p5-Crypt-RC6/Makefile
@@ -21,7 +21,6 @@ PERL_CONFIGURE= yes
MAN3= Crypt::RC6.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
do-patch:
${REINPLACE_CMD} -e 's/ //' ${WRKSRC}/RC6.pm
diff --git a/security/p5-Crypt-RC6/pkg-plist b/security/p5-Crypt-RC6/pkg-plist
index b3fb7cbf2eb3..c3441f96c83e 100644
--- a/security/p5-Crypt-RC6/pkg-plist
+++ b/security/p5-Crypt-RC6/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/RC6.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RC6/RC6.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RC6/RC6.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RC6/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RC6
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/RC6.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/RC6/RC6.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/RC6/RC6.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/RC6/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/RC6
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-RIPEMD160/Makefile b/security/p5-Crypt-RIPEMD160/Makefile
index 6e76df513b4e..aa3e34349ecb 100644
--- a/security/p5-Crypt-RIPEMD160/Makefile
+++ b/security/p5-Crypt-RIPEMD160/Makefile
@@ -17,7 +17,6 @@ COMMENT= RIPEMD-160 message digest algorithm
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::RIPEMD160::MAC.3 Crypt::RIPEMD160.3
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-RIPEMD160/pkg-plist b/security/p5-Crypt-RIPEMD160/pkg-plist
index afa248db53cd..0560b276a2e4 100644
--- a/security/p5-Crypt-RIPEMD160/pkg-plist
+++ b/security/p5-Crypt-RIPEMD160/pkg-plist
@@ -1,10 +1,10 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RIPEMD160/RIPEMD160.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RIPEMD160/RIPEMD160.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RIPEMD160/autosplit.ix
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RIPEMD160/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/RIPEMD160.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/RIPEMD160/MAC.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RIPEMD160
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/RIPEMD160
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/RIPEMD160/RIPEMD160.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/RIPEMD160/RIPEMD160.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/RIPEMD160/autosplit.ix
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/RIPEMD160/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/RIPEMD160.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/RIPEMD160/MAC.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/RIPEMD160
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Crypt/RIPEMD160
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-RSA/Makefile b/security/p5-Crypt-RSA/Makefile
index 4a4efbcae007..1ef5294ae978 100644
--- a/security/p5-Crypt-RSA/Makefile
+++ b/security/p5-Crypt-RSA/Makefile
@@ -15,7 +15,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= mharo@FreeBSD.org
COMMENT= RSA public-key cryptosystem
-PERLBASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+PERLBASE= ${SITE_PERL}
BUILD_DEPENDS= ${PERLBASE}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
${PERLBASE}/${PERL_ARCH}/Crypt/Blowfish.pm:${PORTSDIR}/security/p5-Crypt-Blowfish \
@@ -33,7 +33,6 @@ BUILD_DEPENDS= ${PERLBASE}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-D
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::RSA::Key.3 Crypt::RSA::SS::PSS.3 \
Crypt::RSA::Primitives.3 Crypt::RSA::ES::OAEP.3 \
Crypt::RSA.3 Crypt::RSA::SS::PKCS1v15.3 \
diff --git a/security/p5-Crypt-RSA/pkg-plist b/security/p5-Crypt-RSA/pkg-plist
index 843b9a33b039..7eb7882cc609 100644
--- a/security/p5-Crypt-RSA/pkg-plist
+++ b/security/p5-Crypt-RSA/pkg-plist
@@ -1,22 +1,22 @@
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/SS/PSS.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/SS/PKCS1v15.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/ES/OAEP.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/ES/PKCS1v15.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Primitives.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Private/SSH.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Private.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Public/SSH.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Public.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/DataFormat.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Debug.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Errorhandler.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RSA/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/ES
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Private
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Public
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/SS
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RSA
+%%SITE_PERL%%/Crypt/RSA/Key.pm
+%%SITE_PERL%%/Crypt/RSA/SS/PSS.pm
+%%SITE_PERL%%/Crypt/RSA/SS/PKCS1v15.pm
+%%SITE_PERL%%/Crypt/RSA/ES/OAEP.pm
+%%SITE_PERL%%/Crypt/RSA/ES/PKCS1v15.pm
+%%SITE_PERL%%/Crypt/RSA/Primitives.pm
+%%SITE_PERL%%/Crypt/RSA/Key/Private/SSH.pm
+%%SITE_PERL%%/Crypt/RSA/Key/Private.pm
+%%SITE_PERL%%/Crypt/RSA/Key/Public/SSH.pm
+%%SITE_PERL%%/Crypt/RSA/Key/Public.pm
+%%SITE_PERL%%/Crypt/RSA/DataFormat.pm
+%%SITE_PERL%%/Crypt/RSA/Debug.pm
+%%SITE_PERL%%/Crypt/RSA/Errorhandler.pm
+%%SITE_PERL%%/Crypt/RSA.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/RSA/.packlist
+@dirrm %%SITE_PERL%%/Crypt/RSA/ES
+@dirrm %%SITE_PERL%%/Crypt/RSA/Key/Private
+@dirrm %%SITE_PERL%%/Crypt/RSA/Key/Public
+@dirrm %%SITE_PERL%%/Crypt/RSA/Key
+@dirrm %%SITE_PERL%%/Crypt/RSA/SS
+@dirrm %%SITE_PERL%%/Crypt/RSA
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/RSA
diff --git a/security/p5-Crypt-RandPasswd/Makefile b/security/p5-Crypt-RandPasswd/Makefile
index 9c827a6d5c68..795eb8af7d19 100644
--- a/security/p5-Crypt-RandPasswd/Makefile
+++ b/security/p5-Crypt-RandPasswd/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= An implementation of the Automated Password Generator standard
PERL_CONFIGURE= yes
-SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+SITE_PERL= ${SITE_PERL}
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::RandPasswd.3
diff --git a/security/p5-Crypt-RandPasswd/pkg-plist b/security/p5-Crypt-RandPasswd/pkg-plist
index 368ae693603c..2a61d9fc57f7 100644
--- a/security/p5-Crypt-RandPasswd/pkg-plist
+++ b/security/p5-Crypt-RandPasswd/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/RandPasswd.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RandPasswd/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RandPasswd
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt
+%%SITE_PERL%%/Crypt/RandPasswd.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/RandPasswd/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/RandPasswd
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt
+@dirrm %%SITE_PERL%%/Crypt
diff --git a/security/p5-Crypt-Random/Makefile b/security/p5-Crypt-Random/Makefile
index ba3054526bbc..34506f00a7ec 100644
--- a/security/p5-Crypt-Random/Makefile
+++ b/security/p5-Crypt-Random/Makefile
@@ -15,14 +15,13 @@ PKGNAMEPREFIX= p5-
MAINTAINER= mharo@FreeBSD.org
COMMENT= Cryptographically Secure, True Random Number Generator
-PERLBASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+PERLBASE= ${SITE_PERL}
BUILD_DEPENDS= ${PERLBASE}/${PERL_ARCH}/Math/Pari.pm:${PORTSDIR}/math/p5-Math-Pari \
${PERLBASE}/Class/Loader.pm:${PORTSDIR}/devel/p5-Class-Loader
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::Random.3
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-Random/pkg-plist b/security/p5-Crypt-Random/pkg-plist
index 0fe77e1737f8..acf0ccebad69 100644
--- a/security/p5-Crypt-Random/pkg-plist
+++ b/security/p5-Crypt-Random/pkg-plist
@@ -1,14 +1,14 @@
bin/makerandom
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/Random/Provider/rand.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/Random/Provider/devurandom.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/Random/Provider/egd.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/Random/Provider/devrandom.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/Random/Provider/File.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/Random/Generator.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/Random.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Random/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/Random/Provider
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/Random
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Random
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/Crypt/Random/Provider/rand.pm
+%%SITE_PERL%%/Crypt/Random/Provider/devurandom.pm
+%%SITE_PERL%%/Crypt/Random/Provider/egd.pm
+%%SITE_PERL%%/Crypt/Random/Provider/devrandom.pm
+%%SITE_PERL%%/Crypt/Random/Provider/File.pm
+%%SITE_PERL%%/Crypt/Random/Generator.pm
+%%SITE_PERL%%/Crypt/Random.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Random/.packlist
+@dirrm %%SITE_PERL%%/Crypt/Random/Provider
+@dirrm %%SITE_PERL%%/Crypt/Random
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Random
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-Rijndael/pkg-plist b/security/p5-Crypt-Rijndael/pkg-plist
index 1d735b701ff0..cc0dc16563d7 100644
--- a/security/p5-Crypt-Rijndael/pkg-plist
+++ b/security/p5-Crypt-Rijndael/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/Rijndael.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Rijndael/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Rijndael/Rijndael.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Rijndael/Rijndael.so
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Rijndael
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/Rijndael.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Rijndael/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Rijndael/Rijndael.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Rijndael/Rijndael.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Rijndael
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-SSLeay/Makefile b/security/p5-Crypt-SSLeay/Makefile
index 6ab86cffe4b4..cf669a2ff920 100644
--- a/security/p5-Crypt-SSLeay/Makefile
+++ b/security/p5-Crypt-SSLeay/Makefile
@@ -15,21 +15,20 @@ PKGNAMEPREFIX= p5-
MAINTAINER= erwin@FreeBSD.org
COMMENT= Perl5 interface to allow p5-libwww LWP to make https connections
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI/URL.pm:${PORTSDIR}/net/p5-URI
+BUILD_DEPENDS= ${SITE_PERL}/URI/URL.pm:${PORTSDIR}/net/p5-URI
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
CONFIGURE_ARGS+= "/usr"
USE_OPENSSL= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::SSLeay.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
-BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
-RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
.endif
.include <bsd.port.post.mk>
diff --git a/security/p5-Crypt-SSLeay/pkg-plist b/security/p5-Crypt-SSLeay/pkg-plist
index a04feb9a3c3e..04e1619975df 100644
--- a/security/p5-Crypt-SSLeay/pkg-plist
+++ b/security/p5-Crypt-SSLeay/pkg-plist
@@ -1,15 +1,15 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/SSLeay.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/SSLeay/Conn.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/SSLeay/CTX.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/SSLeay/Err.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/SSLeay/MainContext.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/SSLeay/X509.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/SSL.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/SSLeay/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/SSLeay/SSLeay.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/SSLeay/SSLeay.so
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/SSLeay
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/SSLeay
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/SSLeay.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/SSLeay/Conn.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/SSLeay/CTX.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/SSLeay/Err.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/SSLeay/MainContext.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/SSLeay/X509.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/SSL.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/SSLeay/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/SSLeay/SSLeay.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/SSLeay/SSLeay.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/SSLeay
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Crypt/SSLeay
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Net 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-Serpent/Makefile b/security/p5-Crypt-Serpent/Makefile
index 99736f916e34..d268de32e399 100644
--- a/security/p5-Crypt-Serpent/Makefile
+++ b/security/p5-Crypt-Serpent/Makefile
@@ -19,6 +19,5 @@ PERL_CONFIGURE= yes
MAN3= Crypt::Serpent.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-Serpent/pkg-plist b/security/p5-Crypt-Serpent/pkg-plist
index 17f5c79924ae..03e7e9c7379d 100644
--- a/security/p5-Crypt-Serpent/pkg-plist
+++ b/security/p5-Crypt-Serpent/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/Serpent.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Serpent/Serpent.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Serpent/Serpent.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Serpent/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Serpent
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/Serpent.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Serpent/Serpent.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Serpent/Serpent.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Serpent/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Serpent
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-Solitaire/Makefile b/security/p5-Crypt-Solitaire/Makefile
index da4732e0e409..c30bf5533f34 100644
--- a/security/p5-Crypt-Solitaire/Makefile
+++ b/security/p5-Crypt-Solitaire/Makefile
@@ -18,6 +18,5 @@ COMMENT= Solitaire encryption
PERL_CONFIGURE= yes
MAN3= Crypt::Solitaire.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-Solitaire/pkg-plist b/security/p5-Crypt-Solitaire/pkg-plist
index ca65cac4688e..6cd45923cd41 100644
--- a/security/p5-Crypt-Solitaire/pkg-plist
+++ b/security/p5-Crypt-Solitaire/pkg-plist
@@ -1,8 +1,8 @@
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/Solitaire.pm
-lib/perl5/site_perl/%%PERL_VER%%/auto/Crypt/Solitaire/autosplit.ix
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Solitaire/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Solitaire
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/Crypt/Solitaire
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/Crypt/Solitaire.pm
+%%SITE_PERL%%/auto/Crypt/Solitaire/autosplit.ix
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Solitaire/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Solitaire
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@dirrm %%SITE_PERL%%/auto/Crypt/Solitaire
+@unexec rmdir %D/%%SITE_PERL%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-TripleDES/Makefile b/security/p5-Crypt-TripleDES/Makefile
index 1424dada357c..fd7dd26b151c 100644
--- a/security/p5-Crypt-TripleDES/Makefile
+++ b/security/p5-Crypt-TripleDES/Makefile
@@ -17,7 +17,6 @@ COMMENT= Perl module implementing the Triple-DES cipher
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::TripleDES.3
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-TripleDES/pkg-plist b/security/p5-Crypt-TripleDES/pkg-plist
index 77b2f78e40b5..79a3db025a97 100644
--- a/security/p5-Crypt-TripleDES/pkg-plist
+++ b/security/p5-Crypt-TripleDES/pkg-plist
@@ -1,6 +1,6 @@
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/PPDES.pm
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/TripleDES.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/TripleDES/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/TripleDES
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/Crypt/PPDES.pm
+%%SITE_PERL%%/Crypt/TripleDES.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/TripleDES/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/TripleDES
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-Twofish/pkg-plist b/security/p5-Crypt-Twofish/pkg-plist
index 5c7005470c93..347fe0fd504c 100644
--- a/security/p5-Crypt-Twofish/pkg-plist
+++ b/security/p5-Crypt-Twofish/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/Twofish.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Twofish/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Twofish/Twofish.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Twofish/Twofish.so
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Twofish
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/Twofish.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Twofish/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Twofish/Twofish.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Twofish/Twofish.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Twofish
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-Twofish2/Makefile b/security/p5-Crypt-Twofish2/Makefile
index 445e2e6ac62f..29ea2311c637 100644
--- a/security/p5-Crypt-Twofish2/Makefile
+++ b/security/p5-Crypt-Twofish2/Makefile
@@ -19,6 +19,5 @@ PERL_CONFIGURE= yes
MAN3= Crypt::Twofish2.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-Twofish2/pkg-plist b/security/p5-Crypt-Twofish2/pkg-plist
index bff8eed7a8d8..77712f93ec35 100644
--- a/security/p5-Crypt-Twofish2/pkg-plist
+++ b/security/p5-Crypt-Twofish2/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt/Twofish2.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Twofish2/Twofish2.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Twofish2/Twofish2.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Twofish2/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Twofish2
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/Twofish2.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Twofish2/Twofish2.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Twofish2/Twofish2.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Twofish2/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Twofish2
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Crypt-UnixCrypt/Makefile b/security/p5-Crypt-UnixCrypt/Makefile
index feafc5856cab..895070ad43d0 100644
--- a/security/p5-Crypt-UnixCrypt/Makefile
+++ b/security/p5-Crypt-UnixCrypt/Makefile
@@ -15,10 +15,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl module implementing crypt(3) function
-SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+SITE_PERL= ${SITE_PERL}
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::UnixCrypt.3
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-UnixCrypt/pkg-plist b/security/p5-Crypt-UnixCrypt/pkg-plist
index 15b19cbb4f48..302e0f58561d 100644
--- a/security/p5-Crypt-UnixCrypt/pkg-plist
+++ b/security/p5-Crypt-UnixCrypt/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/Crypt/UnixCrypt.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/UnixCrypt/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/UnixCrypt
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true
+%%SITE_PERL%%/Crypt/UnixCrypt.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/UnixCrypt/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/UnixCrypt
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Crypt 2>/dev/null || true
diff --git a/security/p5-Digest-BubbleBabble/Makefile b/security/p5-Digest-BubbleBabble/Makefile
index 2e0e90a43e9f..13fa80016842 100644
--- a/security/p5-Digest-BubbleBabble/Makefile
+++ b/security/p5-Digest-BubbleBabble/Makefile
@@ -17,7 +17,6 @@ COMMENT= Perl5 interface to a fingerprint in "bubble babble" format
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Digest::BubbleBabble.3
.include <bsd.port.mk>
diff --git a/security/p5-Digest-BubbleBabble/pkg-plist b/security/p5-Digest-BubbleBabble/pkg-plist
index ae4ea50af9b7..b5cccaadd591 100644
--- a/security/p5-Digest-BubbleBabble/pkg-plist
+++ b/security/p5-Digest-BubbleBabble/pkg-plist
@@ -1 +1 @@
-lib/perl5/site_perl/%%PERL_VER%%/Digest/BubbleBabble.pm
+%%SITE_PERL%%/Digest/BubbleBabble.pm
diff --git a/security/p5-Digest-HMAC/Makefile b/security/p5-Digest-HMAC/Makefile
index 3f766540fa32..99e3558aaf6e 100644
--- a/security/p5-Digest-HMAC/Makefile
+++ b/security/p5-Digest-HMAC/Makefile
@@ -15,12 +15,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= nork@FreeBSD.org
COMMENT= Perl5 interface to HMAC Message-Digest Algorithms
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Digest::HMAC.3 \
Digest::HMAC_MD5.3 \
Digest::HMAC_SHA1.3
@@ -28,7 +27,7 @@ MAN3= Digest::HMAC.3 \
.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
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
.endif
.include <bsd.port.post.mk>
diff --git a/security/p5-Digest-HMAC/pkg-plist b/security/p5-Digest-HMAC/pkg-plist
index c373881c8779..350bd43d71ce 100644
--- a/security/p5-Digest-HMAC/pkg-plist
+++ b/security/p5-Digest-HMAC/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/Digest/HMAC.pm
-lib/perl5/site_perl/%%PERL_VER%%/Digest/HMAC_MD5.pm
-lib/perl5/site_perl/%%PERL_VER%%/Digest/HMAC_SHA1.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Digest/HMAC/.packlist
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Digest/HMAC 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Digest 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Digest 2>/dev/null || true
+%%SITE_PERL%%/Digest/HMAC.pm
+%%SITE_PERL%%/Digest/HMAC_MD5.pm
+%%SITE_PERL%%/Digest/HMAC_SHA1.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/HMAC/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/HMAC 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Digest 2>/dev/null || true
diff --git a/security/p5-Digest-MD2/Makefile b/security/p5-Digest-MD2/Makefile
index 22eba3a6edd4..1a9cce6dea5f 100644
--- a/security/p5-Digest-MD2/Makefile
+++ b/security/p5-Digest-MD2/Makefile
@@ -17,7 +17,6 @@ COMMENT= Perl5 interface to the MD2 message digest algorithm
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Digest::MD2.3
.include <bsd.port.mk>
diff --git a/security/p5-Digest-MD2/pkg-plist b/security/p5-Digest-MD2/pkg-plist
index 4d6705e8ce83..2f42d58fd055 100644
--- a/security/p5-Digest-MD2/pkg-plist
+++ b/security/p5-Digest-MD2/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Digest/MD2.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Digest/MD2/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Digest/MD2/MD2.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Digest/MD2/MD2.bs
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Digest/MD2
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Digest 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Digest 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Digest/MD2.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/MD2/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/MD2/MD2.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/MD2/MD2.bs
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/MD2
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Digest 2>/dev/null || true
diff --git a/security/p5-Digest-MD4/Makefile b/security/p5-Digest-MD4/Makefile
index 0641b80e6c69..66e4d21099ee 100644
--- a/security/p5-Digest-MD4/Makefile
+++ b/security/p5-Digest-MD4/Makefile
@@ -18,7 +18,6 @@ COMMENT= Perl5 interface to the MD4 message digest algorithm
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Digest::MD4.3
.include <bsd.port.mk>
diff --git a/security/p5-Digest-Nilsimsa/Makefile b/security/p5-Digest-Nilsimsa/Makefile
index 7cffc0acb6f2..1357ab168dc3 100644
--- a/security/p5-Digest-Nilsimsa/Makefile
+++ b/security/p5-Digest-Nilsimsa/Makefile
@@ -17,7 +17,6 @@ COMMENT= Perl version of Nilsimsa code
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Digest::Nilsimsa.3
.include <bsd.port.mk>
diff --git a/security/p5-File-Scan/Makefile b/security/p5-File-Scan/Makefile
index 16595e9e974d..f45d620f7170 100644
--- a/security/p5-File-Scan/Makefile
+++ b/security/p5-File-Scan/Makefile
@@ -17,7 +17,6 @@ COMMENT= Perl5 anti-virus file scanning package
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= File::Scan.3
post-install:
diff --git a/security/p5-File-Scan/pkg-plist b/security/p5-File-Scan/pkg-plist
index a644d1648514..d04feba0f8f3 100644
--- a/security/p5-File-Scan/pkg-plist
+++ b/security/p5-File-Scan/pkg-plist
@@ -1,6 +1,6 @@
@comment $FreeBSD$
-lib/perl5/site_perl/%%PERL_VER%%/File/Scan.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/Scan/.packlist
+%%SITE_PERL%%/File/Scan.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Scan/.packlist
%%PORTDOCS%%%%DOCSDIR%%/Changes
%%PORTDOCS%%%%DOCSDIR%%/FAQ
%%PORTDOCS%%%%DOCSDIR%%/README
@@ -15,6 +15,6 @@ lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/Scan/.packlist
@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/Scan
-@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
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Scan
+@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/security/p5-Filter-CBC/Makefile b/security/p5-Filter-CBC/Makefile
index 1537265e215a..c76913aa51e4 100644
--- a/security/p5-Filter-CBC/Makefile
+++ b/security/p5-Filter-CBC/Makefile
@@ -15,9 +15,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Source filter for Cipher Block Chaining
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Filter/Util/Call.pm:${PORTSDIR}/devel/p5-Filter \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Crypt/Rijndael.pm:${PORTSDIR}/security/p5-Crypt-Rijndael \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Crypt/CBC.pm:${PORTSDIR}/security/p5-Crypt-CBC
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Filter/Util/Call.pm:${PORTSDIR}/devel/p5-Filter \
+ ${SITE_PERL}/${PERL_ARCH}/Crypt/Rijndael.pm:${PORTSDIR}/security/p5-Crypt-Rijndael \
+ ${SITE_PERL}/Crypt/CBC.pm:${PORTSDIR}/security/p5-Crypt-CBC
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
diff --git a/security/p5-Filter-CBC/pkg-plist b/security/p5-Filter-CBC/pkg-plist
index 3e278b272f6d..94989c6b4e2b 100644
--- a/security/p5-Filter-CBC/pkg-plist
+++ b/security/p5-Filter-CBC/pkg-plist
@@ -1,6 +1,6 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Filter/CBC/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Filter/CBC.pm
-lib/perl5/site_perl/%%PERL_VER%%/Filter/cbc2code.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Filter/CBC/.packlist
+%%SITE_PERL%%/Filter/CBC.pm
+%%SITE_PERL%%/Filter/cbc2code.pl
%%PORTDOCS%%%%EXAMPLESDIR%%/autofilter.pl
%%PORTDOCS%%%%EXAMPLESDIR%%/blowfish.pl
%%PORTDOCS%%%%EXAMPLESDIR%%/defaults.pl
@@ -14,6 +14,6 @@ lib/perl5/site_perl/%%PERL_VER%%/Filter/cbc2code.pl
%%PORTDOCS%%%%EXAMPLESDIR%%/tea.pl
%%PORTDOCS%%%%EXAMPLESDIR%%/twofish.pl
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Filter/CBC
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Filter 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Filter 2>/dev/null || true
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Filter/CBC
+@unexec rmdir %D/%%SITE_PERL%%/Filter 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Filter 2>/dev/null || true
diff --git a/security/p5-GnuPG-Interface/Makefile b/security/p5-GnuPG-Interface/Makefile
index 18b85da55db0..154cc45f6e00 100644
--- a/security/p5-GnuPG-Interface/Makefile
+++ b/security/p5-GnuPG-Interface/Makefile
@@ -16,7 +16,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= trevor@FreeBSD.org
COMMENT= Perl module for interfacing with GnuPG
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Class/MethodMaker.pm:${PORTSDIR}/devel/p5-Class-MethodMaker
+BUILD_DEPENDS= ${SITE_PERL}/Class/MethodMaker.pm:${PORTSDIR}/devel/p5-Class-MethodMaker
RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg \
${BUILD_DEPENDS}
@@ -33,6 +33,5 @@ MAN3= GnuPG::Fingerprint.3 \
GnuPG::Signature.3 \
GnuPG::SubKey.3 \
GnuPG::UserId.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-IO-Socket-SSL/Makefile b/security/p5-IO-Socket-SSL/Makefile
index 5f588a568fc3..768b4d356d83 100644
--- a/security/p5-IO-Socket-SSL/Makefile
+++ b/security/p5-IO-Socket-SSL/Makefile
@@ -15,12 +15,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= scrappy@FreeBSD.org
COMMENT= Perl5 interface to SSL sockets
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= IO::Socket::SSL.3
.include <bsd.port.mk>
diff --git a/security/p5-IO-Socket-SSL/pkg-plist b/security/p5-IO-Socket-SSL/pkg-plist
index 092f190608aa..93c72f97b80e 100644
--- a/security/p5-IO-Socket-SSL/pkg-plist
+++ b/security/p5-IO-Socket-SSL/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/IO/Socket/SSL.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IO/Socket/SSL/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IO/Socket/SSL
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IO/Socket
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/IO/Socket
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IO 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/IO 2>/dev/null || true
+%%SITE_PERL%%/IO/Socket/SSL.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Socket/SSL/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Socket/SSL
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Socket
+@dirrm %%SITE_PERL%%/IO/Socket
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/IO 2>/dev/null || true
diff --git a/security/p5-MD5/Makefile b/security/p5-MD5/Makefile
index 71e139755499..16a6ec88a73f 100644
--- a/security/p5-MD5/Makefile
+++ b/security/p5-MD5/Makefile
@@ -18,12 +18,11 @@ COMMENT= Perl5 interface to MD5 Message-Digest Algorithm
PERL_CONFIGURE= yes
MAN3= MD5.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
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
RUN_DEPENDS= ${BUILD_DEPENDS}
.endif
diff --git a/security/p5-MD5/pkg-plist b/security/p5-MD5/pkg-plist
index dd6f8d2553aa..b4d8a74a32be 100644
--- a/security/p5-MD5/pkg-plist
+++ b/security/p5-MD5/pkg-plist
@@ -1,3 +1,3 @@
-lib/perl5/site_perl/%%PERL_VER%%/MD5.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MD5/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MD5
+%%SITE_PERL%%/MD5.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MD5/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MD5
diff --git a/security/p5-Net-SSLeay/Makefile b/security/p5-Net-SSLeay/Makefile
index 454d694736f5..ae0c7904a0dc 100644
--- a/security/p5-Net-SSLeay/Makefile
+++ b/security/p5-Net-SSLeay/Makefile
@@ -20,7 +20,6 @@ PERL_CONFIGURE= yes
CONFIGURE_ARGS+= "/usr"
USE_OPENSSL= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Net::SSLeay.3 Net::SSLeay::Handle.3
PLDIR= ${PREFIX}/share/examples/p5-Net-SSLeay
diff --git a/security/p5-Net-SSLeay/pkg-plist b/security/p5-Net-SSLeay/pkg-plist
index 1cfc9aa1a639..961112a40b8d 100644
--- a/security/p5-Net-SSLeay/pkg-plist
+++ b/security/p5-Net-SSLeay/pkg-plist
@@ -1,48 +1,48 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/SSLeay.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/SSLeay/Handle.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/ptrtstrun.pl
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/SSLeay.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/SSLeay.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/autosplit.ix
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/debug_read.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/do_https.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/do_https2.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/do_https3.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/do_https4.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/dump_peer_certificate.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/get_https.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/get_https3.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/get_https4.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/head_https.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/head_https3.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/head_https4.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/https_cat.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/make_form.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/make_headers.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/new_x_ctx.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/open_proxy_tcp_connection.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/open_tcp_connection.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/post_https.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/post_https3.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/post_https4.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/put_https.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/put_https3.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/put_https4.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/randomize.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/set_cert_and_key.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/set_proxy.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/set_server_cert_and_key.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/ssl_read_CRLF.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/ssl_read_all.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/ssl_read_until.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/ssl_write_CRLF.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/ssl_write_all.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/sslcat.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/want_X509_lookup.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/want_nothing.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/want_read.al
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/want_write.al
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/SSLeay.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/SSLeay/Handle.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/ptrtstrun.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/SSLeay.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/SSLeay.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/autosplit.ix
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/debug_read.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/do_https.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/do_https2.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/do_https3.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/do_https4.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/dump_peer_certificate.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/get_https.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/get_https3.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/get_https4.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/head_https.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/head_https3.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/head_https4.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/https_cat.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/make_form.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/make_headers.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/new_x_ctx.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/open_proxy_tcp_connection.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/open_tcp_connection.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/post_https.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/post_https3.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/post_https4.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/put_https.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/put_https3.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/put_https4.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/randomize.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/set_cert_and_key.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/set_proxy.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/set_server_cert_and_key.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/ssl_read_CRLF.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/ssl_read_all.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/ssl_read_until.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/ssl_write_CRLF.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/ssl_write_all.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/sslcat.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/want_X509_lookup.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/want_nothing.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/want_read.al
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay/want_write.al
%%PORTDOCS%%share/examples/p5-Net-SSLeay/bio.pl
%%PORTDOCS%%share/examples/p5-Net-SSLeay/bulk.pl
%%PORTDOCS%%share/examples/p5-Net-SSLeay/callback.pl
@@ -63,7 +63,7 @@ lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay/want_write.al
%%PORTDOCS%%share/examples/p5-Net-SSLeay/sslecho.pl
%%PORTDOCS%%share/examples/p5-Net-SSLeay/stdio_bulk.pl
%%PORTDOCS%%@dirrm share/examples/p5-Net-SSLeay
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SSLeay
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/SSLeay
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net 2>/dev/null || true
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SSLeay
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Net/SSLeay
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Net 2>/dev/null || true
diff --git a/security/p5-PGP-Sign/Makefile b/security/p5-PGP-Sign/Makefile
index e61dcf25265f..e4373d5d39d9 100644
--- a/security/p5-PGP-Sign/Makefile
+++ b/security/p5-PGP-Sign/Makefile
@@ -19,7 +19,6 @@ PERL_CONFIGURE= yes
CONFIGURE_ARGS= PGPS=${PGPS} PGPV=${PGPV} PGPSTYLE=${PGPSTYLE}
MAN3= PGP::Sign.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
# If DEFAULTPGP isn't defined, it gets set to PGP2. If you don't like
# the values that this process assigns to PGP (or PGPV and PGPS) and
diff --git a/security/p5-PGP-Sign/pkg-plist b/security/p5-PGP-Sign/pkg-plist
index e1ad5fd0a295..a5f790989576 100644
--- a/security/p5-PGP-Sign/pkg-plist
+++ b/security/p5-PGP-Sign/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/PGP/Sign.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/PGP/Sign/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/PGP/Sign
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/PGP 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/PGP 2>/dev/null || true
+%%SITE_PERL%%/PGP/Sign.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/PGP/Sign/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/PGP/Sign
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/PGP 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/PGP 2>/dev/null || true
diff --git a/security/p5-PGP/Makefile b/security/p5-PGP/Makefile
index e4bf4e431b42..42a8a5e273c2 100644
--- a/security/p5-PGP/Makefile
+++ b/security/p5-PGP/Makefile
@@ -20,7 +20,6 @@ BUILD_DEPENDS= pgp:${PORTSDIR}/security/pgp
PERL_CONFIGURE= yes
MAN3= PGP::Pipe.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
pre-configure:
@${CP} ${WRKSRC}/PGP/Pipe.pm ${WRKSRC}
diff --git a/security/p5-PGP/pkg-plist b/security/p5-PGP/pkg-plist
index c56b6d81003a..06439aa3748b 100644
--- a/security/p5-PGP/pkg-plist
+++ b/security/p5-PGP/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/PGP/Pipe.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/PGP/Pipe/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/PGP/Pipe
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/PGP
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/PGP
+%%SITE_PERL%%/PGP/Pipe.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/PGP/Pipe/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/PGP/Pipe
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/PGP
+@dirrm %%SITE_PERL%%/PGP
diff --git a/security/p5-SHA/Makefile b/security/p5-SHA/Makefile
index 816a343bbf63..9252dc28ec5e 100644
--- a/security/p5-SHA/Makefile
+++ b/security/p5-SHA/Makefile
@@ -18,6 +18,5 @@ COMMENT= Perl5 interface to the SHA1 algorithm
PERL_CONFIGURE= yes
MAN3= SHA.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-SHA/pkg-plist b/security/p5-SHA/pkg-plist
index ae5679f86e22..1cdf90388460 100644
--- a/security/p5-SHA/pkg-plist
+++ b/security/p5-SHA/pkg-plist
@@ -1,8 +1,8 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SHA.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SHA.pod
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/sha_driver.pl
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SHA/SHA.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SHA/SHA.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SHA/autosplit.ix
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SHA/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SHA
+%%SITE_PERL%%/%%PERL_ARCH%%/SHA.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/SHA.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/sha_driver.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SHA/SHA.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SHA/SHA.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SHA/autosplit.ix
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SHA/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SHA
diff --git a/security/p5-Safe-Hole/Makefile b/security/p5-Safe-Hole/Makefile
index bad7cb928809..6548f61c1bf1 100644
--- a/security/p5-Safe-Hole/Makefile
+++ b/security/p5-Safe-Hole/Makefile
@@ -18,6 +18,5 @@ COMMENT= Make a hole to the original main compartment in the Safe compartment
PERL_CONFIGURE= yes
MAN3= Safe::Hole.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/security/p5-Safe-Hole/pkg-plist b/security/p5-Safe-Hole/pkg-plist
index bf05c989882e..a4c9a30d13a6 100644
--- a/security/p5-Safe-Hole/pkg-plist
+++ b/security/p5-Safe-Hole/pkg-plist
@@ -1,6 +1,6 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Safe/Hole/Hole.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Safe/Hole/Hole.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Safe/Hole.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Safe/Hole/autosplit.ix
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Safe/Hole/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Safe/Hole/
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Safe/Hole/Hole.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Safe/Hole/Hole.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/Safe/Hole.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Safe/Hole/autosplit.ix
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Safe/Hole/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Safe/Hole/
diff --git a/security/p5-Tie-EncryptedHash/Makefile b/security/p5-Tie-EncryptedHash/Makefile
index 819abf90ab8e..da8569746bdf 100644
--- a/security/p5-Tie-EncryptedHash/Makefile
+++ b/security/p5-Tie-EncryptedHash/Makefile
@@ -15,7 +15,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= mharo@FreeBSD.org
COMMENT= Hashes (and objects based on hashes) with encrypting fields
-PERLBASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+PERLBASE= ${SITE_PERL}
BUILD_DEPENDS= ${PERLBASE}/Crypt/CBC.pm:${PORTSDIR}/security/p5-Crypt-CBC \
${PERLBASE}/${PERL_ARCH}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES \
@@ -24,7 +24,6 @@ BUILD_DEPENDS= ${PERLBASE}/Crypt/CBC.pm:${PORTSDIR}/security/p5-Crypt-CBC \
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Tie::EncryptedHash.3
.include <bsd.port.mk>
diff --git a/security/saferpay/pkg-plist.p5 b/security/saferpay/pkg-plist.p5
index 4943b234db95..6936372b6e2b 100644
--- a/security/saferpay/pkg-plist.p5
+++ b/security/saferpay/pkg-plist.p5
@@ -3,25 +3,25 @@ lib/libidpapp.so.1
bin/saferpay
share/examples/saferpay/settings.template
@dirrm share/examples/saferpay
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/soplex/saferpay/ConfigurationSetup/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/soplex/saferpay/ConfigurationSetup/ConfigurationSetup.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/soplex/saferpay/ConfigurationSetup/ConfigurationSetup.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/soplex/saferpay/ConfigurationSetup.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageFactory/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/soplex/saferpay/ConfigurationSetup/autosplit.ix
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageFactory/MessageFactory.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageFactory/MessageFactory.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/soplex/saferpay/MessageFactory.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageFactory/autosplit.ix
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageObject/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageObject/MessageObject.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageObject/MessageObject.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/soplex/saferpay/MessageObject.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageObject/autosplit.ix
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/soplex/saferpay/ConfigurationSetup/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/soplex/saferpay/ConfigurationSetup/ConfigurationSetup.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/soplex/saferpay/ConfigurationSetup/ConfigurationSetup.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/soplex/saferpay/ConfigurationSetup.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageFactory/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/soplex/saferpay/ConfigurationSetup/autosplit.ix
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageFactory/MessageFactory.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageFactory/MessageFactory.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/soplex/saferpay/MessageFactory.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageFactory/autosplit.ix
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageObject/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageObject/MessageObject.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageObject/MessageObject.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/soplex/saferpay/MessageObject.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageObject/autosplit.ix
lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/../man/man3/soplex::saferpay::MessageFactory.3.gz
lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/../man/man3/soplex::saferpay::MessageObject.3.gz
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/soplex/saferpay/ConfigurationSetup
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageObject
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageFactory
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/soplex/saferpay
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/soplex
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/soplex/saferpay/ConfigurationSetup
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageObject
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/soplex/saferpay/MessageFactory
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/soplex/saferpay
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/soplex
diff --git a/security/smtpscan/Makefile b/security/smtpscan/Makefile
index 713573d070ec..7c8ce89329fa 100644
--- a/security/smtpscan/Makefile
+++ b/security/smtpscan/Makefile
@@ -13,9 +13,9 @@ MASTER_SITES= http://www.greyhats.org/outils/smtpscan/
MAINTAINER= hubert@frbsd.org
COMMENT= A remote SMTP server version detector
-RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
+RUN_DEPENDS= ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
+ ${SITE_PERL}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO \
+ ${SITE_PERL}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
USE_PERL5= yes
MAN1= smtpscan.1
diff --git a/security/snortsnarf/Makefile b/security/snortsnarf/Makefile
index 1c5b09a4c079..1dffa50d4f35 100644
--- a/security/snortsnarf/Makefile
+++ b/security/snortsnarf/Makefile
@@ -15,7 +15,7 @@ DISTNAME= SnortSnarf-${PORTVERSION}.1
MAINTAINER= ports@FreeBSD.org
COMMENT= Generate HTML report summaries from snort incident alerts
-RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Time/JulianDay.pm:${PORTSDIR}/devel/p5-Time-modules
+RUN_DEPENDS= ${SITE_PERL}/Time/JulianDay.pm:${PORTSDIR}/devel/p5-Time-modules
NO_BUILD= yes
diff --git a/security/swatch/Makefile b/security/swatch/Makefile
index b09881b979b9..f358aaf31ea0 100644
--- a/security/swatch/Makefile
+++ b/security/swatch/Makefile
@@ -19,7 +19,7 @@ BUILD_DEPENDS= ${site_perl}/Date/Format.pm:${PORTSDIR}/devel/p5-TimeDate \
${site_perl}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \
${site_perl}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
-site_perl= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+site_perl= ${SITE_PERL}
PERL_CONFIGURE= yes
CONFIGURE_ARGS= INSTALLMAN1DIR=${PREFIX}/man/man1
diff --git a/security/swatch/pkg-plist b/security/swatch/pkg-plist
index 719956a550a3..101828fb7dd3 100644
--- a/security/swatch/pkg-plist
+++ b/security/swatch/pkg-plist
@@ -1,4 +1,4 @@
bin/swatch
bin/swatch_oldrc2newrc
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/swatch/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/swatch
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/swatch/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/swatch
diff --git a/security/tinyca/Makefile b/security/tinyca/Makefile
index 06114720bb59..c9dbf7c09aac 100644
--- a/security/tinyca/Makefile
+++ b/security/tinyca/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= http://tinyca.sm-zone.net/
MAINTAINER= Janos.Mohacsi@bsd.hu
COMMENT= Simple graphical interface to manage a small Certification Authority
-RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gnome.pm:${PORTSDIR}/x11-toolkits/p5-Gnome \
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gnome.pm:${PORTSDIR}/x11-toolkits/p5-Gnome \
${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext \
zip:${PORTSDIR}/archivers/zip