summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--biology/emboss/Makefile2
-rw-r--r--biology/py-biopython/Makefile2
-rw-r--r--emulators/scummvm/Makefile2
-rw-r--r--french/staroffice52/Makefile2
-rw-r--r--games/3dc/Makefile2
-rw-r--r--games/alephone/Makefile2
-rw-r--r--games/atr3d/Makefile2
-rw-r--r--games/awele/Makefile2
-rw-r--r--games/bomberinstinct/Makefile2
-rw-r--r--games/doom/Makefile2
-rw-r--r--games/falconseye/Makefile2
-rw-r--r--games/gcompris/Makefile2
-rw-r--r--games/gnocatan/Makefile2
-rw-r--r--games/gnomechess/Makefile2
-rw-r--r--games/gracer/Makefile2
-rw-r--r--games/hlserver-admin/Makefile2
-rw-r--r--games/hlserver-psychostats/Makefile2
-rw-r--r--games/lbreakout/Makefile2
-rw-r--r--games/myth2_demo/Makefile2
-rw-r--r--games/pengpong/Makefile2
-rw-r--r--games/pioneers/Makefile2
-rw-r--r--games/rtcw/Makefile2
-rw-r--r--games/scummvm/Makefile2
-rw-r--r--games/toppler/Makefile2
-rw-r--r--games/ttraffic/Makefile2
-rw-r--r--games/tuxtype/Makefile2
-rw-r--r--games/tvp/Makefile2
-rw-r--r--games/virt/Makefile2
-rw-r--r--games/xsokoban/Makefile2
-rw-r--r--games/zangband/Makefile2
-rw-r--r--german/staroffice5/Makefile2
-rw-r--r--german/staroffice52/Makefile2
-rw-r--r--graphics/backfract/Makefile2
-rw-r--r--graphics/enfle/Makefile2
-rw-r--r--graphics/gtkgraph/Makefile2
-rw-r--r--graphics/pvmpov/Makefile2
-rw-r--r--graphics/py-opengl/Makefile2
-rw-r--r--graphics/utah-glx/Makefile2
-rw-r--r--graphics/xli/Makefile2
-rw-r--r--graphics/xmandel/Makefile2
-rw-r--r--graphics/xv/Makefile2
-rw-r--r--irc/scrollz/Makefile2
-rw-r--r--japanese/balsa/Makefile2
-rw-r--r--japanese/gal/Makefile2
-rw-r--r--japanese/xshodou/Makefile2
-rw-r--r--korean/baekmukfonts-bdf/Makefile2
-rw-r--r--korean/eterm/Makefile2
-rw-r--r--korean/gtkcomm/Makefile2
-rw-r--r--korean/hlatexp/Makefile2
-rw-r--r--lang/glade-gpl/Makefile2
-rw-r--r--lang/gnat-glade/Makefile2
-rw-r--r--lang/kawa/Makefile2
-rw-r--r--mail/arrow/Makefile2
-rw-r--r--mail/qmail-contrib/Makefile2
-rw-r--r--mail/qmail-ldap/Makefile2
-rw-r--r--mail/qmail-mysql/Makefile2
-rw-r--r--mail/qmail-smtp_auth+tls/Makefile2
-rw-r--r--mail/qmail-smtp_auth/Makefile2
-rw-r--r--mail/qmail-tls/Makefile2
-rw-r--r--mail/qmail/Makefile2
-rw-r--r--mail/qmailanalog/Makefile2
-rw-r--r--math/djbfft/Makefile2
-rw-r--r--math/qscanplot/Makefile2
-rw-r--r--math/rcalc/Makefile2
-rw-r--r--math/scigraphica/Makefile2
-rw-r--r--math/simpack/Makefile2
-rw-r--r--mbone/vic/Makefile2
-rw-r--r--misc/astrolog/Makefile2
-rw-r--r--misc/explosions/Makefile2
-rw-r--r--misc/gkrellscore/Makefile2
-rw-r--r--multimedia/oqtencoder/Makefile2
-rw-r--r--multimedia/vic/Makefile2
-rw-r--r--net-p2p/phex/Makefile2
-rw-r--r--net/clusterit/Makefile2
-rw-r--r--net/gnomba/Makefile2
-rw-r--r--net/jags/Makefile2
-rw-r--r--net/openverse/Makefile2
-rw-r--r--net/papaya-plugins/Makefile2
-rw-r--r--net/papaya/Makefile2
-rw-r--r--net/phex/Makefile2
-rw-r--r--net/ppxp/Makefile2
-rw-r--r--net/svnc/Makefile2
-rw-r--r--net/tvark/Makefile2
-rw-r--r--net/xsmbrowser/Makefile2
-rw-r--r--palm/malsync/Makefile2
-rw-r--r--portuguese/staroffice52/Makefile2
-rw-r--r--print/acrobatviewer/Makefile2
-rw-r--r--print/xdvi/Makefile2
-rw-r--r--security/l0phtcrack/Makefile2
-rw-r--r--security/secpanel/Makefile2
-rw-r--r--security/ssh-gui/Makefile2
-rw-r--r--security/tripwire12/Makefile2
-rw-r--r--sysutils/gcombust/Makefile2
-rw-r--r--sysutils/gupsc/Makefile2
-rw-r--r--sysutils/service-config/Makefile2
-rw-r--r--textproc/orchard-c/Makefile2
-rw-r--r--www/bluefish/Makefile2
-rw-r--r--www/evg/Makefile2
-rw-r--r--www/neowebscript/Makefile2
-rw-r--r--x11-fonts/getbdf/Makefile2
-rw-r--r--x11-themes/sapphire-themes/Makefile2
-rw-r--r--x11-toolkits/libgtkeditor/Makefile2
-rw-r--r--x11-toolkits/qt145/Makefile2
-rw-r--r--x11-toolkits/qt23/Makefile2
-rw-r--r--x11-toolkits/xclasses/Makefile2
-rw-r--r--x11-wm/afterstep-stable/Makefile2
-rw-r--r--x11-wm/bbconf/Makefile2
-rw-r--r--x11-wm/blwm/Makefile2
-rw-r--r--x11-wm/jewel/Makefile2
-rw-r--r--x11-wm/mlvwm/Makefile2
-rw-r--r--x11-wm/pwm/Makefile2
-rw-r--r--x11-wm/sapphire-themes/Makefile2
-rw-r--r--x11-wm/swm/Makefile2
-rw-r--r--x11/bricons/Makefile2
-rw-r--r--x11/dgs/Makefile2
-rw-r--r--x11/keylaunch/Makefile2
-rw-r--r--x11/login.app/Makefile2
-rw-r--r--x11/rxvt-devel/Makefile2
-rw-r--r--x11/xmotd/Makefile2
119 files changed, 119 insertions, 119 deletions
diff --git a/biology/emboss/Makefile b/biology/emboss/Makefile
index 42df7a0a65e8..0ec64c980e67 100644
--- a/biology/emboss/Makefile
+++ b/biology/emboss/Makefile
@@ -27,7 +27,7 @@ GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
USE_XLIB= yes
USE_MOTIF= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
PKGMESSAGE= ${WRKDIR}/pkg-message
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
diff --git a/biology/py-biopython/Makefile b/biology/py-biopython/Makefile
index 56822a1e4ad6..90cb82af858c 100644
--- a/biology/py-biopython/Makefile
+++ b/biology/py-biopython/Makefile
@@ -21,7 +21,7 @@ RUN_DEPENDS= ${PYNUMERIC} \
${PYTHON_SITELIBDIR}/Martel/__init__.py:${PORTSDIR}/textproc/py-martel \
${PYTHON_SITELIBDIR}/mx/TextTools/__init__.py:${PORTSDIR}/lang/py-mx-base
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_PYTHON= yes
PYTHON_SETUP= ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
PLIST_SUB+= PLIST_CORBA=${PLIST_CORBA} PLIST_OMNIORB=${PLIST_OMNIORB} \
diff --git a/emulators/scummvm/Makefile b/emulators/scummvm/Makefile
index 73188024f905..26a2d3336116 100644
--- a/emulators/scummvm/Makefile
+++ b/emulators/scummvm/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_REINPLACE= yes
MAN6= scummvm.6
diff --git a/french/staroffice52/Makefile b/french/staroffice52/Makefile
index 8745e3daa688..b4567c2c2900 100644
--- a/french/staroffice52/Makefile
+++ b/french/staroffice52/Makefile
@@ -39,7 +39,7 @@ NO_CDROM= 'Doit être téléchargé depuis le site web de Sun'
CD_MOUNTPT= '/cdrom'
IS_INTERACTIVE= yes
NO_BUILD= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
DIST_SUBDIR= staroffice52
WRKSRC= ${WRKDIR}/office52
TMPDIR= ${WRKDIR}/tmp
diff --git a/games/3dc/Makefile b/games/3dc/Makefile
index 08906559a874..5eccd07d847d 100644
--- a/games/3dc/Makefile
+++ b/games/3dc/Makefile
@@ -17,7 +17,7 @@ COMMENT= 3-Dimensional Chess for X Window System
LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
USE_XPM= yes
WRKSRC= ${WRKDIR}/3Dc/src
diff --git a/games/alephone/Makefile b/games/alephone/Makefile
index 1e66b70ad4bb..5ab09b48ea15 100644
--- a/games/alephone/Makefile
+++ b/games/alephone/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12:install \
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
diff --git a/games/atr3d/Makefile b/games/atr3d/Makefile
index a69400728e42..72f8b7517695 100644
--- a/games/atr3d/Makefile
+++ b/games/atr3d/Makefile
@@ -24,7 +24,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_MESA= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
diff --git a/games/awele/Makefile b/games/awele/Makefile
index ea72bf291675..f6d6d7556fc5 100644
--- a/games/awele/Makefile
+++ b/games/awele/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
WRKSRC= ${WRKDIR}/awele
USE_IMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
MAN6= xawele.6
post-patch:
diff --git a/games/bomberinstinct/Makefile b/games/bomberinstinct/Makefile
index 659b588004e8..b4ae388256df 100644
--- a/games/bomberinstinct/Makefile
+++ b/games/bomberinstinct/Makefile
@@ -23,7 +23,7 @@ SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_GMAKE= yes
USE_LIBTOOL= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} -lintl"
diff --git a/games/doom/Makefile b/games/doom/Makefile
index 715052604645..1e8fa6fd01be 100644
--- a/games/doom/Makefile
+++ b/games/doom/Makefile
@@ -25,7 +25,7 @@ DISTFILES2= doom1v18.wad.gz
ONLY_FOR_ARCHS= i386
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_XLIB= yes
USE_ZIP= yes
NO_WRKSUBDIR= yes
diff --git a/games/falconseye/Makefile b/games/falconseye/Makefile
index 319b5996783c..d58cdc3ec22a 100644
--- a/games/falconseye/Makefile
+++ b/games/falconseye/Makefile
@@ -21,7 +21,7 @@ RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity
NHDIR= "${PREFIX}/share/falconseyedir"
MAKE_ENV= NHDIR="${NHDIR}" NETHACKCONFIG="${NETHACKCONFIG}"
NETHACKCONFIG= ${FILESDIR}/x-config
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= Yes
USE_ZIP= yes
USE_XPM= yes
diff --git a/games/gcompris/Makefile b/games/gcompris/Makefile
index 75e1744735dc..5e47ef3227ee 100644
--- a/games/gcompris/Makefile
+++ b/games/gcompris/Makefile
@@ -22,7 +22,7 @@ USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack gnomelibs gnomecanvas
USE_LIBTOOL= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
diff --git a/games/gnocatan/Makefile b/games/gnocatan/Makefile
index 31f56a50dbcb..65b08d639626 100644
--- a/games/gnocatan/Makefile
+++ b/games/gnocatan/Makefile
@@ -18,7 +18,7 @@ USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= yes
USE_LIBTOOL= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
diff --git a/games/gnomechess/Makefile b/games/gnomechess/Makefile
index cdf307316897..fe0bbc6d2b8f 100644
--- a/games/gnomechess/Makefile
+++ b/games/gnomechess/Makefile
@@ -21,7 +21,7 @@ RUN_DEPENDS= crafty:${PORTSDIR}/games/crafty
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
diff --git a/games/gracer/Makefile b/games/gracer/Makefile
index d7d0960a4db3..fd57c9b88c8f 100644
--- a/games/gracer/Makefile
+++ b/games/gracer/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
tcl82.1:${PORTSDIR}/lang/tcl82
USE_MESA= YES
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_AUTOCONF_VER=213
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/tcl8.2 \
diff --git a/games/hlserver-admin/Makefile b/games/hlserver-admin/Makefile
index 06fd9f3d3470..41ca6211fa20 100644
--- a/games/hlserver-admin/Makefile
+++ b/games/hlserver-admin/Makefile
@@ -17,7 +17,7 @@ DIST_SUBDIR= ${PORTNAME}
COMMENT= Popular Half-Life mod server administration tool for Linux
-USE_PERL= yes
+USE_PERL5_BUILD=yes
WRKSRC= ${WRKDIR}/Adminmod
slaveport-post-extract:
diff --git a/games/hlserver-psychostats/Makefile b/games/hlserver-psychostats/Makefile
index 08bf454d2bdc..4ec350382770 100644
--- a/games/hlserver-psychostats/Makefile
+++ b/games/hlserver-psychostats/Makefile
@@ -18,7 +18,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= martin@tradex.sk
COMMENT= Popular player statistics generator for Half-Life (cs/dod)
-USE_PERL= yes
+USE_PERL5_BUILD=yes
WRKSRC= ${WRKDIR}/${DISTNAME}
# files which should be installed with executable perms
diff --git a/games/lbreakout/Makefile b/games/lbreakout/Makefile
index c723f874d94d..c50f0ee67a88 100644
--- a/games/lbreakout/Makefile
+++ b/games/lbreakout/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_GMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-lcompat" \
SDL_CONFIG="${SDL_CONFIG}"
diff --git a/games/myth2_demo/Makefile b/games/myth2_demo/Makefile
index 945b9e183bf0..14c71b58ce46 100644
--- a/games/myth2_demo/Makefile
+++ b/games/myth2_demo/Makefile
@@ -28,7 +28,7 @@ RESTRICTED= "no license"
NO_CDROM= ${RESTRICTED}
NO_FTP= ${RESTRICTED}
USE_LINUX= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/update/demos/myth2_demo/
diff --git a/games/pengpong/Makefile b/games/pengpong/Makefile
index 59a4a8553421..f3ab10d46842 100644
--- a/games/pengpong/Makefile
+++ b/games/pengpong/Makefile
@@ -20,7 +20,7 @@ SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
NO_WRKSUBDIR= yes
MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}"
-USE_PERL= yes
+USE_PERL5_BUILD=yes
DATAFILES= 24P_Copperplate_Blue.png ball.tga logo.jpg \
paddle.tga red.png
diff --git a/games/pioneers/Makefile b/games/pioneers/Makefile
index 31f56a50dbcb..65b08d639626 100644
--- a/games/pioneers/Makefile
+++ b/games/pioneers/Makefile
@@ -18,7 +18,7 @@ USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= yes
USE_LIBTOOL= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
diff --git a/games/rtcw/Makefile b/games/rtcw/Makefile
index 1ddb9a4038e8..52bd09a395b0 100644
--- a/games/rtcw/Makefile
+++ b/games/rtcw/Makefile
@@ -20,7 +20,7 @@ USE_LINUX_PREFIX= yes
NO_CDROM= "Size; the data set is much too big"
NO_BUILD= yes
NO_WRKSUBDIR= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
RTCWDIR= usr/games/rtcw
PLIST_SUB+= RTCWDIR="${RTCWDIR}"
INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755
diff --git a/games/scummvm/Makefile b/games/scummvm/Makefile
index 73188024f905..26a2d3336116 100644
--- a/games/scummvm/Makefile
+++ b/games/scummvm/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_REINPLACE= yes
MAN6= scummvm.6
diff --git a/games/toppler/Makefile b/games/toppler/Makefile
index bab21e26a241..916d125f02ae 100644
--- a/games/toppler/Makefile
+++ b/games/toppler/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS+= SDL_mixer:${PORTSDIR}/audio/sdl_mixer
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_GMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
diff --git a/games/ttraffic/Makefile b/games/ttraffic/Makefile
index d3d48a997e3e..768e727924d1 100644
--- a/games/ttraffic/Makefile
+++ b/games/ttraffic/Makefile
@@ -19,7 +19,7 @@ BUILD_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
NO_BUILD= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
post-patch:
${PERL} -pi -e 's|/usr/local/share/ttraffic/|${DATADIR}/|g;' \
diff --git a/games/tuxtype/Makefile b/games/tuxtype/Makefile
index 077d86814c87..78f5fff04e77 100644
--- a/games/tuxtype/Makefile
+++ b/games/tuxtype/Makefile
@@ -21,7 +21,7 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_AUTOMAKE_VER=14
USE_GMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
diff --git a/games/tvp/Makefile b/games/tvp/Makefile
index 9f45beca4dee..6916864d3121 100644
--- a/games/tvp/Makefile
+++ b/games/tvp/Makefile
@@ -24,7 +24,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/tcl8.2 \
-ltcl82 -ltk82 -lX11 -lm"
#CFLAGS+= -lX11 -lm -ltcl82 -ltk82 \
# -L${LOCALBASE}/lib -L${X11BASE}/lib
-USE_PERL= yes
+USE_PERL5_BUILD=yes
MAN6= tvp.6
MLINKS= tvp.6 xprez.6 - aprez.6 - prez.6
diff --git a/games/virt/Makefile b/games/virt/Makefile
index 7628fda7351b..c1ecd46a0271 100644
--- a/games/virt/Makefile
+++ b/games/virt/Makefile
@@ -14,7 +14,7 @@ MAINTAINER= lg@rrf.ru
COMMENT= Game and keyboard teacher in one. Enjoy it!
USE_GNOME= gtk12
-USE_PERL= yes
+USE_PERL5_BUILD=yes
MAN6= virt.6
MANCOMPRESSED= no
diff --git a/games/xsokoban/Makefile b/games/xsokoban/Makefile
index 9eebeecd1b33..f7ed636df79c 100644
--- a/games/xsokoban/Makefile
+++ b/games/xsokoban/Makefile
@@ -15,7 +15,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A puzzle of pushing objects to the goals
USE_IMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_XPM= yes
WRKSRC= ${WRKDIR}/xsokoban
ALL_TARGET= xsokoban
diff --git a/games/zangband/Makefile b/games/zangband/Makefile
index eafc3b61be5e..51c17ace9fc8 100644
--- a/games/zangband/Makefile
+++ b/games/zangband/Makefile
@@ -18,7 +18,7 @@ COMMENT= Zangband (Zelazny Angband) with color, X11 support
USE_XLIB= yes
USE_GMAKE= yes
USE_AUTOMAKE_VER=14
-USE_PERL= yes
+USE_PERL5_BUILD=yes
CONFIGURE_ARGS= --datadir=${PREFIX}/lib \
--with-setgid=${SHAREGRP}
diff --git a/german/staroffice5/Makefile b/german/staroffice5/Makefile
index 93d832dd5f16..93b5f61f52c7 100644
--- a/german/staroffice5/Makefile
+++ b/german/staroffice5/Makefile
@@ -30,7 +30,7 @@ EXTRACT_CMD= ${CAT}
EXTRACT_BEFORE_ARGS= -u
NO_BUILD= yes
DIST_SUBDIR= staroffice5
-USE_PERL= yes
+USE_PERL5_BUILD=yes
WRKSRC= ${WRKDIR}/so51inst
.include <bsd.port.pre.mk>
diff --git a/german/staroffice52/Makefile b/german/staroffice52/Makefile
index 3a28df9b26d8..f5f744fe8100 100644
--- a/german/staroffice52/Makefile
+++ b/german/staroffice52/Makefile
@@ -44,7 +44,7 @@ LD_PATH= ${TMPDIR}:${WRKSRC}:${LINUXBASE}/lib:${LINUXBASE}/usr/lib
INSTDB.INS= ${PREFIX}/office52/program/instdb.ins
SUNSOLVE= ${WRKDIR}/109939-03
ADABAS_DIST= soa-5_2-ga-bin-linux-de.bin
-USE_PERL= yes
+USE_PERL5_BUILD=yes
.include <bsd.port.pre.mk>
diff --git a/graphics/backfract/Makefile b/graphics/backfract/Makefile
index 4a011e1caef2..50bc94d020c0 100644
--- a/graphics/backfract/Makefile
+++ b/graphics/backfract/Makefile
@@ -14,7 +14,7 @@ MAINTAINER= patrick@FreeBSD.org
COMMENT= Fractal image animated wallpaper program
GNU_CONFIGURE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
NO_INSTALL_MANPAGE= yes
ALL_TARGET= # none
diff --git a/graphics/enfle/Makefile b/graphics/enfle/Makefile
index 6bc91f836f23..2744f5e247e1 100644
--- a/graphics/enfle/Makefile
+++ b/graphics/enfle/Makefile
@@ -26,7 +26,7 @@ LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_LIBTOOL= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
CONFIGURE_ARGS= --enable-all-plugins \
--enable-plugins-dir \
--enable-loader=ungif \
diff --git a/graphics/gtkgraph/Makefile b/graphics/gtkgraph/Makefile
index 2d21c59b322f..beb2b12f9dd8 100644
--- a/graphics/gtkgraph/Makefile
+++ b/graphics/gtkgraph/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= imlib
-USE_PERL= yes
+USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
diff --git a/graphics/pvmpov/Makefile b/graphics/pvmpov/Makefile
index fc98e6446101..87cec3349d24 100644
--- a/graphics/pvmpov/Makefile
+++ b/graphics/pvmpov/Makefile
@@ -20,7 +20,7 @@ BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/graphics/povray31:configure \
RUN_DEPENDS= povray:${PORTSDIR}/graphics/povray31 \
pvmd:${PORTSDIR}/net/pvm
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_XLIB= yes
WRKSRC= ${WRKDIR}/pvmpov3_1e_2
diff --git a/graphics/py-opengl/Makefile b/graphics/py-opengl/Makefile
index 27e7209d1b54..f9ca94f87a26 100644
--- a/graphics/py-opengl/Makefile
+++ b/graphics/py-opengl/Makefile
@@ -24,7 +24,7 @@ RUN_DEPENDS= ${PYNUMERIC} \
${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_REINPLACE= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
diff --git a/graphics/utah-glx/Makefile b/graphics/utah-glx/Makefile
index b6d855599f51..ef9d83c38732 100644
--- a/graphics/utah-glx/Makefile
+++ b/graphics/utah-glx/Makefile
@@ -22,7 +22,7 @@ BUILD_DEPENDS= tclsh8.3:${PORTSDIR}/lang/tcl83 \
autoconf:${PORTSDIR}/devel/autoconf
USE_X_PREFIX= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_GMAKE= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
diff --git a/graphics/xli/Makefile b/graphics/xli/Makefile
index aed913c38f9c..b1632cf8a72d 100644
--- a/graphics/xli/Makefile
+++ b/graphics/xli/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg
USE_IMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
MAN1= xli.1 xlito.1
post-patch:
diff --git a/graphics/xmandel/Makefile b/graphics/xmandel/Makefile
index 053d3320105e..a85151caf29a 100644
--- a/graphics/xmandel/Makefile
+++ b/graphics/xmandel/Makefile
@@ -21,7 +21,7 @@ EXTRACT_CMD= ${SH}
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= # empty
USE_IMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
NO_WRKSUBDIR= yes
MAN1= xmandel.1
diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile
index 7e82b3f4c45e..8162f8114a8b 100644
--- a/graphics/xv/Makefile
+++ b/graphics/xv/Makefile
@@ -41,7 +41,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png
USE_IMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
.if !defined(NOMAN)
MAN1= bggen.1 vdcomp.1 xcmap.1 xv.1 xvp2p.1
.endif
diff --git a/irc/scrollz/Makefile b/irc/scrollz/Makefile
index 964b3a2c7816..d256f0509340 100644
--- a/irc/scrollz/Makefile
+++ b/irc/scrollz/Makefile
@@ -15,7 +15,7 @@ MAINTAINER= damm@yazzy.org
COMMENT= Enhanced ircII client that supports scripts, colors, and more
USE_GMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
IS_INTERACTIVE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-ipv6 --with-ssl
diff --git a/japanese/balsa/Makefile b/japanese/balsa/Makefile
index 1d2ec6196f1c..2170dad16b2c 100644
--- a/japanese/balsa/Makefile
+++ b/japanese/balsa/Makefile
@@ -22,7 +22,7 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GNOME= yes
USE_LIBTOOL= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_GMAKE= yes
LIBTOOLFILES= configure libmutt/configure
CONFIGURE_ARGS= --enable-system-install --enable-threads
diff --git a/japanese/gal/Makefile b/japanese/gal/Makefile
index d8ad1eaec800..eaee7c779759 100644
--- a/japanese/gal/Makefile
+++ b/japanese/gal/Makefile
@@ -12,7 +12,7 @@ MASTERDIR= ${.CURDIR}/../../x11-toolkits/gal
MAINTAINER= ports@FreeBSD.org
-USE_PERL= yes
+USE_PERL5_BUILD=yes
post-patch:
perl -pi -e 's/gdk_font_load(\s)\(.*\)/gdk_fontset_load$$1\("-misc-fixed-medium-r-normal--14-*-*-*-*-*-*-*"\)/' \
diff --git a/japanese/xshodou/Makefile b/japanese/xshodou/Makefile
index 1682307e750c..d06ff0206388 100644
--- a/japanese/xshodou/Makefile
+++ b/japanese/xshodou/Makefile
@@ -15,7 +15,7 @@ COMMENT= A Japanese shodou program for X based on Tcl/Tk
RUN_DEPENDS= wish8.0:${PORTSDIR}/x11-toolkits/tk80
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
MAN1= xshodou.1
MANCOMPRESSED= yes
diff --git a/korean/baekmukfonts-bdf/Makefile b/korean/baekmukfonts-bdf/Makefile
index e1cec25ce853..18d1988ee8a0 100644
--- a/korean/baekmukfonts-bdf/Makefile
+++ b/korean/baekmukfonts-bdf/Makefile
@@ -46,7 +46,7 @@ CHARSETSUB= s/ksx1001.1997/ksc5601.1987/g
FONTSDIR= lib/X11/fonts/local
MAKE_ENV= FONTSDIR=${FONTSDIR}
PLIST_SUB= FONTSDIR=${FONTSDIR}
-USE_PERL= yes
+USE_PERL5_BUILD=yes
# manually install hinted fonts
do-configure:
diff --git a/korean/eterm/Makefile b/korean/eterm/Makefile
index ba264e6fa0f8..96cf0fe31895 100644
--- a/korean/eterm/Makefile
+++ b/korean/eterm/Makefile
@@ -21,7 +21,7 @@ USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GNOME= imlib
USE_LIBTOOL= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -lxpg4" LOCALBASE="${LOCALBASE}"
MAN1= Eterm.1
diff --git a/korean/gtkcomm/Makefile b/korean/gtkcomm/Makefile
index 46c13acdd5de..d0a290537897 100644
--- a/korean/gtkcomm/Makefile
+++ b/korean/gtkcomm/Makefile
@@ -16,7 +16,7 @@ COMMENT= Serial controlling software, with gtk+ widget
RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/local/gulim12.pcf.gz:${PORTSDIR}/korean/baekmukfonts-bdf
USE_X_PREFIX= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_GNOME= imlib
GNU_CONFIGURE= yes
diff --git a/korean/hlatexp/Makefile b/korean/hlatexp/Makefile
index ad597ec8179a..7f779654d832 100644
--- a/korean/hlatexp/Makefile
+++ b/korean/hlatexp/Makefile
@@ -20,7 +20,7 @@ COMMENT= Hangul (Korean) LaTeX2e system
RUN_DEPENDS= virtex:${PORTSDIR}/print/teTeX
NO_BUILD= YES
-USE_PERL= YES
+USE_PERL5_BUILD=YES
TEXMF= ${PREFIX}/share/texmf
TEXMFCNF= ${TEXMF}/web2c/texmf.cnf
diff --git a/lang/glade-gpl/Makefile b/lang/glade-gpl/Makefile
index c06a8b46fc71..9276e6b3fd20 100644
--- a/lang/glade-gpl/Makefile
+++ b/lang/glade-gpl/Makefile
@@ -20,7 +20,7 @@ BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat
USE_AUTOMAKE_VER=14
CONFIGURE_ENV= ADA=adagcc
USE_GMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
pre-configure:
${PERL} -pi -e "s@aclocal\)@${ACLOCAL})@g;\
diff --git a/lang/gnat-glade/Makefile b/lang/gnat-glade/Makefile
index c06a8b46fc71..9276e6b3fd20 100644
--- a/lang/gnat-glade/Makefile
+++ b/lang/gnat-glade/Makefile
@@ -20,7 +20,7 @@ BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat
USE_AUTOMAKE_VER=14
CONFIGURE_ENV= ADA=adagcc
USE_GMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
pre-configure:
${PERL} -pi -e "s@aclocal\)@${ACLOCAL})@g;\
diff --git a/lang/kawa/Makefile b/lang/kawa/Makefile
index 76e0531108e8..be3ff3366b72 100644
--- a/lang/kawa/Makefile
+++ b/lang/kawa/Makefile
@@ -18,7 +18,7 @@ COMMENT= Java-based Scheme implementation
BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed
USE_JAVA= 1.2+
-USE_PERL= YES
+USE_PERL5_BUILD=YES
NEED_JAVAC= YES
MAN1: kawa
diff --git a/mail/arrow/Makefile b/mail/arrow/Makefile
index dce2a084a1af..1e5426a79d6b 100644
--- a/mail/arrow/Makefile
+++ b/mail/arrow/Makefile
@@ -25,7 +25,7 @@ RUN_DEPENDS= procmail:${PORTSDIR}/mail/procmail
WRKSRC= ${WRKDIR}/JX-1.5.3
USE_XLIB= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_GMAKE= yes
MAKE_ARGS= CC="${CC}" CXX="${CXX}" \
CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
diff --git a/mail/qmail-contrib/Makefile b/mail/qmail-contrib/Makefile
index ec2265c58f70..fc8eab1c86ad 100644
--- a/mail/qmail-contrib/Makefile
+++ b/mail/qmail-contrib/Makefile
@@ -50,7 +50,7 @@ WRKFF= ${WRKDIR}/fastforward-${FF_VER}
WRKDF= ${WRKDIR}/dot-forward-${DF_VER}
NO_MTREE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
pre-patch:
@cd ${WRKFF} \
diff --git a/mail/qmail-ldap/Makefile b/mail/qmail-ldap/Makefile
index 080f130dbbaa..cc7564ae38aa 100644
--- a/mail/qmail-ldap/Makefile
+++ b/mail/qmail-ldap/Makefile
@@ -37,7 +37,7 @@ PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-with_tls
USE_OPENSSL= yes
.endif # WITHOUT_TLS
-USE_PERL= yes
+USE_PERL5_BUILD=yes
# Patches from the main qmail port are not wanted
MAIN_QMAIL_PORT_DNS_PATCH_BARRIER= yes
diff --git a/mail/qmail-mysql/Makefile b/mail/qmail-mysql/Makefile
index 4bdd6b057967..1ee67e095d0c 100644
--- a/mail/qmail-mysql/Makefile
+++ b/mail/qmail-mysql/Makefile
@@ -36,7 +36,7 @@ PREFIX?= ${QMAIL_PORT_PREFIX}
QMAIL_PORT= ${.CURDIR}/../qmail
QMAIL_PORT_PREFIX!= cd ${QMAIL_PORT} && ${MAKE} -V PREFIX
-USE_PERL= yes
+USE_PERL5_BUILD=yes
# Yet anther ugly hack (works due to code inside the main qmail port)
slaveport-post-patch: qmail-mysql-post-patch
diff --git a/mail/qmail-smtp_auth+tls/Makefile b/mail/qmail-smtp_auth+tls/Makefile
index 73adb65ebeb9..1cd9e8a81529 100644
--- a/mail/qmail-smtp_auth+tls/Makefile
+++ b/mail/qmail-smtp_auth+tls/Makefile
@@ -18,7 +18,7 @@ MAINTAINER= lioux@FreeBSD.org
COMMENT= A SECURE, reliable, and FAST MTA for UNIX systems WITH TLS support
USE_OPENSSL= YES
-USE_PERL= yes
+USE_PERL5_BUILD=yes
# Patches from the main qmail port are not wanted
MAIN_QMAIL_PORT_WITH_OUTGOINGIP_PATCH_BARRIER= yes
diff --git a/mail/qmail-smtp_auth/Makefile b/mail/qmail-smtp_auth/Makefile
index 73adb65ebeb9..1cd9e8a81529 100644
--- a/mail/qmail-smtp_auth/Makefile
+++ b/mail/qmail-smtp_auth/Makefile
@@ -18,7 +18,7 @@ MAINTAINER= lioux@FreeBSD.org
COMMENT= A SECURE, reliable, and FAST MTA for UNIX systems WITH TLS support
USE_OPENSSL= YES
-USE_PERL= yes
+USE_PERL5_BUILD=yes
# Patches from the main qmail port are not wanted
MAIN_QMAIL_PORT_WITH_OUTGOINGIP_PATCH_BARRIER= yes
diff --git a/mail/qmail-tls/Makefile b/mail/qmail-tls/Makefile
index 73adb65ebeb9..1cd9e8a81529 100644
--- a/mail/qmail-tls/Makefile
+++ b/mail/qmail-tls/Makefile
@@ -18,7 +18,7 @@ MAINTAINER= lioux@FreeBSD.org
COMMENT= A SECURE, reliable, and FAST MTA for UNIX systems WITH TLS support
USE_OPENSSL= YES
-USE_PERL= yes
+USE_PERL5_BUILD=yes
# Patches from the main qmail port are not wanted
MAIN_QMAIL_PORT_WITH_OUTGOINGIP_PATCH_BARRIER= yes
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index 8a6cd78dd918..937ceb24aeca 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -205,7 +205,7 @@ DOCDIR= doc
.endif
NO_MTREE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
.if !defined(_PREMKINCLUDED)
.include <bsd.port.pre.mk>
diff --git a/mail/qmailanalog/Makefile b/mail/qmailanalog/Makefile
index c1e3c6f17371..121326b80daf 100644
--- a/mail/qmailanalog/Makefile
+++ b/mail/qmailanalog/Makefile
@@ -40,7 +40,7 @@ MYSUBDIR?=
QMPREFIX?= ${PREFIX}/${MYSUBDIR}
NO_MTREE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
post-patch:
@perl -pi.bak -e "s|.usr.local.qmailanalog|${QMPREFIX}|" ${WRKSRC}/conf-home
diff --git a/math/djbfft/Makefile b/math/djbfft/Makefile
index c732ca2c303b..b0dc99c039d2 100644
--- a/math/djbfft/Makefile
+++ b/math/djbfft/Makefile
@@ -17,7 +17,7 @@ NO_PACKAGE= Forbidden - we have patches to the distribution.
ALL_TARGET=
INSTALL_TARGET=setup check
-USE_PERL= yes
+USE_PERL5_BUILD=yes
post-patch:
@${FIND} ${WRKSRC} -type f -exec \
diff --git a/math/qscanplot/Makefile b/math/qscanplot/Makefile
index cf32a60c0eca..0f2dadcab94a 100644
--- a/math/qscanplot/Makefile
+++ b/math/qscanplot/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= tmake:${PORTSDIR}/devel/tmake
USE_X_PREFIX= yes
USE_QT_VER= 2
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-lm ${PTHREAD_LIBS}" \
diff --git a/math/rcalc/Makefile b/math/rcalc/Makefile
index d9cb0c7ad36d..1f28b546d509 100644
--- a/math/rcalc/Makefile
+++ b/math/rcalc/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= jedgar@FreeBSD.org
COMMENT= Symbolic calculator for GNOME
USE_X_PREFIX= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_GMAKE= yes
USE_GNOME= yes
GNU_CONFIGURE= yes
diff --git a/math/scigraphica/Makefile b/math/scigraphica/Makefile
index 2cb4e3478389..40ca5dd5b174 100644
--- a/math/scigraphica/Makefile
+++ b/math/scigraphica/Makefile
@@ -22,7 +22,7 @@ RUN_DEPENDS= ${PYNUMERIC} \
${PYTHON_SITELIBDIR}/gtk-1.2/_gtkmodule.so:${PORTSDIR}/x11-toolkits/py-gtk
USE_X_PREFIX= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_GMAKE= yes
USE_GNOME= yes
USE_PYTHON= yes
diff --git a/math/simpack/Makefile b/math/simpack/Makefile
index 7af1fd961ec3..fb179ad49c95 100644
--- a/math/simpack/Makefile
+++ b/math/simpack/Makefile
@@ -19,7 +19,7 @@ BROKEN= "Does not install on 4.x, does not compile on 5.x; will be removed afte
BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake-4
USE_XLIB= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/simpack
diff --git a/mbone/vic/Makefile b/mbone/vic/Makefile
index 972915466439..d4b597362111 100644
--- a/mbone/vic/Makefile
+++ b/mbone/vic/Makefile
@@ -21,7 +21,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libuclmmbase.a:${PORTSDIR}/devel/uclmmbase
WRKSRC= ${WRKDIR}/vic-2.8ucl-1.1.3/vic
USE_AUTOCONF= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
CONFIGURE_ARGS= -x-libraries=${PREFIX}/lib \
-x-includes=${PREFIX}/include \
diff --git a/misc/astrolog/Makefile b/misc/astrolog/Makefile
index 8a74ed067d12..e63c6e1eb0cd 100644
--- a/misc/astrolog/Makefile
+++ b/misc/astrolog/Makefile
@@ -22,7 +22,7 @@ DISTFILES= ${EXTRACT_ONLY} ${EPHEM}
MAINTAINER= ache@FreeBSD.org
COMMENT= An astrology program for X11 and alpha-numeric terminals
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_XLIB= yes
EXTRACT_CMD= ${SH}
EXTRACT_BEFORE_ARGS= # empty
diff --git a/misc/explosions/Makefile b/misc/explosions/Makefile
index 33a27511f9ea..28d298a0a469 100644
--- a/misc/explosions/Makefile
+++ b/misc/explosions/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
SDL_image.10:${PORTSDIR}/graphics/sdl_image
USE_GMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
diff --git a/misc/gkrellscore/Makefile b/misc/gkrellscore/Makefile
index b512a9d574ff..dc2f46d9c6a1 100644
--- a/misc/gkrellscore/Makefile
+++ b/misc/gkrellscore/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm \
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
USE_X_PREFIX= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_GNOME= imlib
USE_GMAKE= yes
diff --git a/multimedia/oqtencoder/Makefile b/multimedia/oqtencoder/Makefile
index ed3a8716e1e4..91ee4e9a3cac 100644
--- a/multimedia/oqtencoder/Makefile
+++ b/multimedia/oqtencoder/Makefile
@@ -22,7 +22,7 @@ MAKE_ENV= SDL_CONFIG=${SDL_CONFIG}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
-USE_PERL= yes
+USE_PERL5_BUILD=yes
post-patch:
@${PERL} -pi -e "s/ //" ${WRKSRC}/readme
diff --git a/multimedia/vic/Makefile b/multimedia/vic/Makefile
index 972915466439..d4b597362111 100644
--- a/multimedia/vic/Makefile
+++ b/multimedia/vic/Makefile
@@ -21,7 +21,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libuclmmbase.a:${PORTSDIR}/devel/uclmmbase
WRKSRC= ${WRKDIR}/vic-2.8ucl-1.1.3/vic
USE_AUTOCONF= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
CONFIGURE_ARGS= -x-libraries=${PREFIX}/lib \
-x-includes=${PREFIX}/include \
diff --git a/net-p2p/phex/Makefile b/net-p2p/phex/Makefile
index d992cfd27195..574fc2af74cc 100644
--- a/net-p2p/phex/Makefile
+++ b/net-p2p/phex/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= lioux@FreeBSD.org
COMMENT= A Java multi platform and spyware free gnutella client
USE_JAVA= 1.3+
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_ZIP= yes
NO_BUILD= yes
NO_BUILD_DEPENDS_JAVA= yes
diff --git a/net/clusterit/Makefile b/net/clusterit/Makefile
index f9fb07a89c92..2fd58a3373c7 100644
--- a/net/clusterit/Makefile
+++ b/net/clusterit/Makefile
@@ -25,7 +25,7 @@ PLIST_SUB+= X11=''
MAN1+= rvt.1 dvt.1
USE_XLIB= yes
.endif
-USE_PERL= yes
+USE_PERL5_BUILD=yes
post-patch:
@${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
diff --git a/net/gnomba/Makefile b/net/gnomba/Makefile
index 6e5bc81ca39f..814aeefee77f 100644
--- a/net/gnomba/Makefile
+++ b/net/gnomba/Makefile
@@ -16,7 +16,7 @@ COMMENT= GNOME compliant browser of SMB shares
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack gnomelibs
-USE_PERL= yes
+USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
diff --git a/net/jags/Makefile b/net/jags/Makefile
index a90dc6a10af1..a94d76c232b1 100644
--- a/net/jags/Makefile
+++ b/net/jags/Makefile
@@ -18,7 +18,7 @@ COMMENT= JAGS - Just Another GTK+ Samba Client
USE_GMAKE= yes
USE_XPM= yes
USE_GNOME= gtk12
-USE_PERL= yes
+USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
pre-patch:
diff --git a/net/openverse/Makefile b/net/openverse/Makefile
index 08968de0f351..e42abfac9728 100644
--- a/net/openverse/Makefile
+++ b/net/openverse/Makefile
@@ -16,7 +16,7 @@ RUN_DEPENDS= tclsh8.2:${PORTSDIR}/lang/tcl82 \
wish8.2:${PORTSDIR}/x11-toolkits/tk82
NO_BUILD= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
WRKSRC= ${WRKDIR}/OpenVerse
pre-build:
diff --git a/net/papaya-plugins/Makefile b/net/papaya-plugins/Makefile
index 52d86662fc79..50f6fb7c18a6 100644
--- a/net/papaya-plugins/Makefile
+++ b/net/papaya-plugins/Makefile
@@ -18,7 +18,7 @@ COMMENT= Plugins for papaya, a graphical GTK mud client
BUILD_DEPENDS= ${PORTSDIR}/net/papaya/work/papaya-src-${PORTVERSION}/src/h:${PORTSDIR}/net/papaya
RUN_DEPENDS= papaya:${PORTSDIR}/net/papaya
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_SUBMAKE= yes
IS_INTERACTIVE= yes
USE_GMAKE= yes
diff --git a/net/papaya/Makefile b/net/papaya/Makefile
index 8b15c887d029..e1408a2fbfac 100644
--- a/net/papaya/Makefile
+++ b/net/papaya/Makefile
@@ -18,7 +18,7 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= gtk12
WANT_GNOME= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
.include <bsd.port.pre.mk>
diff --git a/net/phex/Makefile b/net/phex/Makefile
index d992cfd27195..574fc2af74cc 100644
--- a/net/phex/Makefile
+++ b/net/phex/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= lioux@FreeBSD.org
COMMENT= A Java multi platform and spyware free gnutella client
USE_JAVA= 1.3+
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_ZIP= yes
NO_BUILD= yes
NO_BUILD_DEPENDS_JAVA= yes
diff --git a/net/ppxp/Makefile b/net/ppxp/Makefile
index 8f300953481b..cfab28b683cd 100644
--- a/net/ppxp/Makefile
+++ b/net/ppxp/Makefile
@@ -36,7 +36,7 @@ RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83 \
tclsh8.3:${PORTSDIR}/lang/tcl83
.endif
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_XPM= yes
USE_GMAKE= yes
USE_AUTOCONF= yes
diff --git a/net/svnc/Makefile b/net/svnc/Makefile
index 7c8237276507..5d9a82ed44e0 100644
--- a/net/svnc/Makefile
+++ b/net/svnc/Makefile
@@ -24,7 +24,7 @@ DOCFILES= README
DOCDIR= share/doc/${PORTNAME}/
ONLY_FOR_ARCHS= i386
PLIST= ${WRKDIR}/pkg-plist
-USE_PERL= yes
+USE_PERL5_BUILD=yes
WRKSRC= ${WRKDIR}/svncviewer
do-patch:
diff --git a/net/tvark/Makefile b/net/tvark/Makefile
index 241e7041941d..8d3640f933c9 100644
--- a/net/tvark/Makefile
+++ b/net/tvark/Makefile
@@ -17,7 +17,7 @@ COMMENT= GUI network monitoring tool, tied to a MySQL database
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
USE_X_PREFIX= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_GNOME= gtk12
.include <bsd.port.pre.mk>
diff --git a/net/xsmbrowser/Makefile b/net/xsmbrowser/Makefile
index b9b24a856835..c6cefe036b6d 100644
--- a/net/xsmbrowser/Makefile
+++ b/net/xsmbrowser/Makefile
@@ -16,7 +16,7 @@ COMMENT= Tcl/Tk port of Windows' Network Neighborhood
RUN_DEPENDS= ${LOCALBASE}/bin/smbclient:${PORTSDIR}/net/samba \
${LOCALBASE}/bin/expectk:${PORTSDIR}/lang/expect
-USE_PERL= yes
+USE_PERL5_BUILD=yes
do-build:
${PERL} -pi -e s!%%PREFIX%%!${PREFIX}!g ${WRKSRC}/xsmbrowser
diff --git a/palm/malsync/Makefile b/palm/malsync/Makefile
index b4b9f9693f0d..ab940ad75d18 100644
--- a/palm/malsync/Makefile
+++ b/palm/malsync/Makefile
@@ -19,7 +19,7 @@ COMMENT= Sync to Mobile Application Link (MAL) compliant servers
LIB_DEPENDS= pisock.8:${PORTSDIR}/palm/pilot-link
USE_GMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
WRKSRC= ${WRKDIR}/malsync
pre-patch:
diff --git a/portuguese/staroffice52/Makefile b/portuguese/staroffice52/Makefile
index b28fcf28e4e0..121382540304 100644
--- a/portuguese/staroffice52/Makefile
+++ b/portuguese/staroffice52/Makefile
@@ -34,7 +34,7 @@ NO_CDROM= 'Deve ser obtido diretamente do site da Sun via interface www'
CD_MOUNTPT= '/cdrom'
IS_INTERACTIVE= yes
NO_BUILD= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
DIST_SUBDIR= staroffice52
WRKSRC= ${WRKDIR}/office52
TMPDIR= ${WRKDIR}/tmp
diff --git a/print/acrobatviewer/Makefile b/print/acrobatviewer/Makefile
index b09868f7c345..baa2a317c9e1 100644
--- a/print/acrobatviewer/Makefile
+++ b/print/acrobatviewer/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
USE_ZIP= yes
USE_XLIB= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
NO_BUILD= yes
JAVAVM= ${LOCALBASE}/bin/javavm
diff --git a/print/xdvi/Makefile b/print/xdvi/Makefile
index 7d33eafef20c..85200d5a9d69 100644
--- a/print/xdvi/Makefile
+++ b/print/xdvi/Makefile
@@ -17,7 +17,7 @@ MAINTAINER= jmz@FreeBSD.org
COMMENT= A DVI Previewer for the X Window System
DIST_SUBDIR= xdvi # to share distfiles with japanese/xdvi
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_IMAKE= yes
USE_GMAKE= yes
XMKMF= xmkmf
diff --git a/security/l0phtcrack/Makefile b/security/l0phtcrack/Makefile
index b3606e5a4111..7f966431f621 100644
--- a/security/l0phtcrack/Makefile
+++ b/security/l0phtcrack/Makefile
@@ -19,7 +19,7 @@ DOCDIR= share/doc/${PORTNAME}
NO_PACKAGE= "uses GNU getopt with BSDish-licensed code from OpenSSL"
NO_WRKSUBDIR= yes
PLIST= ${WRKDIR}/pkg-plist
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_ZIP= yes
post-extract:
diff --git a/security/secpanel/Makefile b/security/secpanel/Makefile
index 2fefa65bdbe2..206a07695970 100644
--- a/security/secpanel/Makefile
+++ b/security/secpanel/Makefile
@@ -16,7 +16,7 @@ COMMENT= GUI for managing and running ssh and related utilities
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
ssh-askpass:${PORTSDIR}/security/openssh-askpass
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
NO_BUILD= yes
diff --git a/security/ssh-gui/Makefile b/security/ssh-gui/Makefile
index cfca8b86d671..4a3bde8437df 100644
--- a/security/ssh-gui/Makefile
+++ b/security/ssh-gui/Makefile
@@ -17,7 +17,7 @@ COMMENT= A front-end for ssh which can open multiple xterms
RUN_DEPENDS= ssh:${PORTSDIR}/security/openssh
USE_GNOME= gtk12
-USE_PERL= yes
+USE_PERL5_BUILD=yes
ALL_TARGET= ssh-gui
DOC_FILES= README
diff --git a/security/tripwire12/Makefile b/security/tripwire12/Makefile
index 182f7d7d6678..93790fce6446 100644
--- a/security/tripwire12/Makefile
+++ b/security/tripwire12/Makefile
@@ -18,7 +18,7 @@ MAN5= tw.config.5
MAN8= siggen.8 tripwire.8
NO_CDROM= "cannot be redistributed for more than the cost of duplication"
NO_PACKAGE= "requires local database to be built"
-USE_PERL= yes
+USE_PERL5_BUILD=yes
TWCONFIG?= ${FILESDIR}/tw.conf.freebsd2
diff --git a/sysutils/gcombust/Makefile b/sysutils/gcombust/Makefile
index e1811dafe291..10987c5122fd 100644
--- a/sysutils/gcombust/Makefile
+++ b/sysutils/gcombust/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools \
cdlabelgen:${PORTSDIR}/print/cdlabelgen
USE_X_PREFIX= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_GNOME= gtk12 gnomehier
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--without-included-gettext --datadir=${PREFIX}/share
diff --git a/sysutils/gupsc/Makefile b/sysutils/gupsc/Makefile
index 988330049fdd..b13cce20e16e 100644
--- a/sysutils/gupsc/Makefile
+++ b/sysutils/gupsc/Makefile
@@ -18,7 +18,7 @@ USE_X_PREFIX= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= gnomelibs
-USE_PERL= yes
+USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
diff --git a/sysutils/service-config/Makefile b/sysutils/service-config/Makefile
index fd399436fdb0..4f53b7e07eb0 100644
--- a/sysutils/service-config/Makefile
+++ b/sysutils/service-config/Makefile
@@ -17,7 +17,7 @@ RUN_DEPENDS= supervise:${PORTSDIR}/sysutils/daemontools
ALL_TARGET= it
INSTALL_TARGET= setup check
-USE_PERL= yes
+USE_PERL5_BUILD=yes
NO_PACKAGE= A possibly inherited DJB-style license would prohibit \
distribution of modified binary packages
diff --git a/textproc/orchard-c/Makefile b/textproc/orchard-c/Makefile
index 094352af38a4..4440ec41583b 100644
--- a/textproc/orchard-c/Makefile
+++ b/textproc/orchard-c/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2 \
USE_AUTOCONF= yes
USE_LIBTOOL= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_PYTHON= yes
USE_QT_VER= 2
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
diff --git a/www/bluefish/Makefile b/www/bluefish/Makefile
index 4a72f7678825..c51c5f41f06b 100644
--- a/www/bluefish/Makefile
+++ b/www/bluefish/Makefile
@@ -22,7 +22,7 @@ RUN_DEPENDS= weblint:${PORTSDIR}/www/weblint
USE_GMAKE= yes
USE_BZIP2= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
USE_GNOME= imlib
GNU_CONFIGURE= yes
diff --git a/www/evg/Makefile b/www/evg/Makefile
index b68f53560ade..c9a0ba6fa389 100644
--- a/www/evg/Makefile
+++ b/www/evg/Makefile
@@ -19,7 +19,7 @@ COMMENT= Create index pages in HTML for photo galleries
RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
RUN_DEPENDS+= xv:${PORTSDIR}/graphics/xv
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_PYTHON= yes
NO_BUILD= yes
diff --git a/www/neowebscript/Makefile b/www/neowebscript/Makefile
index a65647956720..ddf18ffd303d 100644
--- a/www/neowebscript/Makefile
+++ b/www/neowebscript/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= neo82:${PORTSDIR}/devel/tcl-neo
MAKEFILE= ${FILESDIR}/Makefile.bsd
WRKSRC= ${WRKDIR}/${DISTNAME}/modules
MAKE_ENV+= FILESDIR="${FILESDIR}" INSTALL_DATA="${INSTALL_DATA}"
-USE_PERL= yes
+USE_PERL5_BUILD=yes
SUBDIRS= modules neowebscript htdocs # tools
diff --git a/x11-fonts/getbdf/Makefile b/x11-fonts/getbdf/Makefile
index 3eac6a004bb5..14649bf2d36e 100644
--- a/x11-fonts/getbdf/Makefile
+++ b/x11-fonts/getbdf/Makefile
@@ -15,7 +15,7 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ache@FreeBSD.org
COMMENT= Convert any X server font to .bdf format
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
NO_WRKSUBDIR= yes
ALL_TARGET= getbdf
diff --git a/x11-themes/sapphire-themes/Makefile b/x11-themes/sapphire-themes/Makefile
index 86456b529f44..9a014c84a0b8 100644
--- a/x11-themes/sapphire-themes/Makefile
+++ b/x11-themes/sapphire-themes/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= xli:${PORTSDIR}/graphics/xli \
xloadimage:${PORTSDIR}/x11/xloadimage \
sapphire:${PORTSDIR}/x11-wm/sapphire
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
NO_BUILD= yes
diff --git a/x11-toolkits/libgtkeditor/Makefile b/x11-toolkits/libgtkeditor/Makefile
index 0425cd179901..1d818490ddfb 100644
--- a/x11-toolkits/libgtkeditor/Makefile
+++ b/x11-toolkits/libgtkeditor/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= unicode.0:${PORTSDIR}/devel/libunicode
USE_X_PREFIX= yes
USE_GNOME= gtk12
USE_GMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
diff --git a/x11-toolkits/qt145/Makefile b/x11-toolkits/qt145/Makefile
index 1b190c0d149e..ecf976421203 100644
--- a/x11-toolkits/qt145/Makefile
+++ b/x11-toolkits/qt145/Makefile
@@ -23,7 +23,7 @@ COMMENT= A C++ X GUI toolkit
LATEST_LINK= qt1
USE_GCC= 2.95
USE_GMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
.if defined(MAKE_JOBS)
MAKE_ARGS+= MAKE="${GMAKE} -j${MAKE_JOBS}"
diff --git a/x11-toolkits/qt23/Makefile b/x11-toolkits/qt23/Makefile
index 2be5704c57a1..75298e420c2c 100644
--- a/x11-toolkits/qt23/Makefile
+++ b/x11-toolkits/qt23/Makefile
@@ -28,7 +28,7 @@ WRKSRC?= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_MESA= yes
USE_GMAKE= yes
USE_X_PREFIX= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
HAS_CONFIGURE= yes
# YES, THIS PORT HAS ANTIALIASING SUPPORT IF YOUR XFREE86 SUPPORTS IT!
# JUST BECAUSE -xft IS NOT LISTED BELOW DOESN'T MEAN IT'S NOT THERE!
diff --git a/x11-toolkits/xclasses/Makefile b/x11-toolkits/xclasses/Makefile
index 66b585a48bbc..5cafaef84980 100644
--- a/x11-toolkits/xclasses/Makefile
+++ b/x11-toolkits/xclasses/Makefile
@@ -19,7 +19,7 @@ INSTALLS_SHLIB= yes
PLIST= ${WRKDIR}/pkg-plist
PLIST_SUB= VERSION="${PORTVERSION}"
USE_GMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
USE_XPM= yes
WRKSRC= ${WRKDIR}/xclasses
diff --git a/x11-wm/afterstep-stable/Makefile b/x11-wm/afterstep-stable/Makefile
index 2ceb1ac8901a..04a7ca006f5e 100644
--- a/x11-wm/afterstep-stable/Makefile
+++ b/x11-wm/afterstep-stable/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
rplay.1:${PORTSDIR}/audio/rplay
USE_BZIP2= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
USE_XPM= yes
GNU_CONFIGURE= yes
diff --git a/x11-wm/bbconf/Makefile b/x11-wm/bbconf/Makefile
index 8ff627f77b59..0dd471c9c719 100644
--- a/x11-wm/bbconf/Makefile
+++ b/x11-wm/bbconf/Makefile
@@ -16,7 +16,7 @@ COMMENT= Configurator for the Blackbox window manager
USE_X_PREFIX= yes
USE_LIBTOOL= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET=
CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
diff --git a/x11-wm/blwm/Makefile b/x11-wm/blwm/Makefile
index 89a01f254164..c4c67c511660 100644
--- a/x11-wm/blwm/Makefile
+++ b/x11-wm/blwm/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS= xsetbg:${PORTSDIR}/x11/xloadimage
USE_AUTOCONF= yes
USE_AUTOMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
MAN1= blwm.1x
PLIST= ${WRKDIR}/pkg-plist
diff --git a/x11-wm/jewel/Makefile b/x11-wm/jewel/Makefile
index 7978020b48ae..20331019cbd2 100644
--- a/x11-wm/jewel/Makefile
+++ b/x11-wm/jewel/Makefile
@@ -20,7 +20,7 @@ DOCS= Changelog Changelog.DLR Changelog.jewel INSTALL LICENSE README
MAN1= jewel.1x
PLIST= ${WRKDIR}/pkg-plist
USE_X_PREFIX= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_GMAKE= yes
post-patch:
diff --git a/x11-wm/mlvwm/Makefile b/x11-wm/mlvwm/Makefile
index 98925bce9849..3084272d6071 100644
--- a/x11-wm/mlvwm/Makefile
+++ b/x11-wm/mlvwm/Makefile
@@ -17,7 +17,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Macintosh like window manager for X11
USE_IMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_XPM= yes
MAN1= mlvwm.1
diff --git a/x11-wm/pwm/Makefile b/x11-wm/pwm/Makefile
index dd9be899139f..01f9be90af25 100644
--- a/x11-wm/pwm/Makefile
+++ b/x11-wm/pwm/Makefile
@@ -15,7 +15,7 @@ MAINTAINER= nbm@FreeBSD.org
COMMENT= A lightweight window manager with emphasis on usability
USE_X_PREFIX= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_GMAKE= yes
MAN1= pwm.1x
diff --git a/x11-wm/sapphire-themes/Makefile b/x11-wm/sapphire-themes/Makefile
index 86456b529f44..9a014c84a0b8 100644
--- a/x11-wm/sapphire-themes/Makefile
+++ b/x11-wm/sapphire-themes/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= xli:${PORTSDIR}/graphics/xli \
xloadimage:${PORTSDIR}/x11/xloadimage \
sapphire:${PORTSDIR}/x11-wm/sapphire
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
NO_BUILD= yes
diff --git a/x11-wm/swm/Makefile b/x11-wm/swm/Makefile
index e4515f647375..ecdee907dfdb 100644
--- a/x11-wm/swm/Makefile
+++ b/x11-wm/swm/Makefile
@@ -21,7 +21,7 @@ MAKEFILE= Makefile-xpm
PLIST= ${WRKDIR}/pkg-plist
SCRIPTS= startswm
USE_GMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_XPM= yes
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
diff --git a/x11/bricons/Makefile b/x11/bricons/Makefile
index 6669c690303d..aad5faf04a3c 100644
--- a/x11/bricons/Makefile
+++ b/x11/bricons/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= shanee@augusta.de
COMMENT= Quick start up utility for applications on an X display
USE_IMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_XPM= yes
MAN1= bricons.1
diff --git a/x11/dgs/Makefile b/x11/dgs/Makefile
index e67af89741b7..d8fb08f2efb6 100644
--- a/x11/dgs/Makefile
+++ b/x11/dgs/Makefile
@@ -26,7 +26,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
USE_X_PREFIX= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_GMAKE= yes
USE_GNOME= glib12
INSTALLS_SHLIB= yes
diff --git a/x11/keylaunch/Makefile b/x11/keylaunch/Makefile
index 130984893c32..179fc1ff7a32 100644
--- a/x11/keylaunch/Makefile
+++ b/x11/keylaunch/Makefile
@@ -15,7 +15,7 @@ COMMENT= An X utility for binding commands to a hot key
WRKSRC= ${WRKDIR}/keylaunch
USE_GMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
PKGMESSAGE= ${WRKSRC}/pkg-message
diff --git a/x11/login.app/Makefile b/x11/login.app/Makefile
index d2d674889257..2906b934e475 100644
--- a/x11/login.app/Makefile
+++ b/x11/login.app/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= wraster.4:${PORTSDIR}/x11-wm/windowmaker \
WRKSRC= ${WRKDIR}/Login.app-${PORTVERSION:S/.a/-Alpha-/}
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
USE_XPM= yes
MAKE_ENV= MKDIR="${MKDIR}"
diff --git a/x11/rxvt-devel/Makefile b/x11/rxvt-devel/Makefile
index 824544a9d3dc..da7576533a53 100644
--- a/x11/rxvt-devel/Makefile
+++ b/x11/rxvt-devel/Makefile
@@ -23,7 +23,7 @@ COMMENT= A low memory usage xterm replacement that supports color
USE_LIBTOOL= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
USE_XPM= yes
GNU_CONFIGURE= yes
diff --git a/x11/xmotd/Makefile b/x11/xmotd/Makefile
index 8979c73c2416..50eb7a455e5f 100644
--- a/x11/xmotd/Makefile
+++ b/x11/xmotd/Makefile
@@ -14,7 +14,7 @@ MAINTAINER= mwest@uct.ac.za
COMMENT= A message-of-the-day browser for X11 and dumb-terminals
USE_IMAKE= yes
-USE_PERL= yes
+USE_PERL5_BUILD=yes
NO_INSTALL_MANPAGES= yes
XFREE86_HTML_MAN= no