diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2009-03-28 20:45:10 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2009-03-28 20:45:10 +0000 |
commit | 1a9ef9fa6754e0c0f087f4e7a76e65029a75941c (patch) | |
tree | e0596dfc5254e65a6f3de0b5eb6d25f4ad08a7d0 /security/p5-Digest-SHA/Makefile | |
parent | 0804fca67c5eda2be61329599da40c5734b4d634 (diff) |
Introduce Perl 5.10.0
Notes
Notes:
svn path=/head/; revision=231213
Diffstat (limited to 'security/p5-Digest-SHA/Makefile')
-rw-r--r-- | security/p5-Digest-SHA/Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/security/p5-Digest-SHA/Makefile b/security/p5-Digest-SHA/Makefile index c94cf0975009..a896ab99af71 100644 --- a/security/p5-Digest-SHA/Makefile +++ b/security/p5-Digest-SHA/Makefile @@ -16,7 +16,20 @@ COMMENT= Perl extension for SHA-1/224/256/384/512 PERL_CONFIGURE= yes -MAN1= shasum.1 MAN3= Digest::SHA.3 -.include <bsd.port.mk> +.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 's/5.010/5.666/; /EXE_FILES/d' ${WRKSRC}/Makefile.PL +.endif + +.include <bsd.port.post.mk> |