diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2012-03-13 16:15:36 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2012-03-13 16:15:36 +0000 |
commit | b59621d3ae883bef429a8fae6073bfa293a55222 (patch) | |
tree | b415c7b2903cf47ada68c5557c3c6ac33a25fc41 /security/p5-Digest-SHA | |
parent | e93c09b8f3675471a176b72ae1e6f085f7a607ad (diff) | |
download | ports-b59621d3ae883bef429a8fae6073bfa293a55222.tar.gz ports-b59621d3ae883bef429a8fae6073bfa293a55222.zip |
Notes
Diffstat (limited to 'security/p5-Digest-SHA')
-rw-r--r-- | security/p5-Digest-SHA/Makefile | 13 | ||||
-rw-r--r-- | security/p5-Digest-SHA/pkg-plist | 1 |
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 |