mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- skip bin/prove and its manpage under perl 5.8
PR: 70233 Submitted by: leeym
This commit is contained in:
parent
a435c6e403
commit
5764fef3b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130104
@ -22,14 +22,24 @@ MAN1= prove.1
|
||||
MAN3= Test::Harness.3 Test::Harness::Assert.3 \
|
||||
Test::Harness::Iterator.3 Test::Harness::Straps.3
|
||||
|
||||
post-patch:
|
||||
${PERL} -pi -e 'm.INSTALLDIRS.&&s,.,,sg' ${WRKSRC}/Makefile.PL
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500601
|
||||
BUILD_DEPENDS= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
BUILD_DEPENDS+= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
|
||||
RUN_DEPENDS+= ${BUILD_DEPENDS}
|
||||
.endif
|
||||
|
||||
.if ${PERL_LEVEL} >= 500800
|
||||
.undef MAN1
|
||||
PLIST_SUB+= PL_FILES="@comment "
|
||||
.else
|
||||
PLIST_SUB+= PL_FILES=""
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/INSTALLDIRS/d' ${WRKSRC}/Makefile.PL
|
||||
.if ${PERL_LEVEL} >= 500800
|
||||
@${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
bin/prove
|
||||
%%PL_FILES%%bin/prove
|
||||
%%SITE_PERL%%/Test/Harness.pm
|
||||
%%SITE_PERL%%/Test/Harness/Assert.pm
|
||||
%%SITE_PERL%%/Test/Harness/Iterator.pm
|
||||
|
Loading…
Reference in New Issue
Block a user