summaryrefslogtreecommitdiff
path: root/security/p5-Digest-HMAC
diff options
context:
space:
mode:
Diffstat (limited to 'security/p5-Digest-HMAC')
-rw-r--r--security/p5-Digest-HMAC/Makefile5
-rw-r--r--security/p5-Digest-HMAC/pkg-plist14
2 files changed, 9 insertions, 10 deletions
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