diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-Test-Harness/Makefile | 20 | ||||
-rw-r--r-- | devel/p5-Test-Harness/pkg-plist | 2 |
2 files changed, 16 insertions, 6 deletions
diff --git a/devel/p5-Test-Harness/Makefile b/devel/p5-Test-Harness/Makefile index e4ec80a1b33d..6f0356652fd1 100644 --- a/devel/p5-Test-Harness/Makefile +++ b/devel/p5-Test-Harness/Makefile @@ -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> diff --git a/devel/p5-Test-Harness/pkg-plist b/devel/p5-Test-Harness/pkg-plist index 0bf68542132e..7512253381f3 100644 --- a/devel/p5-Test-Harness/pkg-plist +++ b/devel/p5-Test-Harness/pkg-plist @@ -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 |