summaryrefslogtreecommitdiffstats
path: root/devel/p5-CPANPLUS/Makefile
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2012-03-08 18:45:38 +0000
committerpgollucci <pgollucci@FreeBSD.org>2012-03-08 18:45:38 +0000
commitbdc7b8de9b4a00d6f78b8a20e6e92ad630e44558 (patch)
tree0af98c25fc0d67ccc871639ecd10e8476cfd8de7 /devel/p5-CPANPLUS/Makefile
parenta72ed0005b1dc840337c91df5cde89b1015c75f8 (diff)
downloadFreeBSD-ports-bdc7b8de9b4a00d6f78b8a20e6e92ad630e44558.zip
FreeBSD-ports-bdc7b8de9b4a00d6f78b8a20e6e92ad630e44558.tar.gz
- Remove ports that only work with < perl 5.12 (devel/p5-B-Size, devel/p5-Devel-Arena)
- Remove conditionals for PERL_LEVEL < 501200 - Remove regression-test targets b/c this will be centralized in Mk/bsd.perl.mk - Other minor cleanups RUN_DEPENDS = ${BUILD_DEPENDS} -> RUN_DEPENDS:= ${BUILD_DEPENDS} PR: ports/165605 Submitted by: pgollucci (myself) Approved by: portmgr (linimon) Exp Run by: linimon Tested by: make index
Diffstat (limited to 'devel/p5-CPANPLUS/Makefile')
-rw-r--r--devel/p5-CPANPLUS/Makefile37
1 files changed, 4 insertions, 33 deletions
diff --git a/devel/p5-CPANPLUS/Makefile b/devel/p5-CPANPLUS/Makefile
index ec12615..665283f 100644
--- a/devel/p5-CPANPLUS/Makefile
+++ b/devel/p5-CPANPLUS/Makefile
@@ -60,38 +60,6 @@ MAN3= CPANPLUS.3 \
CPANPLUS::Shell::Default::Plugins::Source.3 \
CPANPLUS::inc.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500904
-RUN_DEPENDS+= p5-Module-Load>=0.10:${PORTSDIR}/devel/p5-Module-Load \
- p5-Module-Loaded>=0.01:${PORTSDIR}/devel/p5-Module-Loaded \
- p5-Package-Constants>=0.01:${PORTSDIR}/devel/p5-Package-Constants
-.endif
-
-.if ${PERL_LEVEL} < 500905
-RUN_DEPENDS+= p5-Archive-Extract>=0.16:${PORTSDIR}/archivers/p5-Archive-Extract \
- p5-IPC-Cmd>=0.36:${PORTSDIR}/devel/p5-IPC-Cmd \
- p5-Locale-Maketext-Simple>=0.01:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \
- p5-Log-Message>=0.01:${PORTSDIR}/devel/p5-Log-Message \
- p5-Object-Accessor>=0.32:${PORTSDIR}/devel/p5-Object-Accessor \
- p5-Params-Check>=0.22:${PORTSDIR}/devel/p5-Params-Check
-.endif
-
-.if ${PERL_LEVEL} < 501000
-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)
RUN_DEPENDS+= ${SITE_PERL}/Test/Reporter.pm:${PORTSDIR}/devel/p5-Test-Reporter
.endif
@@ -100,4 +68,7 @@ RUN_DEPENDS+= ${SITE_PERL}/Test/Reporter.pm:${PORTSDIR}/devel/p5-Test-Reporter
RUN_DEPENDS+= ${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML
.endif
-.include <bsd.port.post.mk>
+post-patch:
+ @${REINPLACE_CMD} -e 's/5.009/5.666/; /install_script/d' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud