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:
parent
d8f805495a
commit
32578850f4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346394
@ -17,21 +17,8 @@ LICENSE_COMB= dual
|
||||
USE_PERL5= configure
|
||||
USES= perl5
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 501400
|
||||
PLIST_SUB= BIN_JSON_PP=""
|
||||
.else
|
||||
PLIST_SUB= BIN_JSON_PP="@comment "
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@${MV} ${WRKSRC}/bin/json_pp ${WRKSRC}/bin/p5json_pp
|
||||
@${REINPLACE_CMD} -e 's|bin/json_pp|bin/p5json_pp|' ${WRKSRC}/MANIFEST ${WRKSRC}/Makefile.PL
|
||||
|
||||
post-install:
|
||||
.if ${PERL_LEVEL} < 501400
|
||||
${CP} -p ${STAGEDIR}${PREFIX}/bin/p5json_pp ${STAGEDIR}${PREFIX}/bin/json_pp
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,3 @@
|
||||
%%BIN_JSON_PP%%bin/json_pp
|
||||
bin/p5json_pp
|
||||
%%SITE_PERL%%/JSON/PP.pm
|
||||
%%SITE_PERL%%/JSON/PP/Boolean.pm
|
||||
|
Loading…
Reference in New Issue
Block a user