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-PurePerl | |
parent | e93c09b8f3675471a176b72ae1e6f085f7a607ad (diff) | |
download | ports-b59621d3ae883bef429a8fae6073bfa293a55222.tar.gz ports-b59621d3ae883bef429a8fae6073bfa293a55222.zip |
Notes
Diffstat (limited to 'security/p5-Digest-SHA-PurePerl')
-rw-r--r-- | security/p5-Digest-SHA-PurePerl/Makefile | 17 | ||||
-rw-r--r-- | security/p5-Digest-SHA-PurePerl/pkg-plist | 1 |
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/ |