- skip bin/prove and its manpage under perl 5.8

PR:		70233
Submitted by:	leeym
This commit is contained in:
Yen-Ming Lee 2005-03-01 18:17:40 +00:00
parent a435c6e403
commit 5764fef3b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130104
2 changed files with 16 additions and 6 deletions

View file

@ -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>

View file

@ -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