aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--astro/google-earth/Makefile8
-rw-r--r--astro/p5-Astro-Sunrise/Makefile9
-rw-r--r--chinese/librime/Makefile4
-rw-r--r--converters/p5-Encode/Makefile3
-rw-r--r--converters/recode/Makefile4
-rw-r--r--databases/p5-Cache-Memcached-Managed/Makefile9
-rw-r--r--databases/p5-DBD-Oracle/Makefile3
-rw-r--r--databases/p5-DBIx-Class-DigestColumns/Makefile3
-rw-r--r--databases/p5-DBIx-Class-EncodedColumn/Makefile3
-rw-r--r--databases/p5-DBIx-Recordset/Makefile6
-rw-r--r--databases/p5-POE-Component-LaDBI/Makefile9
-rw-r--r--databases/p5-POE-Component-RRDTool/Makefile9
-rw-r--r--databases/p5-Text-Query-SQL/Makefile9
-rw-r--r--databases/py-sqlrelay/Makefile9
-rw-r--r--devel/bugzilla/Makefile3
-rw-r--r--devel/bugzilla3/Makefile3
-rw-r--r--devel/bugzilla42/Makefile3
-rw-r--r--devel/bugzilla44/Makefile3
-rw-r--r--devel/cvsmonitor/Makefile3
-rw-r--r--devel/p5-Clone/Makefile3
-rw-r--r--devel/p5-ExtUtils-AutoInstall/Makefile3
-rw-r--r--devel/p5-MRO-Compat/Makefile3
-rw-r--r--devel/p5-Moose/Makefile3
-rw-r--r--devel/p5-Package-DeprecationManager/Makefile9
-rw-r--r--dns/p5-DNS-Config/Makefile9
-rw-r--r--dns/p5-DNS-Zone/Makefile9
-rw-r--r--finance/ledgersmb12/Makefile3
-rw-r--r--finance/p5-Business-OnlinePayment-2CheckOut/Makefile3
-rw-r--r--finance/p5-Business-OnlinePayment-SurePay/Makefile3
-rw-r--r--finance/p5-Business-WorldPay-Junior/Makefile9
-rw-r--r--graphics/ImageMagick/Makefile4
-rw-r--r--lang/gcc-aux/Makefile3
-rw-r--r--mail/openwebmail/Makefile9
-rw-r--r--mail/p5-Mail-Bulkmail/Makefile9
-rw-r--r--mail/razor-agents/Makefile3
-rw-r--r--math/p5-Date-Handler/Makefile11
-rw-r--r--math/p5-Math-BigInt-GMP/Makefile9
-rw-r--r--math/p5-Math-SimpleVariable/Makefile9
-rw-r--r--misc/patchutils/Makefile3
-rw-r--r--multimedia/dvdrip/Makefile4
-rw-r--r--multimedia/gtk-youtube-viewer/Makefile3
-rw-r--r--net-mgmt/p5-NetAddr-IP/Makefile3
-rw-r--r--net/p5-Net-RawSock/Makefile3
-rw-r--r--net/p5-POE-Component-ControlPort/Makefile9
-rw-r--r--sysutils/reed/Makefile3
-rw-r--r--textproc/man2html/Makefile9
-rw-r--r--textproc/p5-PerlPoint-Converters/Makefile9
-rw-r--r--textproc/p5-Spreadsheet-WriteExcel/Makefile6
-rw-r--r--textproc/p5-Text-FixedLength-Extra/Makefile9
-rw-r--r--textproc/p5-Text-Query/Makefile9
-rw-r--r--textproc/p5-Text-Tmpl/Makefile9
-rw-r--r--textproc/p5-XML-SAX-Expat/Makefile3
-rw-r--r--textproc/p5-XML-STX/Makefile3
-rw-r--r--textproc/p5-XML-SimpleObject/Makefile9
-rw-r--r--textproc/sablotron/Makefile4
-rw-r--r--www/p5-AMF-Perl/Makefile3
-rw-r--r--www/p5-Apache-Admin-Config/Makefile3
-rw-r--r--www/p5-CGI-SpeedyCGI/Makefile3
-rw-r--r--www/p5-Catalyst-Model-DBIC-Schema/Makefile3
-rw-r--r--www/p5-Catalyst-Plugin-Cache/Makefile3
-rw-r--r--www/p5-Catalyst-Plugin-Session-State-Cookie/Makefile3
-rw-r--r--www/p5-Catalyst-Plugin-Session/Makefile3
-rw-r--r--www/p5-HTTP-MHTTP/Makefile9
-rw-r--r--www/p5-Maypole-Authentication-UserSessionCookie/Makefile8
-rw-r--r--www/p5-Maypole-Component/Makefile8
-rw-r--r--x11/p5-X11-IdleTime/Makefile9
-rw-r--r--x11/rxvt-devel/Makefile3
67 files changed, 160 insertions, 213 deletions
diff --git a/astro/google-earth/Makefile b/astro/google-earth/Makefile
index 77d61f53d5d3..614e1913e312 100644
--- a/astro/google-earth/Makefile
+++ b/astro/google-earth/Makefile
@@ -1,9 +1,4 @@
-# New ports collection makefile for: google-earth
-# Date created: Jun 13 2006
-# Whom: Florent Thoumie <flz@FreeBSD.org>
-#
# $FreeBSD$
-#
PORTNAME= google-earth
PORTVERSION= 6.0.3.2197
@@ -28,7 +23,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\..*//g}/
USE_LINUX= yes
USE_LINUX_APPS= xorglibs
USE_GNOME= desktopfileutils
-USE_PERL5_BUILD= yes
+USES= perl5
+USE_PERL5= patch build
.include <bsd.port.pre.mk>
diff --git a/astro/p5-Astro-Sunrise/Makefile b/astro/p5-Astro-Sunrise/Makefile
index 9e641b534de3..b0e9f011af4d 100644
--- a/astro/p5-Astro-Sunrise/Makefile
+++ b/astro/p5-Astro-Sunrise/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: astro/p5-Astro-Sunrise
-# Date created: 25 April 2001
-# Whom: Anton Berezin <tobez@tobez.org>
-#
+# Created by: Anton Berezin <tobez@tobez.org>
# $FreeBSD$
-#
PORTNAME= Astro-Sunrise
PORTVERSION= 0.91
@@ -16,7 +12,8 @@ COMMENT= Perl extension for computing the sunrise/sunset on a given day
BUILD_DEPENDS= p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= Astro::Sunrise.3
diff --git a/chinese/librime/Makefile b/chinese/librime/Makefile
index 85f2cf0df8bb..a7a961533b69 100644
--- a/chinese/librime/Makefile
+++ b/chinese/librime/Makefile
@@ -18,10 +18,10 @@ LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs \
opencc:${PORTSDIR}/chinese/opencc \
yaml-cpp:${PORTSDIR}/devel/yaml-cpp
-USES= cmake pkgconfig gettext
+USES= cmake pkgconfig gettext perl5
+USE_PERL5= build patch
USE_LDCONFIG= yes
USE_XORG= xproto
-USE_PERL5_BUILD= yes
LDFLAGS+= -lintl
PLIST_SUB= VER=${PORTVERSION}
diff --git a/converters/p5-Encode/Makefile b/converters/p5-Encode/Makefile
index b41eebad1a83..54e840f51069 100644
--- a/converters/p5-Encode/Makefile
+++ b/converters/p5-Encode/Makefile
@@ -15,7 +15,8 @@ COMMENT= Provides interfaces between strings and the rest of the system
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= patch configure
MAN3= Encode.3 \
Encode::Alias.3 \
diff --git a/converters/recode/Makefile b/converters/recode/Makefile
index 18d1bc523217..cb73c61cc5e2 100644
--- a/converters/recode/Makefile
+++ b/converters/recode/Makefile
@@ -11,9 +11,9 @@ MASTER_SITE_SUBDIR= recode
MAINTAINER= demon@FreeBSD.org
COMMENT= Converts files between character sets and usages
-USES= gettext iconv
+USES= gettext iconv perl5
USE_AUTOTOOLS= libtool
-USE_PERL5= yes
+USE_PERL5= patch run build
USE_LDCONFIG= yes
CONFIGURE_ARGS= --without-included-gettext
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/databases/p5-Cache-Memcached-Managed/Makefile b/databases/p5-Cache-Memcached-Managed/Makefile
index 3673225b26ab..06762871b2f7 100644
--- a/databases/p5-Cache-Memcached-Managed/Makefile
+++ b/databases/p5-Cache-Memcached-Managed/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: p5-Cache-Memcached-Managed
-# Date created: 2006-01-02
-# Whom: Lars Balker Rasmussen <lbr@FreeBSD.org>
-#
+# Created by: Lars Balker Rasmussen <lbr@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= Cache-Memcached-Managed
PORTVERSION= 0.24
@@ -21,7 +17,8 @@ BUILD_DEPENDS= p5-Cache-Memcached>=0:${PORTSDIR}/databases/p5-Cache-Memcached
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= memcached:${PORTSDIR}/databases/memcached
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure extract
MAN3= Cache::Memcached::Managed.3 \
Cache::Memcached::Managed::Inactive.3 \
diff --git a/databases/p5-DBD-Oracle/Makefile b/databases/p5-DBD-Oracle/Makefile
index 18dc44ddec80..d085306a5a5d 100644
--- a/databases/p5-DBD-Oracle/Makefile
+++ b/databases/p5-DBD-Oracle/Makefile
@@ -17,7 +17,8 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
OPTIONS_DEFINE= OCI8 EXAMPLES
OCI8_DESC= Use OCI8
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
CONFIGURE_ENV= ORACLE_HOME="${ORACLE_HOME}"
MAN1= ora_explain.1
diff --git a/databases/p5-DBIx-Class-DigestColumns/Makefile b/databases/p5-DBIx-Class-DigestColumns/Makefile
index dd0556d088c2..f790bf2676d0 100644
--- a/databases/p5-DBIx-Class-DigestColumns/Makefile
+++ b/databases/p5-DBIx-Class-DigestColumns/Makefile
@@ -14,7 +14,8 @@ COMMENT= Automatic digest columns
RUN_DEPENDS= p5-DBIx-Class>=0.06002:${PORTSDIR}/databases/p5-DBIx-Class
BUILD_DEPENDS:= ${RUN_DEPENDS}
-PERL_MODBUILD= yes
+USES= perl5
+USE_PERL5= modbuild extract
MAN3= DBIx::Class::DigestColumns.3
diff --git a/databases/p5-DBIx-Class-EncodedColumn/Makefile b/databases/p5-DBIx-Class-EncodedColumn/Makefile
index 6e59756cca48..fb0c398ed64b 100644
--- a/databases/p5-DBIx-Class-EncodedColumn/Makefile
+++ b/databases/p5-DBIx-Class-EncodedColumn/Makefile
@@ -21,7 +21,8 @@ TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \
p5-Dir-Self>=0:${PORTSDIR}/devel/p5-Dir-Self
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure extract
MAN3= DBIx::Class::EncodedColumn.3 \
DBIx::Class::EncodedColumn::Crypt.3 \
diff --git a/databases/p5-DBIx-Recordset/Makefile b/databases/p5-DBIx-Recordset/Makefile
index 53c417fc6a39..44071b44b794 100644
--- a/databases/p5-DBIx-Recordset/Makefile
+++ b/databases/p5-DBIx-Recordset/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: DBIx::Recordset
-# Date created: 29 Apr 2001
-# Whom: Sergey Skvortsov <skv@protey.ru>
-#
+# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
-#
PORTNAME= DBIx-Recordset
PORTVERSION= 0.26
diff --git a/databases/p5-POE-Component-LaDBI/Makefile b/databases/p5-POE-Component-LaDBI/Makefile
index a01a5d60add1..4c6e0489ad58 100644
--- a/databases/p5-POE-Component-LaDBI/Makefile
+++ b/databases/p5-POE-Component-LaDBI/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: POE-Component-LaDBI
-# Date created: 09 February 2004
-# Whom: Sergey Skvortsov <skv@protey.ru>
-#
+# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
-#
PORTNAME= POE-Component-LaDBI
PORTVERSION= 1.2.1
@@ -18,7 +14,8 @@ BUILD_DEPENDS= p5-POE>=0:${PORTSDIR}/devel/p5-POE \
p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS:= ${BUILD_DEPENDS}
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= POE::Component::LaDBI.3 POE::Component::LaDBI::Commands.3 \
POE::Component::LaDBI::Engine.3 \
diff --git a/databases/p5-POE-Component-RRDTool/Makefile b/databases/p5-POE-Component-RRDTool/Makefile
index c525b6dc1883..67853f5b7e4d 100644
--- a/databases/p5-POE-Component-RRDTool/Makefile
+++ b/databases/p5-POE-Component-RRDTool/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: POE-Component-RRDTool
-# Date created: 05 July 2002
-# Whom: Sergey Skvortsov <skv@protey.ru>
-#
+# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
-#
PORTNAME= POE-Component-RRDTool
PORTVERSION= 0.18
@@ -19,7 +15,8 @@ BUILD_DEPENDS= p5-POE>=0:${PORTSDIR}/devel/p5-POE \
${LOCALBASE}/bin/rrdtool:${PORTSDIR}/databases/rrdtool
RUN_DEPENDS:= ${BUILD_DEPENDS}
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
CONFIGURE_ARGS= </dev/null
MAN3= POE::Component::RRDTool.3
diff --git a/databases/p5-Text-Query-SQL/Makefile b/databases/p5-Text-Query-SQL/Makefile
index 79e938e3654a..e2520d4d4466 100644
--- a/databases/p5-Text-Query-SQL/Makefile
+++ b/databases/p5-Text-Query-SQL/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: databases/p5-Text-Query-SQL
-# Date created: 31 December 2000
-# Whom: Anton Berezin <tobez@tobez.org>
-#
+# Created by: Anton Berezin <tobez@tobez.org>
# $FreeBSD$
-#
PORTNAME= Text-Query-SQL
PORTVERSION= 0.09
@@ -18,7 +14,8 @@ BUILD_DEPENDS= p5-Text-Query>=0:${PORTSDIR}/textproc/p5-Text-Query
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= Text::Query::BuildSQLMifluz.3 Text::Query::BuildSQLMySQL.3 \
Text::Query::BuildSQLFulcrum.3 Text::Query::BuildSQL.3 \
diff --git a/databases/py-sqlrelay/Makefile b/databases/py-sqlrelay/Makefile
index e7517cfd634d..9313ebad04fe 100644
--- a/databases/py-sqlrelay/Makefile
+++ b/databases/py-sqlrelay/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: Python module for SQL Relay
-# Date created: 2 July 2001
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
-#
+# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
-#
PORTNAME= ${SQLRELAY_PORTNAME}
PORTVERSION= ${SQLRELAY_PORTVERSION}
@@ -20,7 +16,8 @@ EXTRACT_DEPENDS= ${NONEXISTENT}:${SQLRELAY_PORTDIR}:patch
LIB_DEPENDS= sqlrclient.0:${SQLRELAY_PORTDIR}
USE_PYTHON= yes
-USE_PERL5_BUILD=yes
+USES= perl5
+USE_PERL5= build patch
WRKSRC= ${WRKDIR}/${PORTNAME}
BUILD_WRKSRC= ${WRKSRC}/src/api/python
diff --git a/devel/bugzilla/Makefile b/devel/bugzilla/Makefile
index 915d973d5768..fd01b36e5518 100644
--- a/devel/bugzilla/Makefile
+++ b/devel/bugzilla/Makefile
@@ -24,7 +24,8 @@ RUN_DEPENDS= \
p5-TimeDate>=1.19:${PORTSDIR}/devel/p5-TimeDate \
p5-URI>=0:${PORTSDIR}/net/p5-URI
-USE_PERL5= yes
+USES= perl5
+USE_PERL5= patch run build
BINMODE= 700
diff --git a/devel/bugzilla3/Makefile b/devel/bugzilla3/Makefile
index 8e6d8648d9a4..0912eeb12503 100644
--- a/devel/bugzilla3/Makefile
+++ b/devel/bugzilla3/Makefile
@@ -24,7 +24,8 @@ RUN_DEPENDS= \
LATEST_LINK= bugzilla3
-USE_PERL5= yes
+USES= perl5
+USE_PERL5= patch run build
BINMODE= 700
diff --git a/devel/bugzilla42/Makefile b/devel/bugzilla42/Makefile
index 669b86307688..89d0f8c3ec40 100644
--- a/devel/bugzilla42/Makefile
+++ b/devel/bugzilla42/Makefile
@@ -27,7 +27,8 @@ RUN_DEPENDS= \
LATEST_LINK= bugzilla42
-USE_PERL5= yes
+USES= perl5
+USE_PERL5= patch run build
BINMODE= 700
diff --git a/devel/bugzilla44/Makefile b/devel/bugzilla44/Makefile
index b301ad94bdae..ab08c85eb527 100644
--- a/devel/bugzilla44/Makefile
+++ b/devel/bugzilla44/Makefile
@@ -27,7 +27,8 @@ RUN_DEPENDS= \
LATEST_LINK= bugzilla44
-USE_PERL5= yes
+USES= perl5
+USE_PERL5= patch build run
BINMODE= 700
diff --git a/devel/cvsmonitor/Makefile b/devel/cvsmonitor/Makefile
index 3ad818a43341..d978dbd94979 100644
--- a/devel/cvsmonitor/Makefile
+++ b/devel/cvsmonitor/Makefile
@@ -43,7 +43,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
-USE_PERL5= yes
+USES= perl5
+USE_PERL5= patch run build
# stolen from cvsweb
.if !exists(${PREFIX}/www) && exists(${PREFIX}/share/apache)
diff --git a/devel/p5-Clone/Makefile b/devel/p5-Clone/Makefile
index 49a3f3c4a25c..d53c0a3892a5 100644
--- a/devel/p5-Clone/Makefile
+++ b/devel/p5-Clone/Makefile
@@ -9,7 +9,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Clone - recursively copy Perl datatypes
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= patch configure
MAN3= Clone.3
diff --git a/devel/p5-ExtUtils-AutoInstall/Makefile b/devel/p5-ExtUtils-AutoInstall/Makefile
index 4d8135ff917d..94e16dff9818 100644
--- a/devel/p5-ExtUtils-AutoInstall/Makefile
+++ b/devel/p5-ExtUtils-AutoInstall/Makefile
@@ -14,7 +14,8 @@ COMMENT= Automatic install of dependencies via CPAN
BUILD_DEPENDS= p5-version>=0.28:${PORTSDIR}/devel/p5-version
RUN_DEPENDS:= ${BUILD_DEPENDS}
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= extract configure
MAN3= ExtUtils::AutoInstall.3
diff --git a/devel/p5-MRO-Compat/Makefile b/devel/p5-MRO-Compat/Makefile
index 3b106848ee98..d5c7b6b6b523 100644
--- a/devel/p5-MRO-Compat/Makefile
+++ b/devel/p5-MRO-Compat/Makefile
@@ -14,7 +14,8 @@ COMMENT= Add mro::* interface compatibility for Perls < 5.9.5
BUILD_DEPENDS= p5-Class-C3>=0.19:${PORTSDIR}/devel/p5-Class-C3
RUN_DEPENDS:= ${BUILD_DEPENDS}
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= extract configure
MAN3= MRO::Compat.3
diff --git a/devel/p5-Moose/Makefile b/devel/p5-Moose/Makefile
index 8d8675a5ed70..aa0860cc31a3 100644
--- a/devel/p5-Moose/Makefile
+++ b/devel/p5-Moose/Makefile
@@ -41,7 +41,8 @@ TEST_DEPENDS= \
CFLAGS+= -I. # mop.h
MAKE_JOBS_UNSAFE= yes
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure extract
MAN3= Class::MOP.3 \
Class::MOP::Attribute.3 \
diff --git a/devel/p5-Package-DeprecationManager/Makefile b/devel/p5-Package-DeprecationManager/Makefile
index 06730713a95a..b38a43908d75 100644
--- a/devel/p5-Package-DeprecationManager/Makefile
+++ b/devel/p5-Package-DeprecationManager/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: Package-DeprecationManager
-# Date created: 05 August 2010
-# Whom: Frederic Culot <frederic@culot.org>
-#
+# Created by: Frederic Culot <frederic@culot.org>
# $FreeBSD$
-#
PORTNAME= Package-DeprecationManager
PORTVERSION= 0.13
@@ -26,7 +22,8 @@ RUN_DEPENDS= p5-Params-Util>=0:${PORTSDIR}/devel/p5-Params-Util \
TEST_DEPENDS= p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal \
p5-Test-Requires>=0:${PORTSDIR}/devel/p5-Test-Requires
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure extract
MAN3= Package::DeprecationManager.3
diff --git a/dns/p5-DNS-Config/Makefile b/dns/p5-DNS-Config/Makefile
index de41ea548f7a..af480bf4f87c 100644
--- a/dns/p5-DNS-Config/Makefile
+++ b/dns/p5-DNS-Config/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: p5-DNS-Config
-# Date created: 22 February 2003
-# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
-#
+# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
# $FreeBSD$
-#
PORTNAME= DNS-Config
PORTVERSION= 0.66
@@ -15,7 +11,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= DNS::Config is set of perl modules for name service configurations
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
post-patch:
${FIND} ${WRKSRC} -name '*.pm' -o -name '*.t' -o -name '*.PL' | \
diff --git a/dns/p5-DNS-Zone/Makefile b/dns/p5-DNS-Zone/Makefile
index ff1f25f4f423..f771dee4a89a 100644
--- a/dns/p5-DNS-Zone/Makefile
+++ b/dns/p5-DNS-Zone/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: p5-DNS-Zone
-# Date created: 22 February 2003
-# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
-#
+# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
# $FreeBSD$
-#
PORTNAME= DNS-Zone
PORTVERSION= 0.85
@@ -15,7 +11,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= DNS::Zone is set of perl modules for name service zone files
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
post-patch:
${FIND} ${WRKSRC} -name '*.pm' -o -name '*.t' -o -name '*.PL' | \
diff --git a/finance/ledgersmb12/Makefile b/finance/ledgersmb12/Makefile
index f26a599b377c..8141e6cc1fb5 100644
--- a/finance/ledgersmb12/Makefile
+++ b/finance/ledgersmb12/Makefile
@@ -18,7 +18,8 @@ LATEST_LINK= ledgersmb12
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
-USE_PERL5= yes
+USES= perl5
+USE_PERL5= run build patch
SUB_FILES= pkg-message
diff --git a/finance/p5-Business-OnlinePayment-2CheckOut/Makefile b/finance/p5-Business-OnlinePayment-2CheckOut/Makefile
index 27beef13da6d..6e2fce2d2f8d 100644
--- a/finance/p5-Business-OnlinePayment-2CheckOut/Makefile
+++ b/finance/p5-Business-OnlinePayment-2CheckOut/Makefile
@@ -16,7 +16,8 @@ BUILD_DEPENDS= p5-Business-CreditCard>=0:${PORTSDIR}/finance/p5-Business-CreditC
p5-Text-CSV_XS>=0:${PORTSDIR}/textproc/p5-Text-CSV_XS
RUN_DEPENDS:= ${BUILD_DEPENDS}
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= Business::OnlinePayment::2CheckOut.3
diff --git a/finance/p5-Business-OnlinePayment-SurePay/Makefile b/finance/p5-Business-OnlinePayment-SurePay/Makefile
index 1f355ccec713..6553e23585dc 100644
--- a/finance/p5-Business-OnlinePayment-SurePay/Makefile
+++ b/finance/p5-Business-OnlinePayment-SurePay/Makefile
@@ -14,7 +14,8 @@ BUILD_DEPENDS= p5-Business-CreditCard>=0:${PORTSDIR}/finance/p5-Business-CreditC
p5-Business-OnlinePayment>=0:${PORTSDIR}/finance/p5-Business-OnlinePayment
RUN_DEPENDS:= ${BUILD_DEPENDS}
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= Business::OnlinePayment::SurePay.3
diff --git a/finance/p5-Business-WorldPay-Junior/Makefile b/finance/p5-Business-WorldPay-Junior/Makefile
index f6eff9ab952e..89b3157d5fc2 100644
--- a/finance/p5-Business-WorldPay-Junior/Makefile
+++ b/finance/p5-Business-WorldPay-Junior/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: Business::OnlinePayment::WorldPay::Junior
-# Date created: 24 October 2002
-# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
-#
+# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= Business-WorldPay-Junior
PORTVERSION= 1.07
@@ -19,7 +15,8 @@ BUILD_DEPENDS= p5-Business-CreditCard>=0:${PORTSDIR}/finance/p5-Business-CreditC
p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS:= ${BUILD_DEPENDS}
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= Business::WorldPay::Junior.3
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index a746593bc444..5da7ef6ecea5 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -32,9 +32,9 @@ COMMENT= Image processing tools
LICENSE= AL2
-USES= pkgconfig pathfix
+USES= pkgconfig pathfix perl5
USE_XZ= yes
-USE_PERL5= yes
+USE_PERL5= run build patch
WANT_GNOME= yes
USE_AUTOTOOLS= libltdl
# For some reason, using our libtool breaks the build into pieces:
diff --git a/lang/gcc-aux/Makefile b/lang/gcc-aux/Makefile
index de86cea54787..b81f93638391 100644
--- a/lang/gcc-aux/Makefile
+++ b/lang/gcc-aux/Makefile
@@ -35,6 +35,9 @@ OBJC_DESC= Build Objective-C language
STATIC_DESC= Build with no shared libraries other than libc
TESTSUITE_DESC= Activate test support
+USES= perl5
+USE_PERL5= extract
+
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD
diff --git a/mail/openwebmail/Makefile b/mail/openwebmail/Makefile
index d49ec0e860fb..7733083ad72b 100644
--- a/mail/openwebmail/Makefile
+++ b/mail/openwebmail/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: openwebmail
-# Date created: 24 April 2001
-# Whom: Yen-Ming Lee <leeym@leeym.com>
-#
+# Created by: Yen-Ming Lee <leeym@leeym.com>
# $FreeBSD$
-#
PORTNAME= openwebmail
PORTVERSION= 2.53
@@ -18,7 +14,8 @@ COMMENT= A webmail system designed to manage big mail folder files efficiently
RUN_DEPENDS= p5-Text-Iconv>=0:${PORTSDIR}/converters/p5-Text-Iconv
-USE_PERL5= yes
+USES= perl5
+USE_PERL5= run build patch
NO_BUILD= yes
NO_WRKSUBDIR= yes
OWCGIDIR= ${PREFIX}/www/cgi-bin/openwebmail
diff --git a/mail/p5-Mail-Bulkmail/Makefile b/mail/p5-Mail-Bulkmail/Makefile
index 1b9376b410c3..21a842a6b84f 100644
--- a/mail/p5-Mail-Bulkmail/Makefile
+++ b/mail/p5-Mail-Bulkmail/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: Mail-Bulkmail
-# Date created: Wed Jan 3 13:26:45 2001
-# Whom: will
-#
+# Created by: will
# $FreeBSD$
-#
PORTNAME= Mail-Bulkmail
PORTVERSION= 3.12
@@ -14,7 +10,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Perl module for mailing lists
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= Mail::Bulkmail.3 Mail::Bulkmail::Dynamic.3 \
Mail::Bulkmail::Server.3 Mail::Bulkmail::Object.3 \
diff --git a/mail/razor-agents/Makefile b/mail/razor-agents/Makefile
index 51a8437d0ab4..639cbc8db0fe 100644
--- a/mail/razor-agents/Makefile
+++ b/mail/razor-agents/Makefile
@@ -14,7 +14,8 @@ BUILD_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS \
p5-URI>=0:${PORTSDIR}/net/p5-URI
RUN_DEPENDS:= ${BUILD_DEPENDS}
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAKE_JOBS_UNSAFE= yes
MAKE_ARGS+= PERLPREFIX=${PREFIX}
diff --git a/math/p5-Date-Handler/Makefile b/math/p5-Date-Handler/Makefile
index 9dac9bc8bb91..cf80ed4b2679 100644
--- a/math/p5-Date-Handler/Makefile
+++ b/math/p5-Date-Handler/Makefile
@@ -1,11 +1,5 @@
-# New ports collection makefile for: p5-Date-Handler
-# Date Created: 25 Aug 2001
-# Whom: Shell Hung <shell@shellhung.org>
-#
+# Created by: Shell Hung <shell@shellhung.org>
# $FreeBSD$
-#
-# Considering this module for calculating date, so
-# I putted it into 'math' and not 'devel' or other
PORTNAME= Date-Handler
PORTVERSION= 1.2
@@ -16,7 +10,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module for calculating time differences
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= Date::Handler.3 Date::Handler::Delta.3 \
Date::Handler::Range.3 Date::Handler::Test.3
diff --git a/math/p5-Math-BigInt-GMP/Makefile b/math/p5-Math-BigInt-GMP/Makefile
index be7d6f42a065..342f99ce0630 100644
--- a/math/p5-Math-BigInt-GMP/Makefile
+++ b/math/p5-Math-BigInt-GMP/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: math/p5-Math-BigInt-GMP
-# Date created: 7 February 2007
-# Whom: Maxime Henrion <mux@FreeBSD.org>
-#
+# Created by: Maxime Henrion <mux@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= Math-BigInt-GMP
PORTVERSION= 1.37
@@ -21,7 +17,8 @@ BUILD_DEPENDS= p5-Math-BigInt>=1.997:${PORTSDIR}/math/p5-Math-BigInt
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
RUN_DEPENDS= p5-Math-BigInt>=1.997:${PORTSDIR}/math/p5-Math-BigInt
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
CONFIGURE_ARGS= INC="-I${LOCALBASE}/include"
MAN3= Math::BigInt::GMP.3
diff --git a/math/p5-Math-SimpleVariable/Makefile b/math/p5-Math-SimpleVariable/Makefile
index d040733c0dc0..f803ae6ffd39 100644
--- a/math/p5-Math-SimpleVariable/Makefile
+++ b/math/p5-Math-SimpleVariable/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: Math::SimpleVariable
-# Date created: 5 Nov 2001
-# Whom: Sergey Skvortsov <skv@FreeBSD.org>
-#
+# Created by: Sergey Skvortsov <skv@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= Math-SimpleVariable
PORTVERSION= 0.03
@@ -15,7 +11,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Simple representation of mathematical variables
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= Math::SimpleVariable.3
diff --git a/misc/patchutils/Makefile b/misc/patchutils/Makefile
index 3d999d85f752..cfc778383c52 100644
--- a/misc/patchutils/Makefile
+++ b/misc/patchutils/Makefile
@@ -10,7 +10,8 @@ MAINTAINER= johans@FreeBSD.org
COMMENT= A small collection of programs that operate on patch files
USE_XZ= yes
-USE_PERL5= yes
+USES= perl5
+USE_PERL5= run build patch
GNU_CONFIGURE= yes
MAN1= combinediff.1 dehtmldiff.1 editdiff.1 espdiff.1 filterdiff.1 \
diff --git a/multimedia/dvdrip/Makefile b/multimedia/dvdrip/Makefile
index af7dffd87cf3..01c6c87a1c31 100644
--- a/multimedia/dvdrip/Makefile
+++ b/multimedia/dvdrip/Makefile
@@ -33,9 +33,9 @@ OPTIONS_DEFINE= VORBIS SUBTITLE
OPTIONS_DEFAULT= VORBIS SUBTITLE
SUBTITLE_DESC= Enable support for getting subtitles
-PERL_CONFIGURE= yes
CONFIGURE_ENV= SKIP_UNPACK_REQUIRED_MODULES=1
-USES= gettext
+USES= gettext perl5
+USE_PERL5= configure patch
MAKE_JOBS_UNSAFE= yes
MAN1= dvdrip.1 dvdrip-progress.1 dvdrip-splitpipe.1
diff --git a/multimedia/gtk-youtube-viewer/Makefile b/multimedia/gtk-youtube-viewer/Makefile
index e99c429cd8ce..6f87b0903092 100644
--- a/multimedia/gtk-youtube-viewer/Makefile
+++ b/multimedia/gtk-youtube-viewer/Makefile
@@ -35,7 +35,8 @@ GH_COMMIT= c26d9a7
WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}/WWW-YoutubeViewer
CONFIGURE_ARGS+=${DATADIR}
-PERL_MODBUILD= 5.14+
+USES= perl5
+USE_PERL5= 5.16+ patch modbuild
MAN3= WWW::YoutubeViewer::RegularExpressions.3 \
WWW::YoutubeViewer.3 \
diff --git a/net-mgmt/p5-NetAddr-IP/Makefile b/net-mgmt/p5-NetAddr-IP/Makefile
index 46b4c7d6efd0..c9e73dbd7669 100644
--- a/net-mgmt/p5-NetAddr-IP/Makefile
+++ b/net-mgmt/p5-NetAddr-IP/Makefile
@@ -11,7 +11,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Perl module for working with IP addresses and blocks thereof
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= patch configure
MAN3= NetAddr::IP.3 \
NetAddr::IP::InetBase.3 \
diff --git a/net/p5-Net-RawSock/Makefile b/net/p5-Net-RawSock/Makefile
index 31b2e2f0936a..82c01859b836 100644
--- a/net/p5-Net-RawSock/Makefile
+++ b/net/p5-Net-RawSock/Makefile
@@ -9,7 +9,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ecu@200ok.org
COMMENT= Net::RawSock provides a base function to send raw IP packets from Perl
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= Net::RawSock.3
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
diff --git a/net/p5-POE-Component-ControlPort/Makefile b/net/p5-POE-Component-ControlPort/Makefile
index e1a25a5e0b55..7a6b47ecb6a4 100644
--- a/net/p5-POE-Component-ControlPort/Makefile
+++ b/net/p5-POE-Component-ControlPort/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: net/p5-POE-Component-ControlPort
-# Date created: 05 February 2006
-# Whom: Zach Thompson <hideo@lastamericanempire.com>
-#
+# Created by: Zach Thompson <hideo@lastamericanempire.com>
# $FreeBSD$
-#
PORTNAME= POE-Component-ControlPort
PORTVERSION= 0.01
@@ -20,7 +16,8 @@ RUN_DEPENDS= p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate \
BUILD_DEPENDS:= ${RUN_DEPENDS}
BUILD_DEPENDS+= p5-Test-Simple>=0:${PORTSDIR}/devel/p5-Test-Simple
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure extract
MAN3= POE::Component::ControlPort.3 \
POE::Component::ControlPort::Command.3 \
diff --git a/sysutils/reed/Makefile b/sysutils/reed/Makefile
index 17d859fae862..e0f643b43966 100644
--- a/sysutils/reed/Makefile
+++ b/sysutils/reed/Makefile
@@ -13,7 +13,8 @@ COMMENT= A text pager with autoscrolling and more
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USE_PERL5= yes
+USES= perl5
+USE_PERL5= run build patch
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configures
diff --git a/textproc/man2html/Makefile b/textproc/man2html/Makefile
index bee7de0a15e7..c8e5940fd9ce 100644
--- a/textproc/man2html/Makefile
+++ b/textproc/man2html/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: man2html
-# Date created: 29 August 1998
-# Whom: Dima Sivachenko <demon@gpad.ac.ru>
-#
+# Created by: Dima Sivachenko <demon@gpad.ac.ru>
# $FreeBSD$
-#
PORTNAME= man2html
PORTVERSION= 3.0.1
@@ -16,7 +12,8 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= demon@FreeBSD.org
COMMENT= Convert nroff(1) man pages to HTML
-USE_PERL5= yes
+USES= perl5
+USE_PERL5= run build patch
NO_BUILD= yes
CGIDIR= ${PREFIX}/www/cgi-bin
diff --git a/textproc/p5-PerlPoint-Converters/Makefile b/textproc/p5-PerlPoint-Converters/Makefile
index 82339b6f5980..796673d2b53f 100644
--- a/textproc/p5-PerlPoint-Converters/Makefile
+++ b/textproc/p5-PerlPoint-Converters/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: p5-PerlPoint-Converters
-# Date created: 8 Jun 2004
-# Whom: mat
-#
+# Created by: mat
# $FreeBSD$
-#
PORTNAME= PerlPoint-Converters
PORTVERSION= 1.02.05
@@ -19,7 +15,8 @@ BUILD_DEPENDS= p5-PerlPoint-Package>=0:${PORTSDIR}/textproc/p5-PerlPoint-Package
p5-Getopt-ArgvFile>=0:${PORTSDIR}/devel/p5-Getopt-ArgvFile
RUN_DEPENDS:= ${BUILD_DEPENDS}
-PERL_CONFIGURE= YES
+USES= perl5
+USE_PERL5= configure patch
MAN1= pp2html.1 pp2latex.1
MAN3= Bundle::PerlPoint.3 \
diff --git a/textproc/p5-Spreadsheet-WriteExcel/Makefile b/textproc/p5-Spreadsheet-WriteExcel/Makefile
index 66ad67ccbcf5..94bc18bf9662 100644
--- a/textproc/p5-Spreadsheet-WriteExcel/Makefile
+++ b/textproc/p5-Spreadsheet-WriteExcel/Makefile
@@ -17,6 +17,8 @@ BUILD_DEPENDS= p5-Parse-RecDescent>=0:${PORTSDIR}/devel/p5-Parse-RecDescent \
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
+USE_DOS2UNIX= yes
+DOS2UNIX_REGEX= "*.p[lm]"
MAN1= chartex.1
MAN3= Spreadsheet::WriteExcel.3 \
@@ -40,10 +42,6 @@ MAN3= Spreadsheet::WriteExcel.3 \
Spreadsheet::WriteExcel::Workbook.3 \
Spreadsheet::WriteExcel::Worksheet.3
-post-patch:
- @${FIND} ${WRKSRC} -name "*.p[lm]"| \
- ${XARGS} ${PERL} -pi -e 's/\x0D(?=\x0A)//g'
-
post-install:
.ifndef(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
diff --git a/textproc/p5-Text-FixedLength-Extra/Makefile b/textproc/p5-Text-FixedLength-Extra/Makefile
index 0424d8cced2b..77e7847291d1 100644
--- a/textproc/p5-Text-FixedLength-Extra/Makefile
+++ b/textproc/p5-Text-FixedLength-Extra/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: textproc/p5-Text-FixedLength-Extra
-# Date created: 30 December 2000
-# Whom: Anton Berezin <tobez@tobez.org>
-#
+# Created by: Anton Berezin <tobez@tobez.org>
# $FreeBSD$
-#
PORTNAME= Text-FixedLength-Extra
PORTVERSION= 1.1
@@ -17,7 +13,8 @@ COMMENT= Various niceties for p5-Text-FixedLength lovers
BUILD_DEPENDS= p5-Text-FixedLength>=0:${PORTSDIR}/textproc/p5-Text-FixedLength
RUN_DEPENDS:= ${BUILD_DEPENDS}
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= Text::FixedLength::Extra.3
diff --git a/textproc/p5-Text-Query/Makefile b/textproc/p5-Text-Query/Makefile
index f04199ba842d..eba4a42e59b3 100644
--- a/textproc/p5-Text-Query/Makefile
+++ b/textproc/p5-Text-Query/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: textproc/p5-Text-Query
-# Date created: 31 December 2000
-# Whom: Anton Berezin <tobez@tobez.org>
-#
+# Created by: Anton Berezin <tobez@tobez.org>
# $FreeBSD$
-#
PORTNAME= Text-Query
PORTVERSION= 0.07
@@ -14,7 +10,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Query processing framework
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= Text::Query.3 Text::Query::Build.3 \
Text::Query::BuildAdvancedString.3 \
diff --git a/textproc/p5-Text-Tmpl/Makefile b/textproc/p5-Text-Tmpl/Makefile
index 3713bf465553..df31a5c13689 100644
--- a/textproc/p5-Text-Tmpl/Makefile
+++ b/textproc/p5-Text-Tmpl/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: textproc/p5-Text-Tmpl
-# Date created: 31 December 2000
-# Whom: Anton Berezin <tobez@tobez.org>
-#
+# Created by: Anton Berezin <tobez@tobez.org>
# $FreeBSD$
-#
PORTNAME= Text-Tmpl
PORTVERSION= 0.33
@@ -14,7 +10,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Templating system perl library
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= template_syntax.3 Text::Tmpl.3 template_extend.3
diff --git a/textproc/p5-XML-SAX-Expat/Makefile b/textproc/p5-XML-SAX-Expat/Makefile
index 069624088415..eadc505640b4 100644
--- a/textproc/p5-XML-SAX-Expat/Makefile
+++ b/textproc/p5-XML-SAX-Expat/Makefile
@@ -15,7 +15,8 @@ RUN_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
p5-XML-NamespaceSupport>=0:${PORTSDIR}/textproc/p5-XML-NamespaceSupport
BUILD_DEPENDS:= ${RUN_DEPENDS}
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= XML::SAX::Expat.3
diff --git a/textproc/p5-XML-STX/Makefile b/textproc/p5-XML-STX/Makefile
index 74115c53dfc0..fe25a3b1cf0c 100644
--- a/textproc/p5-XML-STX/Makefile
+++ b/textproc/p5-XML-STX/Makefile
@@ -15,7 +15,8 @@ BUILD_DEPENDS= p5-XML-SAX>=0:${PORTSDIR}/textproc/p5-XML-SAX \
p5-XML-NamespaceSupport>=0:${PORTSDIR}/textproc/p5-XML-NamespaceSupport
RUN_DEPENDS:= ${BUILD_DEPENDS}
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= XML::STX.3 XML::STX::Base.3 XML::STX::Buffer.3 \
XML::STX::Functions.3 XML::STX::Parser.3 XML::STX::Runtime.3 \
diff --git a/textproc/p5-XML-SimpleObject/Makefile b/textproc/p5-XML-SimpleObject/Makefile
index 29d54102d2b7..30ea0d691249 100644
--- a/textproc/p5-XML-SimpleObject/Makefile
+++ b/textproc/p5-XML-SimpleObject/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: p5-XML-SimpleObject
-# Date created: 14 November 2001
-# Whom: steve
-#
+# Created by: steve
# $FreeBSD$
-#
PORTNAME= XML-SimpleObject
PORTVERSION= 0.53
@@ -19,7 +15,8 @@ BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
WRKSRC?= ${WRKDIR}/${PORTNAME}${PORTVERSION}
-PERL_CONFIGURE= YES
+USES= perl5
+USE_PERL5= configure patch
CONFIGURE_ARGS+= DIR='Enhanced'
MAN3= XML::SimpleObject.3
diff --git a/textproc/sablotron/Makefile b/textproc/sablotron/Makefile
index c66e682e5dec..d9f18ff23d11 100644
--- a/textproc/sablotron/Makefile
+++ b/textproc/sablotron/Makefile
@@ -39,9 +39,9 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lexpat -liconv
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
-USES= iconv
+USES= iconv perl5
GNU_CONFIGURE= yes
-USE_PERL5_BUILD= yes
+USE_PERL5= build patch
MAN1= sabcmd.1
diff --git a/www/p5-AMF-Perl/Makefile b/www/p5-AMF-Perl/Makefile
index c6dddd1f9206..9434130dbeec 100644
--- a/www/p5-AMF-Perl/Makefile
+++ b/www/p5-AMF-Perl/Makefile
@@ -15,7 +15,8 @@ COMMENT= Flash Remoting in Perl
RUN_DEPENDS= p5-Exception-Class>=0:${PORTSDIR}/devel/p5-Exception-Class \
p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
NO_MANCOMPRESS= no
MAN3= AMF::Perl.3 AMF::Perl::App::Executive.3 \
diff --git a/www/p5-Apache-Admin-Config/Makefile b/www/p5-Apache-Admin-Config/Makefile
index 499ceb261a54..8703cc5dfae2 100644
--- a/www/p5-Apache-Admin-Config/Makefile
+++ b/www/p5-Apache-Admin-Config/Makefile
@@ -10,7 +10,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module to manipulate Apache configuration files
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= Apache::Admin::Config.3
diff --git a/www/p5-CGI-SpeedyCGI/Makefile b/www/p5-CGI-SpeedyCGI/Makefile
index fced4ce3308d..a16481d19090 100644
--- a/www/p5-CGI-SpeedyCGI/Makefile
+++ b/www/p5-CGI-SpeedyCGI/Makefile
@@ -12,7 +12,8 @@ MAINTAINER= lth@FreeBSD.org
COMMENT= Speed up perl CGI scripts by running them persistently
MAKE_JOBS_UNSAFE= yes
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
OPTIONS_DEFINE= APACHE
OPTIONS_DEFAULT=APACHE
diff --git a/www/p5-Catalyst-Model-DBIC-Schema/Makefile b/www/p5-Catalyst-Model-DBIC-Schema/Makefile
index a99f1a147f94..0210f4144dbc 100644
--- a/www/p5-Catalyst-Model-DBIC-Schema/Makefile
+++ b/www/p5-Catalyst-Model-DBIC-Schema/Makefile
@@ -33,7 +33,8 @@ TEST_DEPENDS= p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \
p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
p5-Test-Requires>=0:${PORTSDIR}/devel/p5-Test-Requires
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure extract
MAN3= Catalyst::Helper::Model::DBIC::Schema.3 \
Catalyst::Model::DBIC::Schema.3 \
diff --git a/www/p5-Catalyst-Plugin-Cache/Makefile b/www/p5-Catalyst-Plugin-Cache/Makefile
index 8ac8a3a63bad..13f4bc99ec59 100644
--- a/www/p5-Catalyst-Plugin-Cache/Makefile
+++ b/www/p5-Catalyst-Plugin-Cache/Makefile
@@ -19,7 +19,8 @@ TEST_DEPENDS= p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
p5-Test-WWW-Mechanize-Catalyst>=0:${PORTSDIR}/devel/p5-Test-WWW-Mechanize-Catalyst
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= Catalyst::Plugin::Cache.3 \
Catalyst::Plugin::Cache::Backend.3 \
diff --git a/www/p5-Catalyst-Plugin-Session-State-Cookie/Makefile b/www/p5-Catalyst-Plugin-Session-State-Cookie/Makefile
index aa6d0c993f34..ee93640dcb07 100644
--- a/www/p5-Catalyst-Plugin-Session-State-Cookie/Makefile
+++ b/www/p5-Catalyst-Plugin-Session-State-Cookie/Makefile
@@ -18,7 +18,8 @@ RUN_DEPENDS= \
p5-namespace-autoclean>0:${PORTSDIR}/devel/p5-namespace-autoclean
BUILD_DEPENDS:= ${RUN_DEPENDS}
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure extract
MAN3= Catalyst::Plugin::Session::State::Cookie.3
diff --git a/www/p5-Catalyst-Plugin-Session/Makefile b/www/p5-Catalyst-Plugin-Session/Makefile
index 1b5d4fd9f332..8cde94077998 100644
--- a/www/p5-Catalyst-Plugin-Session/Makefile
+++ b/www/p5-Catalyst-Plugin-Session/Makefile
@@ -24,7 +24,8 @@ TEST_DEPENDS= p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
p5-Test-WWW-Mechanize-PSGI>=0:${PORTSDIR}/devel/p5-Test-WWW-Mechanize-PSGI
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure extract
MAN3= Catalyst::Plugin::Session.3 \
Catalyst::Plugin::Session::State.3 \
diff --git a/www/p5-HTTP-MHTTP/Makefile b/www/p5-HTTP-MHTTP/Makefile
index e3168fb5dcc3..8dc630cb9f64 100644
--- a/www/p5-HTTP-MHTTP/Makefile
+++ b/www/p5-HTTP-MHTTP/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: HTTP-MHTTP
-# Date created: 22 January 2004
-# Whom: Sergey Skvortsov <skv@protey.ru>
-#
+# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
-#
PORTNAME= HTTP-MHTTP
PORTVERSION= 0.15
@@ -14,7 +10,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Low level access to the HTTP protocol
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
USE_OPENSSL= yes
CONFIGURE_ENV= GOTSSL=yes
CONFIGURE_ARGS= --default
diff --git a/www/p5-Maypole-Authentication-UserSessionCookie/Makefile b/www/p5-Maypole-Authentication-UserSessionCookie/Makefile
index 779774cfe8d0..f06982008c92 100644
--- a/www/p5-Maypole-Authentication-UserSessionCookie/Makefile
+++ b/www/p5-Maypole-Authentication-UserSessionCookie/Makefile
@@ -1,7 +1,4 @@
-# New ports collection makefile for: p5-Maypole-Authentication-UserSessionCookie
-# Date created: Aug 21 2004
-# Whom: Marc G. Fournier
-#
+# Created by: Marc G. Fournier
# $FreeBSD$
PORTNAME= Maypole-Authentication-UserSessionCookie
@@ -15,7 +12,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Track sessions and, optionally, users
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= Maypole::Authentication::UserSessionCookie.3
diff --git a/www/p5-Maypole-Component/Makefile b/www/p5-Maypole-Component/Makefile
index 6075cf70ba96..d9753d83d50e 100644
--- a/www/p5-Maypole-Component/Makefile
+++ b/www/p5-Maypole-Component/Makefile
@@ -1,7 +1,4 @@
-# New ports collection makefile for: p5-Maypole-Component
-# Date created: Aug 26 2004
-# Whom: Marc G. Fournier
-#
+# Created by: Marc G. Fournier
# $FreeBSD$
PORTNAME= Maypole-Component
@@ -14,7 +11,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Run Maypole sub-requests as components
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MAN3= Maypole::Component.3
diff --git a/x11/p5-X11-IdleTime/Makefile b/x11/p5-X11-IdleTime/Makefile
index 8b90be9897d8..ad8469f3f21b 100644
--- a/x11/p5-X11-IdleTime/Makefile
+++ b/x11/p5-X11-IdleTime/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: p5-X11-IdleTime
-# Date created: 9 July 2003
-# Whom: Sean Farley <sean-freebsd@farley.org>
-#
+# Created by: Sean Farley <sean-freebsd@farley.org>
# $FreeBSD$
-#
PORTNAME= X11-IdleTime
PORTVERSION= 0.5
@@ -21,7 +17,8 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
MAKE_JOBS_UNSAFE= yes
USE_XORG= x11 xscrnsaver
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure patch
MANPREFIX= ${SITE_PERL}
MAN3= X11::IdleTime.3
diff --git a/x11/rxvt-devel/Makefile b/x11/rxvt-devel/Makefile
index 899e43ebdf9b..da30e6a3384d 100644
--- a/x11/rxvt-devel/Makefile
+++ b/x11/rxvt-devel/Makefile
@@ -15,7 +15,8 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A low memory usage xterm replacement that supports color
USE_AUTOTOOLS= libtool
-USE_PERL5_BUILD=yes
+USES= perl5
+USE_PERL5= build patch
USE_XORG= xpm
GNU_CONFIGURE= yes