summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2007-09-08 01:12:10 +0000
committerMark Linimon <linimon@FreeBSD.org>2007-09-08 01:12:10 +0000
commit9839011ec3910790376ce9ace5e2a1c5bcb2781f (patch)
tree41c61966bf1404bd3cfce06493a35d6a1a4acfc6 /misc
parentRemove support for antique perl. (diff)
Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl. Work done by: gabor Sponsored by: Google Summer of Code 2007 Hat: portmgr
Notes
Notes: svn path=/head/; revision=199069
Diffstat (limited to 'misc')
-rw-r--r--misc/mc/Makefile1
-rw-r--r--misc/ossp-uuid/Makefile10
-rw-r--r--misc/p5-Acme-ButFirst/Makefile4
-rw-r--r--misc/p5-File-CounterFile/Makefile10
-rw-r--r--misc/p5-Geo-Postcodes-DK/Makefile8
-rw-r--r--misc/p5-Geo-Postcodes-NO/Makefile8
-rw-r--r--misc/p5-Locale-SubCountry/Makefile10
-rw-r--r--misc/p5-Net-vCard/Makefile10
-rw-r--r--misc/p5-Tie-DxHash/Makefile8
-rw-r--r--misc/p5-Zen-Koans/Makefile8
-rw-r--r--misc/translator/Makefile6
11 files changed, 15 insertions, 68 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile
index 8e3b83ec22bd..8e8e5a5a32c5 100644
--- a/misc/mc/Makefile
+++ b/misc/mc/Makefile
@@ -23,6 +23,7 @@ USE_GETTEXT= yes
USE_ICONV= yes
USE_GMAKE= yes
USE_GNOME= glib20
+USE_PERL5= yes
GNU_CONFIGURE= yes
OPTIONS= SLANG "Build with SLang library" on \
diff --git a/misc/ossp-uuid/Makefile b/misc/ossp-uuid/Makefile
index 6e7557a5cee7..fbed992e6a45 100644
--- a/misc/ossp-uuid/Makefile
+++ b/misc/ossp-uuid/Makefile
@@ -27,7 +27,7 @@ MAN1= uuid-config.1 uuid.1
MAN3= uuid.3
.if defined(WITH_PERL)
-USE_PERL5= yes
+USE_PERL5= 5.8.0+
CONFIGURE_ENV+= PERL=${PERL5}
CONFIGURE_ARGS+= --with-perl
PLIST_SUB+= WITH_PERL=''
@@ -37,15 +37,9 @@ MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
PLIST_SUB+= WITH_PERL='@comment '
.endif
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_PERL) && ${PERL_LEVEL} < 500800
-IGNORE= supports Perl 5.8.0 or above only
-.endif
-
regression-test: test
test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/misc/p5-Acme-ButFirst/Makefile b/misc/p5-Acme-ButFirst/Makefile
index fdd8a104fb33..28b50c337eb3 100644
--- a/misc/p5-Acme-ButFirst/Makefile
+++ b/misc/p5-Acme-ButFirst/Makefile
@@ -21,10 +21,6 @@ PERL_CONFIGURE= yes
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} < 500600
-IGNORE= requires at least Perl5.6
-.endif
-
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/Filter/Simple.pm:${PORTSDIR}/textproc/p5-Filter-Simple
.endif
diff --git a/misc/p5-File-CounterFile/Makefile b/misc/p5-File-CounterFile/Makefile
index 0f63d2293b5a..3cd08e8f9bc4 100644
--- a/misc/p5-File-CounterFile/Makefile
+++ b/misc/p5-File-CounterFile/Makefile
@@ -19,12 +19,4 @@ PERL_CONFIGURE= yes
MAN3= File::CounterFile.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} <= 500503
-# make PREFIX-clean under perl 5.005_03
-post-configure:
- ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/misc/p5-Geo-Postcodes-DK/Makefile b/misc/p5-Geo-Postcodes-DK/Makefile
index 573b924243c0..d2ba6ccf7ebe 100644
--- a/misc/p5-Geo-Postcodes-DK/Makefile
+++ b/misc/p5-Geo-Postcodes-DK/Makefile
@@ -21,10 +21,4 @@ PERL_CONFIGURE= yes
MAN3= Geo::Postcodes::DK.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500600 # Inherited from misc/p5-Geo-Postcodes
-IGNORE= requires Perl 5.6.0 or newer. Install lang/perl5.8 and try again
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/misc/p5-Geo-Postcodes-NO/Makefile b/misc/p5-Geo-Postcodes-NO/Makefile
index 8076f11145ae..1f7e7aae8940 100644
--- a/misc/p5-Geo-Postcodes-NO/Makefile
+++ b/misc/p5-Geo-Postcodes-NO/Makefile
@@ -21,10 +21,4 @@ PERL_CONFIGURE= yes
MAN3= Geo::Postcodes::NO.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500600 # Inherited from misc/p5-Geo-Postcodes
-IGNORE= requires Perl 5.6.0 or newer. Install lang/perl5.8 and try again
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/misc/p5-Locale-SubCountry/Makefile b/misc/p5-Locale-SubCountry/Makefile
index 3af8419448c2..9edadfadfd1b 100644
--- a/misc/p5-Locale-SubCountry/Makefile
+++ b/misc/p5-Locale-SubCountry/Makefile
@@ -15,14 +15,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Convert state, province, county etc. names to/from code
-PERL_CONFIGURE= yes
+PERL_CONFIGURE= 5.8.4+
MAN3= Locale::SubCountry.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500804
-IGNORE= requires perl 5.8.4 or later. Install lang/perl5.8 and try again
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/misc/p5-Net-vCard/Makefile b/misc/p5-Net-vCard/Makefile
index a8b16047f7d8..486447048b9c 100644
--- a/misc/p5-Net-vCard/Makefile
+++ b/misc/p5-Net-vCard/Makefile
@@ -14,14 +14,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= mat@FreeBSD.org
COMMENT= Read and write vCard files (RFC 2426)
-PERL_CONFIGURE= yes
+PERL_CONFIGURE= 5.8.0+
MAN3= Net::vFile.3 Net::vCard.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500800
-IGNORE="Need at least perl 5.8 to build"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/misc/p5-Tie-DxHash/Makefile b/misc/p5-Tie-DxHash/Makefile
index 8321fa5188ea..b7afea82d698 100644
--- a/misc/p5-Tie-DxHash/Makefile
+++ b/misc/p5-Tie-DxHash/Makefile
@@ -22,10 +22,4 @@ PERL_CONFIGURE= yes
MAN3= Tie::DxHash.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500600
-IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/misc/p5-Zen-Koans/Makefile b/misc/p5-Zen-Koans/Makefile
index 9b9d8dd52105..189de583feae 100644
--- a/misc/p5-Zen-Koans/Makefile
+++ b/misc/p5-Zen-Koans/Makefile
@@ -19,10 +19,4 @@ MAN3= Zen::Koan.3 Zen::Koans.3
PERL_CONFIGURE= yes
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500600
-IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/misc/translator/Makefile b/misc/translator/Makefile
index 30bc4333cb92..e76e9499f800 100644
--- a/misc/translator/Makefile
+++ b/misc/translator/Makefile
@@ -20,15 +20,15 @@ RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2
${SITE_PERL}/WWW/Babelfish.pm:${PORTSDIR}/www/p5-WWW-Babelfish
USE_X_PREFIX= yes
-USE_PERL5= yes
+USE_PERL5= 5.8.0+
NO_BUILD= yes
.include <bsd.port.pre.mk>
HAVE_THREADS!= ${PERL} -mthreads -e '' >/dev/null 2>&1 && ${ECHO_CMD} 'yes' || true
-.if ${PERL_LEVEL} < 500800 || empty(HAVE_THREADS)
-IGNORE= needs threaded perl 5.8.0 or higher, install lang/perl5.8 with threads support and try again
+.if empty(HAVE_THREADS)
+IGNORE= needs threaded perl
.endif
post-patch: