aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Digest-SHA
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
commitb59621d3ae883bef429a8fae6073bfa293a55222 (patch)
treeb415c7b2903cf47ada68c5557c3c6ac33a25fc41 /security/p5-Digest-SHA
parente93c09b8f3675471a176b72ae1e6f085f7a607ad (diff)
downloadports-b59621d3ae883bef429a8fae6073bfa293a55222.tar.gz
ports-b59621d3ae883bef429a8fae6073bfa293a55222.zip
- Revert ports/165605 as requested by portmgr@
Note: devel/p5-B-Size and devel/p5-Devel-Arena where intentionally not restored. PR: ports/165605 Approved by: portmgr (bapt) Feature safe: yes (I sure hope so)
Notes
Notes: svn path=/head/; revision=293247
Diffstat (limited to 'security/p5-Digest-SHA')
-rw-r--r--security/p5-Digest-SHA/Makefile13
-rw-r--r--security/p5-Digest-SHA/pkg-plist1
2 files changed, 13 insertions, 1 deletions
diff --git a/security/p5-Digest-SHA/Makefile b/security/p5-Digest-SHA/Makefile
index bc23fc149873..4397e4817dbb 100644
--- a/security/p5-Digest-SHA/Makefile
+++ b/security/p5-Digest-SHA/Makefile
@@ -21,7 +21,18 @@ PERL_CONFIGURE= yes
MAN3= Digest::SHA.3
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 501000
+PLIST_SUB+= EXE_FILES="@comment "
+.else
+PLIST_SUB+= EXE_FILES=""
+MAN1= shasum.1
+.endif
+
post-patch:
+.if ${PERL_LEVEL} >= 501000
@${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/security/p5-Digest-SHA/pkg-plist b/security/p5-Digest-SHA/pkg-plist
index 33a87d78e818..7b40336aaa75 100644
--- a/security/p5-Digest-SHA/pkg-plist
+++ b/security/p5-Digest-SHA/pkg-plist
@@ -1,3 +1,4 @@
+%%EXE_FILES%%bin/shasum
%%SITE_PERL%%/%%PERL_ARCH%%/Digest/SHA.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA/SHA.bs