svn commit: r309094 - in head/devel: p5-App-GitGot p5-CPANPLUS p5-Eval-Closure p5-Exception-Class p5-ExtUtils-MakeMaker p5-Module-Build p5-Module-CPANTS-Analyse p5-Moose p5-Smart-Comments
Andrej Zverev
az at FreeBSD.org
Mon Dec 17 14:09:32 UTC 2012
Author: az
Date: Mon Dec 17 14:09:29 2012
New Revision: 309094
URL: http://svnweb.freebsd.org/changeset/ports/309094
Log:
Cleanup supporting perl version 5.8 and 5.10,
lang/perl5.8 and lang/5.10 will be removed from ports tree soon.
Modified:
head/devel/p5-App-GitGot/Makefile (contents, props changed)
head/devel/p5-CPANPLUS/Makefile (contents, props changed)
head/devel/p5-Eval-Closure/Makefile (contents, props changed)
head/devel/p5-Exception-Class/Makefile (contents, props changed)
head/devel/p5-ExtUtils-MakeMaker/Makefile
head/devel/p5-Module-Build/Makefile (contents, props changed)
head/devel/p5-Module-CPANTS-Analyse/Makefile (contents, props changed)
head/devel/p5-Moose/Makefile (contents, props changed)
head/devel/p5-Smart-Comments/Makefile (contents, props changed)
Modified: head/devel/p5-App-GitGot/Makefile
==============================================================================
--- head/devel/p5-App-GitGot/Makefile Mon Dec 17 14:05:14 2012 (r309093)
+++ head/devel/p5-App-GitGot/Makefile Mon Dec 17 14:09:29 2012 (r309094)
@@ -64,10 +64,4 @@ MAN3= App::GitGot.3 \
App::GitGot::Repo.3 \
App::GitGot::Repo::Git.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 501001
-RUN_DEPENDS+= p5-autodie>=0:${PORTSDIR}/devel/p5-autodie
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/devel/p5-CPANPLUS/Makefile
==============================================================================
--- head/devel/p5-CPANPLUS/Makefile Mon Dec 17 14:05:14 2012 (r309093)
+++ head/devel/p5-CPANPLUS/Makefile Mon Dec 17 14:09:29 2012 (r309094)
@@ -66,35 +66,11 @@ MAN3= CPANPLUS.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
+# XXX:az pkg-plist
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 ${PORT_OPTIONS:MTEST_REPORTER}
RUN_DEPENDS+= p5-Test-Reporter>=0:${PORTSDIR}/devel/p5-Test-Reporter
Modified: head/devel/p5-Eval-Closure/Makefile
==============================================================================
--- head/devel/p5-Eval-Closure/Makefile Mon Dec 17 14:05:14 2012 (r309093)
+++ head/devel/p5-Eval-Closure/Makefile Mon Dec 17 14:09:29 2012 (r309094)
@@ -31,10 +31,4 @@ PERL_CONFIGURE= yes
MAN3= Eval::Closure.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 501001
-TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/devel/p5-Exception-Class/Makefile
==============================================================================
--- head/devel/p5-Exception-Class/Makefile Mon Dec 17 14:05:14 2012 (r309093)
+++ head/devel/p5-Exception-Class/Makefile Mon Dec 17 14:09:29 2012 (r309094)
@@ -19,10 +19,4 @@ PERL_CONFIGURE= yes
MAN3= Exception::Class.3 Exception::Class::Base.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 501001
-TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/devel/p5-ExtUtils-MakeMaker/Makefile
==============================================================================
--- head/devel/p5-ExtUtils-MakeMaker/Makefile Mon Dec 17 14:05:14 2012 (r309093)
+++ head/devel/p5-ExtUtils-MakeMaker/Makefile Mon Dec 17 14:09:29 2012 (r309094)
@@ -29,12 +29,12 @@ MAN3= ExtUtils::Command::MM.3 ExtUtils:
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} < 501001
-BUILD_DEPENDS+= p5-ExtUtils-Command>=1.16:${PORTSDIR}/devel/p5-ExtUtils-Command \
- p5-ExtUtils-Install>=1.52:${PORTSDIR}/devel/p5-ExtUtils-Install
-RUN_DEPENDS+= p5-ExtUtils-Command>=1.16:${PORTSDIR}/devel/p5-ExtUtils-Command \
- p5-ExtUtils-Install>=1.52:${PORTSDIR}/devel/p5-ExtUtils-Install
-.endif
+#.if ${PERL_LEVEL} < 501001
+#BUILD_DEPENDS+= p5-ExtUtils-Command>=1.16:${PORTSDIR}/devel/p5-ExtUtils-Command \
+# p5-ExtUtils-Install>=1.52:${PORTSDIR}/devel/p5-ExtUtils-Install
+#RUN_DEPENDS+= p5-ExtUtils-Command>=1.16:${PORTSDIR}/devel/p5-ExtUtils-Command \
+# p5-ExtUtils-Install>=1.52:${PORTSDIR}/devel/p5-ExtUtils-Install
+#.endif
.if ${PERL_LEVEL} < 501400
BUILD_DEPENDS+= p5-ExtUtils-Manifest>=1.58:${PORTSDIR}/devel/p5-ExtUtils-Manifest \
Modified: head/devel/p5-Module-Build/Makefile
==============================================================================
--- head/devel/p5-Module-Build/Makefile Mon Dec 17 14:05:14 2012 (r309093)
+++ head/devel/p5-Module-Build/Makefile Mon Dec 17 14:09:29 2012 (r309094)
@@ -53,23 +53,23 @@ PORTDOCS= Changes INSTALL README
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} < 501000
-RUN_DEPENDS+= p5-Test-Harness>=3.16:${PORTSDIR}/devel/p5-Test-Harness
-MAN1= config_data.1
-PLIST_FILES= bin/config_data
-.endif
-
-.if ${PERL_LEVEL} < 501001
-BUILD_DEPENDS+= p5-ExtUtils-Install>=1.54:${PORTSDIR}/devel/p5-ExtUtils-Install
-RUN_DEPENDS+= p5-ExtUtils-Install>=1.54:${PORTSDIR}/devel/p5-ExtUtils-Install
-.endif
-
-.if ${PERL_LEVEL} < 501200
-BUILD_DEPENDS+= p5-ExtUtils-CBuilder>=0.27:${PORTSDIR}/devel/p5-ExtUtils-CBuilder \
- p5-ExtUtils-ParseXS>=2.21:${PORTSDIR}/devel/p5-ExtUtils-ParseXS
-RUN_DEPENDS+= p5-ExtUtils-CBuilder>=0.27:${PORTSDIR}/devel/p5-ExtUtils-CBuilder \
- p5-ExtUtils-ParseXS>=2.21:${PORTSDIR}/devel/p5-ExtUtils-ParseXS
-.endif
+#.if ${PERL_LEVEL} < 501000
+#RUN_DEPENDS+= p5-Test-Harness>=3.16:${PORTSDIR}/devel/p5-Test-Harness
+#MAN1= config_data.1
+#PLIST_FILES= bin/config_data
+#.endif
+
+#.if ${PERL_LEVEL} < 501001
+#BUILD_DEPENDS+= p5-ExtUtils-Install>=1.54:${PORTSDIR}/devel/p5-ExtUtils-Install
+#RUN_DEPENDS+= p5-ExtUtils-Install>=1.54:${PORTSDIR}/devel/p5-ExtUtils-Install
+#.endif
+
+#.if ${PERL_LEVEL} < 501200
+#BUILD_DEPENDS+= p5-ExtUtils-CBuilder>=0.27:${PORTSDIR}/devel/p5-ExtUtils-CBuilder \
+# p5-ExtUtils-ParseXS>=2.21:${PORTSDIR}/devel/p5-ExtUtils-ParseXS
+#RUN_DEPENDS+= p5-ExtUtils-CBuilder>=0.27:${PORTSDIR}/devel/p5-ExtUtils-CBuilder \
+# p5-ExtUtils-ParseXS>=2.21:${PORTSDIR}/devel/p5-ExtUtils-ParseXS
+#.endif
.if ${PERL_LEVEL} < 501400
BUILD_DEPENDS+= p5-CPAN-Meta>=2.110420:${PORTSDIR}/devel/p5-CPAN-Meta \
@@ -87,11 +87,11 @@ RUN_DEPENDS+= p5-CPAN-Meta>=2.110420:${P
.endif
post-patch:
-.if ${PERL_LEVEL} >= 501000
+#.if ${PERL_LEVEL} >= 501000
@${RM} -f ${WRKSRC}/bin/config_data
@${REINPLACE_CMD} -e '/script_files/d' ${WRKSRC}/Build.PL
@${REINPLACE_CMD} -e '/^bin\/config_data/d' ${WRKSRC}/MANIFEST
-.endif
+#.endif
post-install:
.if !defined(NOPORTDOCS)
Modified: head/devel/p5-Module-CPANTS-Analyse/Makefile
==============================================================================
--- head/devel/p5-Module-CPANTS-Analyse/Makefile Mon Dec 17 14:05:14 2012 (r309093)
+++ head/devel/p5-Module-CPANTS-Analyse/Makefile Mon Dec 17 14:09:29 2012 (r309094)
@@ -59,20 +59,4 @@ MAN3= Module::CPANTS::Analyse.3 \
Module::CPANTS::Kwalitee::Uses.3 \
Module::CPANTS::Kwalitee::Version.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 501000
-BUILD_DEPENDS+= p5-Module-Pluggable>=2.96:${PORTSDIR}/devel/p5-Module-Pluggable \
- p5-Pod-Simple>=0:${PORTSDIR}/textproc/p5-Pod-Simple \
- p5-version>=0.73:${PORTSDIR}/devel/p5-version
-RUN_DEPENDS+= p5-Module-Pluggable>=2.96:${PORTSDIR}/devel/p5-Module-Pluggable \
- p5-Pod-Simple>=0:${PORTSDIR}/textproc/p5-Pod-Simple \
- p5-version>=0.73:${PORTSDIR}/devel/p5-version
-.endif
-
-.if ${PERL_LEVEL} < 501001
-BUILD_DEPENDS+= p5-Archive-Tar>=1.48:${PORTSDIR}/archivers/p5-Archive-Tar
-RUN_DEPENDS+= p5-Archive-Tar>=1.48:${PORTSDIR}/archivers/p5-Archive-Tar
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/devel/p5-Moose/Makefile
==============================================================================
--- head/devel/p5-Moose/Makefile Mon Dec 17 14:05:14 2012 (r309093)
+++ head/devel/p5-Moose/Makefile Mon Dec 17 14:09:29 2012 (r309094)
@@ -195,13 +195,7 @@ post-extract:
post-install:
@${CAT} ${PKGDIR}/pkg-message
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 501001
-TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
-.else
# p5-Test-DependentModules is only available on 5.10.1+ (currently)
TEST_DEPENDS+= p5-Test-DependentModules>=0.13:${PORTSDIR}/devel/p5-Test-DependentModules
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/devel/p5-Smart-Comments/Makefile
==============================================================================
--- head/devel/p5-Smart-Comments/Makefile Mon Dec 17 14:05:14 2012 (r309093)
+++ head/devel/p5-Smart-Comments/Makefile Mon Dec 17 14:09:29 2012 (r309094)
@@ -20,14 +20,4 @@ PERL_MODBUILD= yes
MAN3= Smart::Comments.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500900
-RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
-.endif
-
-.if ${PERL_LEVEL} < 500905
-RUN_DEPENDS+= p5-Text-Balanced>=2:${PORTSDIR}/textproc/p5-Text-Balanced
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-head
mailing list