aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Digest-SHA-PurePerl
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2012-03-14 00:15:36 +0800
committerpgollucci <pgollucci@FreeBSD.org>2012-03-14 00:15:36 +0800
commitf42856eba9fb3ca5404f63c69672a520d85efc2d (patch)
tree8244b1263e2d907c44d922bb1d05d258b43d1809 /security/p5-Digest-SHA-PurePerl
parentc779f342d2b34e828d96953ef0a0ce32861128c1 (diff)
downloadfreebsd-ports-gnome-f42856eba9fb3ca5404f63c69672a520d85efc2d.tar.gz
freebsd-ports-gnome-f42856eba9fb3ca5404f63c69672a520d85efc2d.tar.zst
freebsd-ports-gnome-f42856eba9fb3ca5404f63c69672a520d85efc2d.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)
Diffstat (limited to 'security/p5-Digest-SHA-PurePerl')
-rw-r--r--security/p5-Digest-SHA-PurePerl/Makefile17
-rw-r--r--security/p5-Digest-SHA-PurePerl/pkg-plist1
2 files changed, 17 insertions, 1 deletions
diff --git a/security/p5-Digest-SHA-PurePerl/Makefile b/security/p5-Digest-SHA-PurePerl/Makefile
index 9fd7ef8a8a25..6f65e9d83975 100644
--- a/security/p5-Digest-SHA-PurePerl/Makefile
+++ b/security/p5-Digest-SHA-PurePerl/Makefile
@@ -16,8 +16,23 @@ PERL_CONFIGURE= yes
MAN3= Digest::SHA::PurePerl.3
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500803
+RUN_DEPENDS+= ${SITE_PERL}/Digest/base.pm:${PORTSDIR}/security/p5-Digest
+.endif
+
+.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
.if !defined(NOPORTEXAMPLES)
post-install:
@@ -25,4 +40,4 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/examples/dups ${EXAMPLESDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/security/p5-Digest-SHA-PurePerl/pkg-plist b/security/p5-Digest-SHA-PurePerl/pkg-plist
index 66867ad751c6..dc5712fcf580 100644
--- a/security/p5-Digest-SHA-PurePerl/pkg-plist
+++ b/security/p5-Digest-SHA-PurePerl/pkg-plist
@@ -1,3 +1,4 @@
+%%EXE_FILES%%bin/shasum
%%SITE_PERL%%/Digest/SHA/PurePerl.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA/PurePerl/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA/PurePerl/