diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2009-03-28 20:45:10 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2009-03-28 20:45:10 +0000 |
commit | 1a9ef9fa6754e0c0f087f4e7a76e65029a75941c (patch) | |
tree | e0596dfc5254e65a6f3de0b5eb6d25f4ad08a7d0 /devel/p5-CPANPLUS | |
parent | 0804fca67c5eda2be61329599da40c5734b4d634 (diff) | |
download | ports-1a9ef9fa6754e0c0f087f4e7a76e65029a75941c.tar.gz ports-1a9ef9fa6754e0c0f087f4e7a76e65029a75941c.zip |
Notes
Diffstat (limited to 'devel/p5-CPANPLUS')
-rw-r--r-- | devel/p5-CPANPLUS/Makefile | 10 | ||||
-rw-r--r-- | devel/p5-CPANPLUS/pkg-plist | 6 |
2 files changed, 12 insertions, 4 deletions
diff --git a/devel/p5-CPANPLUS/Makefile b/devel/p5-CPANPLUS/Makefile index 5c2d07d7a3c3..4b2a047931b7 100644 --- a/devel/p5-CPANPLUS/Makefile +++ b/devel/p5-CPANPLUS/Makefile @@ -26,7 +26,6 @@ INSTALL_TARGET= pure_install OPTIONS= TEST_REPORTER "Send reports to cpan-testers" off \ YAML "Check reports from cpan-testers" off -MAN1= cpanp.1 cpan2dist.1 MAN3= CPANPLUS.3 \ CPANPLUS::Backend.3 \ CPANPLUS::Backend::RV.3 \ @@ -93,6 +92,15 @@ RUN_DEPENDS+= p5-Archive-Extract>=0.16:${PORTSDIR}/archivers/p5-Archive-Extract RUN_DEPENDS+= p5-File-Fetch>=0.13_04:${PORTSDIR}/ftp/p5-File-Fetch \ p5-Module-Load-Conditional>=0.18:${PORTSDIR}/devel/p5-Module-Load-Conditional \ p5-Term-UI>=0.18:${PORTSDIR}/devel/p5-Term-UI +PLIST_SUB+= EXE_FILES="" +MAN1= cpanp.1 cpan2dist.1 +.else +PLIST_SUB+= EXE_FILES="@comment " +.endif + +post-patch: +.if ${PERL_LEVEL} >= 501000 + @${REINPLACE_CMD} -e 's/5.009/5.666/; /install_script/d' ${WRKSRC}/Makefile.PL .endif .if defined(WITH_TEST_REPORTER) diff --git a/devel/p5-CPANPLUS/pkg-plist b/devel/p5-CPANPLUS/pkg-plist index 7b3f6a4b9baa..ecb43a035bd9 100644 --- a/devel/p5-CPANPLUS/pkg-plist +++ b/devel/p5-CPANPLUS/pkg-plist @@ -1,6 +1,6 @@ -bin/cpan2dist -bin/cpanp -bin/cpanp-run-perl +%%EXE_FILES%%bin/cpan2dist +%%EXE_FILES%%bin/cpanp +%%EXE_FILES%%bin/cpanp-run-perl %%SITE_PERL%%/CPANPLUS.pm %%SITE_PERL%%/CPANPLUS/Backend.pm %%SITE_PERL%%/CPANPLUS/Backend/RV.pm |