1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Remove outdated PERL_LEVEL check

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-02-27 22:51:31 +00:00
parent 695a65fcef
commit 5531c299c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346400
2 changed files with 1 additions and 14 deletions

View File

@ -17,19 +17,7 @@ LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501400
PLIST_SUB+= PERL5_12=""
.else
PLIST_SUB+= PERL5_12="@comment "
.endif
post-patch:
.if ${PERL_LEVEL} < 501400
@${REINPLACE_CMD} -e '/pod2text/d; s/man1pod.*pod2man.*//' ${WRKSRC}/Makefile.PL
.else
@${REINPLACE_CMD} -e "/man1pod (/d; /EXE_FILES/d" ${WRKSRC}/Makefile.PL
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,4 +1,3 @@
%%PERL5_12%%man/man1/perlpodstyle.1.gz
%%PERL5_MAN3%%/Pod::Man.3.gz
%%PERL5_MAN3%%/Pod::ParseLink.3.gz
%%PERL5_MAN3%%/Pod::Text.3.gz