summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2013-04-27 18:25:24 +0000
committermva <mva@FreeBSD.org>2013-04-27 18:25:24 +0000
commita99e7e687dd8959b456b245eeaafe101878e92d8 (patch)
tree05c37dd385b99b953046290a1ad749042e2d1c51
parente43c5466309ee34db1fde989beb22aa3f35d27ec (diff)
downloadFreeBSD-ports-a99e7e687dd8959b456b245eeaafe101878e92d8.zip
FreeBSD-ports-a99e7e687dd8959b456b245eeaafe101878e92d8.tar.gz
- Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig and USE_GETTEXT=yes to USES=gettext while here
-rw-r--r--news/newsstar/Makefile2
-rw-r--r--news/slrn/Makefile2
-rw-r--r--news/tin/Makefile2
-rw-r--r--palm/pilot-link/Makefile3
-rw-r--r--palm/synce-hal/Makefile2
-rw-r--r--palm/synce-librapi2/Makefile3
-rw-r--r--palm/synce-librra/Makefile3
-rw-r--r--palm/synce-libsynce/Makefile3
-rw-r--r--palm/synce-vdccm/Makefile2
-rw-r--r--polish/ekg2/Makefile3
-rw-r--r--polish/kadu/Makefile3
-rw-r--r--polish/qnapi/Makefile3
-rw-r--r--ports-mgmt/gnome-packagekit/Makefile5
-rw-r--r--ports-mgmt/packagekit/Makefile3
-rw-r--r--print/cups-base/Makefile2
-rw-r--r--print/fontforge/Makefile3
-rw-r--r--print/gv/Makefile2
-rw-r--r--print/openprinting/Makefile3
-rw-r--r--print/pdftk/Makefile2
-rw-r--r--print/py-cups/Makefile2
-rw-r--r--print/wprint/Makefile2
-rw-r--r--russian/mueller-dic/Makefile2
-rw-r--r--science/afni/Makefile3
-rw-r--r--science/ecs/Makefile3
-rw-r--r--science/linsmith/Makefile3
-rw-r--r--science/massxpert/Makefile3
-rw-r--r--science/meep/Makefile3
-rw-r--r--science/ncs/Makefile3
-rw-r--r--security/bsp_upektfmess/Makefile3
-rw-r--r--security/clamav-devel/Makefile2
-rw-r--r--security/clamav/Makefile2
-rw-r--r--security/dirmngr/Makefile2
-rw-r--r--security/gnupg/Makefile2
-rw-r--r--security/gnupg1/Makefile2
-rw-r--r--security/gnutls-devel/Makefile2
-rw-r--r--security/gnutls/Makefile5
-rw-r--r--security/ipsec-tools/Makefile2
-rw-r--r--security/libgpg-error/Makefile3
-rw-r--r--security/libprelude/Makefile3
-rw-r--r--security/libpreludedb/Makefile3
-rw-r--r--security/openvas-libnasl/Makefile3
-rw-r--r--security/pam_krb5-rh/Makefile2
-rw-r--r--security/pinentry/Makefile2
-rw-r--r--security/prelude-lml/Makefile3
-rw-r--r--security/prelude-manager/Makefile3
-rw-r--r--security/rifiuti2/Makefile3
-rw-r--r--security/scanhill/Makefile2
-rw-r--r--security/shishi/Makefile3
-rw-r--r--security/sssd/Makefile3
-rw-r--r--security/tpm-tools/Makefile3
-rw-r--r--security/trousers/Makefile3
-rw-r--r--security/truecrypt/Makefile3
-rw-r--r--shells/bash-devel/Makefile3
-rw-r--r--shells/bash/Makefile3
-rw-r--r--shells/fish/Makefile3
-rw-r--r--shells/tcsh_nls/Makefile2
-rw-r--r--shells/zsh/Makefile2
-rw-r--r--sysutils/afflib/Makefile3
-rw-r--r--sysutils/apt/Makefile3
-rw-r--r--sysutils/archivemount/Makefile3
-rw-r--r--sysutils/cdrkit/Makefile3
-rw-r--r--sysutils/cdrtools-devel/Makefile3
-rw-r--r--sysutils/cdrtools/Makefile3
-rw-r--r--sysutils/conky/Makefile4
-rw-r--r--sysutils/dc3dd/Makefile3
-rw-r--r--sysutils/fusefs-exfat/Makefile3
-rw-r--r--sysutils/fusefs-fur/Makefile3
-rw-r--r--sysutils/fusefs-fusexmp_fh/Makefile3
-rw-r--r--sysutils/fusefs-libs/Makefile3
-rw-r--r--sysutils/fusefs-ntfs/Makefile3
-rw-r--r--sysutils/geomgui/Makefile2
-rw-r--r--sysutils/gsmartcontrol/Makefile3
-rw-r--r--sysutils/gtk-imonc/Makefile3
-rw-r--r--sysutils/jfbterm/Makefile2
-rw-r--r--sysutils/kiconvtool/Makefile2
-rw-r--r--sysutils/ldapvi/Makefile4
-rw-r--r--sysutils/libcdio/Makefile3
-rw-r--r--sysutils/lxinput/Makefile2
-rw-r--r--sysutils/lxtask/Makefile2
-rw-r--r--sysutils/lxterminal/Makefile2
-rw-r--r--sysutils/nitrogen/Makefile3
-rw-r--r--sysutils/pfstat/Makefile2
-rw-r--r--sysutils/quicksynergy/Makefile3
-rw-r--r--sysutils/shmcat/Makefile2
-rw-r--r--sysutils/unieject/Makefile3
-rw-r--r--sysutils/xorriso/Makefile3
-rw-r--r--textproc/aspell/Makefile2
-rw-r--r--textproc/clucene/Makefile3
-rw-r--r--textproc/ctpp2/Makefile3
-rw-r--r--textproc/docbook2X/Makefile2
-rw-r--r--textproc/estraier/Makefile2
-rw-r--r--textproc/exempi/Makefile4
-rw-r--r--textproc/flex/Makefile3
-rw-r--r--textproc/freexl/Makefile2
-rw-r--r--textproc/gsed/Makefile3
-rw-r--r--textproc/hunspell/Makefile3
-rw-r--r--textproc/hyperestraier/Makefile2
-rw-r--r--textproc/intltool/Makefile2
-rw-r--r--textproc/kmflcomp/Makefile2
-rw-r--r--textproc/liblrdf/Makefile3
-rw-r--r--textproc/libparsifal/Makefile2
-rw-r--r--textproc/libxml2/Makefile3
-rw-r--r--textproc/mifluz/Makefile3
-rw-r--r--textproc/odt2txt/Makefile2
-rw-r--r--textproc/opensp/Makefile2
-rw-r--r--textproc/p5-Text-Unaccent/Makefile2
-rw-r--r--textproc/p5-XML-Sablotron/Makefile2
-rw-r--r--textproc/p5-XML-TinyXML/Makefile2
-rw-r--r--textproc/refdb/Makefile2
-rw-r--r--textproc/ruby-libxml/Makefile2
-rw-r--r--textproc/ruby-sablot/Makefile2
-rw-r--r--textproc/sablotron/Makefile2
-rw-r--r--textproc/scim-kmfl-imengine/Makefile3
-rw-r--r--textproc/scim-openvanilla/Makefile3
-rw-r--r--textproc/scim/Makefile3
-rw-r--r--textproc/sdcv/Makefile3
-rw-r--r--textproc/simplexml/Makefile3
-rw-r--r--textproc/skim/Makefile2
-rw-r--r--textproc/sphinxsearch-devel/Makefile2
-rw-r--r--textproc/sphinxsearch/Makefile2
-rw-r--r--textproc/uim-el/Makefile2
-rw-r--r--textproc/uim-qt4/Makefile2
-rw-r--r--textproc/uim/Makefile3
-rw-r--r--textproc/unrtf/Makefile2
-rw-r--r--textproc/wv2/Makefile3
-rw-r--r--textproc/xalan-c/Makefile2
-rw-r--r--textproc/xerces-c2-devel/Makefile4
-rw-r--r--textproc/xerces-c2/Makefile2
-rw-r--r--textproc/xmlppm/Makefile2
-rw-r--r--textproc/xmlstarlet/Makefile2
-rw-r--r--textproc/zorba/Makefile3
-rw-r--r--www/anyterm/Makefile2
-rw-r--r--www/apache22/Makefile2
-rw-r--r--www/apache24/Makefile2
-rw-r--r--www/awffull/Makefile3
-rw-r--r--www/cadaver/Makefile3
-rw-r--r--www/cas/Makefile3
-rw-r--r--www/dansguardian-devel/Makefile2
-rw-r--r--www/dansguardian/Makefile2
-rw-r--r--www/dillo-i18n/Makefile2
-rw-r--r--www/elinks/Makefile2
-rw-r--r--www/flood/Makefile2
-rw-r--r--www/gatling/Makefile2
-rw-r--r--www/htmlcxx/Makefile2
-rw-r--r--www/httest/Makefile2
-rw-r--r--www/httrack/Makefile2
-rw-r--r--www/lynx-current/Makefile2
-rw-r--r--www/lynx/Makefile3
-rw-r--r--www/mod_encoding/Makefile2
-rw-r--r--www/rsstool/Makefile2
-rw-r--r--www/sarg/Makefile2
-rw-r--r--www/tntnet/Makefile2
-rw-r--r--www/trafficserver/Makefile2
-rw-r--r--www/webalizer/Makefile2
-rw-r--r--www/xapian-omega/Makefile2
-rw-r--r--www/xapian-omega10/Makefile2
-rw-r--r--x11-clocks/cairo-clock/Makefile4
-rw-r--r--x11-themes/lxde-icon-theme/Makefile2
-rw-r--r--x11-wm/afterstep-stable/Makefile2
-rw-r--r--x11-wm/awesome/Makefile3
-rw-r--r--x11-wm/awesome2/Makefile2
-rw-r--r--x11-wm/blackbox/Makefile3
-rw-r--r--x11-wm/e16/Makefile3
-rw-r--r--x11-wm/enlightenment/Makefile3
-rw-r--r--x11-wm/fluxbox/Makefile2
-rw-r--r--x11-wm/fvwm2/Makefile2
-rw-r--r--x11-wm/i3/Makefile3
-rw-r--r--x11-wm/lxsession/Makefile2
-rw-r--r--x11-wm/pekwm/Makefile3
-rw-r--r--x11-wm/wmii/Makefile2
-rw-r--r--x11/eterm/Makefile2
-rw-r--r--x11/florence/Makefile3
-rw-r--r--x11/gdkxft/Makefile2
-rw-r--r--x11/ggiterm/Makefile2
-rw-r--r--x11/i3lock/Makefile2
-rw-r--r--x11/kde4-workspace/Makefile3
-rw-r--r--x11/trayer/Makefile2
-rw-r--r--x11/x3270/Makefile2
-rw-r--r--x11/xfree86_xkb_xml/Makefile3
-rw-r--r--x11/xkeyboard-config/Makefile3
-rw-r--r--x11/xnee/Makefile3
181 files changed, 187 insertions, 273 deletions
diff --git a/news/newsstar/Makefile b/news/newsstar/Makefile
index 9536a2b..99b90cd 100644
--- a/news/newsstar/Makefile
+++ b/news/newsstar/Makefile
@@ -17,7 +17,7 @@ BUILD_DEPENDS= xmlto:${PORTSDIR}/textproc/xmlto \
USE_PERL5= yes
GNU_CONFIGURE= yes
-USE_ICONV= yes
+USES= iconv
MAKE_JOBS_SAFE= yes
OPTIONS_DEFINE= SSL
diff --git a/news/slrn/Makefile b/news/slrn/Makefile
index 283fead..15747ed 100644
--- a/news/slrn/Makefile
+++ b/news/slrn/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= slang:${PORTSDIR}/devel/libslang2
CONFLICTS_INSTALL= ja-slrn-[0-9]*
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-ipv6 --disable-inews --with-slrnpull \
diff --git a/news/tin/Makefile b/news/tin/Makefile
index ec65d8c..43484c6 100644
--- a/news/tin/Makefile
+++ b/news/tin/Makefile
@@ -31,7 +31,7 @@ RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
USE_BZIP2= yes
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
TIN_EDITOR?= /usr/bin/ee
TIN_SCREEN?= ncursesw
diff --git a/palm/pilot-link/Makefile b/palm/pilot-link/Makefile
index 0a3e220..2226c7d 100644
--- a/palm/pilot-link/Makefile
+++ b/palm/pilot-link/Makefile
@@ -13,9 +13,8 @@ COMMENT= Suite of tools used to connect and sync your Palm handled
BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
-USES= pathfix pkgconfig
+USES= pathfix pkgconfig iconv
USE_BZIP2= yes
-USE_ICONV= yes
GNU_CONFIGURE= yes
CFLAGS+= -I${WRKSRC}/popt -I${LOCALBASE}/include
CONFIGURE_ARGS+=--with-libiconv=${LOCALBASE} --with-included-popt --enable-conduits --enable-xsltproc
diff --git a/palm/synce-hal/Makefile b/palm/synce-hal/Makefile
index 563dbcc..5ba39b7 100644
--- a/palm/synce-hal/Makefile
+++ b/palm/synce-hal/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= synce.0:${PORTSDIR}/palm/synce-libsynce \
dbus-1.3:${PORTSDIR}/devel/dbus \
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
-USE_ICONV= yes
+USES= iconv
USE_PYTHON_RUN= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-hal-addon-dir=${PREFIX}/libexec \
diff --git a/palm/synce-librapi2/Makefile b/palm/synce-librapi2/Makefile
index a52fdfb..51e3da4 100644
--- a/palm/synce-librapi2/Makefile
+++ b/palm/synce-librapi2/Makefile
@@ -19,8 +19,7 @@ CONFLICTS= popular-[0-9]*
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
-USE_ICONV= yes
-USES= pathfix
+USES= pathfix iconv
USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-libiconv="${LOCALBASE}" \
--with-libsynce="${LOCALBASE}"
diff --git a/palm/synce-librra/Makefile b/palm/synce-librra/Makefile
index 53719ed..3496558 100644
--- a/palm/synce-librra/Makefile
+++ b/palm/synce-librra/Makefile
@@ -23,9 +23,8 @@ OPTIONS?= TOOLS "Build with minor rra command line tools" on \
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
-USE_ICONV= yes
USE_LDCONFIG= yes
-USES= pathfix
+USES= pathfix iconv
CONFIGURE_ARGS+= --with-libsynce="${LOCALBASE}" \
--with-libmimedir="${LOCALBASE}"
diff --git a/palm/synce-libsynce/Makefile b/palm/synce-libsynce/Makefile
index 5a295d4..52c32a2 100644
--- a/palm/synce-libsynce/Makefile
+++ b/palm/synce-libsynce/Makefile
@@ -18,8 +18,7 @@ LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
-USE_ICONV= yes
-USES= pathfix
+USES= pathfix iconv
CONFIGURE_ARGS+= --with-libiconv-prefix="${LOCALBASE}" \
--enable-dccm-file-support=no \
--enable-hal-support=yes \
diff --git a/palm/synce-vdccm/Makefile b/palm/synce-vdccm/Makefile
index 48f12be..9ef41c3 100644
--- a/palm/synce-vdccm/Makefile
+++ b/palm/synce-vdccm/Makefile
@@ -20,7 +20,7 @@ MAKE_JOBS_SAFE= yes
GNU_CONFIGURE= yes
WANT_GNOME= yes
-USE_ICONV= yes
+USES= iconv
CONFIGURE_ARGS= --with-libiconv=${LOCALBASE} \
--with-libsynce=${LOCALBASE}
diff --git a/polish/ekg2/Makefile b/polish/ekg2/Makefile
index 13b51b0..e76e796 100644
--- a/polish/ekg2/Makefile
+++ b/polish/ekg2/Makefile
@@ -21,8 +21,7 @@ LICENSE= GPLv2
USE_GMAKE= yes
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack pkgconfig
-USE_ICONV= yes
+USES= pathfix pkgconfig iconv
MAKE_JOBS_SAFE= yes
CONFIGURE_ARGS+= --enable-shared \
diff --git a/polish/kadu/Makefile b/polish/kadu/Makefile
index 281f92b..93b63c1 100644
--- a/polish/kadu/Makefile
+++ b/polish/kadu/Makefile
@@ -44,8 +44,7 @@ GG6_EMOTS_DISTFILE= kompatybilne_z_GG6.tar.gz
GG7_EMOTS_DISTFILE= dodatkowe_emoty_GG7.tar.gz
USE_BZIP2= yes
-USES= cmake pkgconfig gettext
-USE_ICONV= yes
+USES= cmake pkgconfig gettext iconv
USE_XORG= ice sm x11 xau xdmcp xext xfixes xrender xscrnsaver
CMAKE_ARGS= -DKADU_VERSION:STRING="${DISTVERSION}" -DWITH_ENCHANT=ON
# Setting KADU_VERSION disables git invocation
diff --git a/polish/qnapi/Makefile b/polish/qnapi/Makefile
index 69a381f..99ff9d4 100644
--- a/polish/qnapi/Makefile
+++ b/polish/qnapi/Makefile
@@ -21,8 +21,7 @@ LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
fontconfig:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip
-USE_ICONV= yes
-USES= gettext
+USES= gettext iconv
USE_XORG= ice sm x11 xau xdmcp xext xrender
USE_QT4= corelib gui network xml qmake_build moc_build uic_build rcc_build
USE_KDE4= kdehier
diff --git a/ports-mgmt/gnome-packagekit/Makefile b/ports-mgmt/gnome-packagekit/Makefile
index 7c2ac9b..c062377 100644
--- a/ports-mgmt/gnome-packagekit/Makefile
+++ b/ports-mgmt/gnome-packagekit/Makefile
@@ -24,10 +24,9 @@ LIB_DEPENDS= dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
USE_GMAKE= yes
USE_BZIP2= yes
-USE_GNOME= gnomeprefix gnomehack intlhack gconf2 gnomemenus gnomedocutils \
+USE_GNOME= gnomeprefix intlhack gconf2 gnomemenus gnomedocutils \
desktopfileutils
-USES= gettext
-USE_ICONV= yes
+USES= gettext pathfix iconv
USE_PYTHON_BUILD=2.5+
GCONF_SCHEMAS= gnome-packagekit.schemas
INSTALLS_ICONS= yes
diff --git a/ports-mgmt/packagekit/Makefile b/ports-mgmt/packagekit/Makefile
index a273fb7..c72515d 100644
--- a/ports-mgmt/packagekit/Makefile
+++ b/ports-mgmt/packagekit/Makefile
@@ -22,10 +22,9 @@ RUN_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof \
${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info
USE_GMAKE= yes
-USES= gettext
+USES= gettext iconv
USE_GNOME= glib20 intltool gnomehier
USE_SQLITE= 3
-USE_ICONV= yes
USE_LDCONFIG= yes
USE_PYTHON_BUILD= 2.5+
GNU_CONFIGURE= yes
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index 4d83290..836ccf2 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -83,7 +83,7 @@ XDG_OPEN= Build with XDG_OPEN as browser
COMMENT2= Library cups
INSTALL_WRKSRC= ${WRKSRC}/cups
PLIST= ${MASTERDIR}/pkg-plist.client
-USE_ICONV= yes
+USES+= iconv
USE_LDCONFIG= yes
PKGMESSAGE= ${NONEXISTENT}
DESCR= ${MASTERDIR}/pkg-descr.client
diff --git a/print/fontforge/Makefile b/print/fontforge/Makefile
index eb7588c..ebb4aa6 100644
--- a/print/fontforge/Makefile
+++ b/print/fontforge/Makefile
@@ -34,10 +34,9 @@ DISTFILES+= ${DOCFILES:C/$/:docs/}
.endif
USE_BZIP2= yes
-USES= gettext
+USES= gettext iconv
USE_XORG= x11 xi ice xkbui
USE_GMAKE= yes
-USE_ICONV= yes
PATCH_STRIP= -l
.if !defined(FONTFORGE_NO_MULTILAYER)
diff --git a/print/gv/Makefile b/print/gv/Makefile
index e02e01c..7d16e91 100644
--- a/print/gv/Makefile
+++ b/print/gv/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d
USE_XORG= xpm ice sm xext xmu x11
USE_GHOSTSCRIPT= yes
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
USE_PERL5_BUILD= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/print/openprinting/Makefile b/print/openprinting/Makefile
index d12b6a5..337df19 100644
--- a/print/openprinting/Makefile
+++ b/print/openprinting/Makefile
@@ -22,8 +22,7 @@ WRKSRC= ${WRKDIR}/papi-${PORTVERSION}_beta
USE_BZIP2= yes
USE_GMAKE= yes
-USES= gettext
-USE_ICONV= yes
+USES= gettext iconv
USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/libexec
diff --git a/print/pdftk/Makefile b/print/pdftk/Makefile
index e6b3005..524f0e0 100644
--- a/print/pdftk/Makefile
+++ b/print/pdftk/Makefile
@@ -18,7 +18,7 @@ CSUFF= ${_USE_GCC:S/.//}
USE_GCC= 4.6+
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
USE_LDCONFIG= ${PREFIX}/lib/gcc${CSUFF}
# gcj/libgcj don't exist on some platforms
diff --git a/print/py-cups/Makefile b/print/py-cups/Makefile
index dd6e7b0..9bc34e4 100644
--- a/print/py-cups/Makefile
+++ b/print/py-cups/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= cups:${PORTSDIR}/print/cups-client
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_BZIP2= yes
-USE_ICONV= yes
+USES= iconv
USE_PYDISTUTILS= yes
USE_PYTHON= -2.7
diff --git a/print/wprint/Makefile b/print/wprint/Makefile
index 3960f2c..a9e4ee2 100644
--- a/print/wprint/Makefile
+++ b/print/wprint/Makefile
@@ -20,7 +20,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2
-USE_ICONV= yes
+USES= iconv
USE_PERL5= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
diff --git a/russian/mueller-dic/Makefile b/russian/mueller-dic/Makefile
index 4a996dc..bbbb6e9 100644
--- a/russian/mueller-dic/Makefile
+++ b/russian/mueller-dic/Makefile
@@ -18,7 +18,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Mueller English-Russian dictionary
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
SUB_FILES= mueller
WRKSRC= ${WRKDIR}/mf
diff --git a/science/afni/Makefile b/science/afni/Makefile
index d1c21bc..1343a5e 100644
--- a/science/afni/Makefile
+++ b/science/afni/Makefile
@@ -40,9 +40,8 @@ BROKEN= Does not compile on sparc64: "undefined reference to '_mcount'"
USE_GL= glw glu
USE_XORG= xi
-USE_GETTEXT= yes
USE_GMAKE= yes
-USE_ICONV= yes
+USES= gettext iconv
USE_MOTIF= yes
MAKE_ENV= CC="${CC}"
MAKE_JOBS_UNSAFE=yes
diff --git a/science/ecs/Makefile b/science/ecs/Makefile
index a877a20..e0329ab 100644
--- a/science/ecs/Makefile
+++ b/science/ecs/Makefile
@@ -44,8 +44,7 @@ CONFIGURE_ARGS+=--without-adf --without-ccm
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
-USES+= gettext
-USE_ICONV= yes
+USES+= gettext iconv
PLIST_SUB+= NLS=""
.endif
diff --git a/science/linsmith/Makefile b/science/linsmith/Makefile
index 9a73e49..5ee5b83 100644
--- a/science/linsmith/Makefile
+++ b/science/linsmith/Makefile
@@ -13,8 +13,7 @@ COMMENT= Smith charting program
LICENSE= GPLv2 # (or later)
USE_GNOME= libgnomeui libxml2
-USE_ICONV= yes
-USES= gettext
+USES= gettext iconv
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
diff --git a/science/massxpert/Makefile b/science/massxpert/Makefile
index ac8e093..3b9d69b 100644
--- a/science/massxpert/Makefile
+++ b/science/massxpert/Makefile
@@ -21,8 +21,7 @@ LICENSE= GPLv3
USE_GCC= any
USE_BZIP2= yes
-USES= cmake gettext
-USE_ICONV= yes
+USES= cmake gettext iconv
USE_XORG= ice sm x11 xau xdmcp xext xrender
USE_GNOME= glib20
USE_QT4= corelib gui xml rcc_build qmake_build uic_build moc_build \
diff --git a/science/meep/Makefile b/science/meep/Makefile
index 330e30e..10d663f 100644
--- a/science/meep/Makefile
+++ b/science/meep/Makefile
@@ -23,8 +23,7 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_FORTRAN= yes
USE_GCC= 4.6+
-USE_ICONV= yes
-USES= gettext
+USES= gettext iconv
USE_AUTOTOOLS+= libltdl
CPPFLAGS+= -I${LOCALBASE}/include
LD_LIBRARY_PATH= -L${LOCALBASE}/lib -L/usr/lib
diff --git a/science/ncs/Makefile b/science/ncs/Makefile
index 0dba40f..c312403 100644
--- a/science/ncs/Makefile
+++ b/science/ncs/Makefile
@@ -29,8 +29,7 @@ RUN_DEPENDS= xmgrace:${PORTSDIR}/math/grace \
USE_ZIP= yes
USE_GMAKE= yes
-USE_ICONV= yes
-USES= gettext
+USES= gettext iconv
USE_GNOME= libxml2
USE_PYTHON= yes
USE_QT_VER= 4
diff --git a/security/bsp_upektfmess/Makefile b/security/bsp_upektfmess/Makefile
index 1e6b7ad..f168d6e 100644
--- a/security/bsp_upektfmess/Makefile
+++ b/security/bsp_upektfmess/Makefile
@@ -20,8 +20,7 @@ PLIST_FILES= lib/libtfmessbsp.so
USE_ZIP= yes
USE_LDCONFIG= yes
-USES= gettext
-USE_ICONV= yes
+USES= gettext iconv
# Maintainer note
# Both the gui and the non-gui object are linked to libX11
USE_XORG= x11 xext
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile
index e4ee9ed..178c04b 100644
--- a/security/clamav-devel/Makefile
+++ b/security/clamav-devel/Makefile
@@ -138,7 +138,7 @@ CONFIGURE_ARGS+=--disable-unrar
.endif
.if ${PORT_OPTIONS:MICONV}
CONFIGURE_ARGS+=--with-iconv
-USE_ICONV= yes
+USES+= iconv
.else
CONFIGURE_ARGS+=--without-iconv
.endif
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 181f8e9..201875f 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -133,7 +133,7 @@ CONFIGURE_ARGS+=--disable-unrar
.endif
.if ${PORT_OPTIONS:MICONV}
CONFIGURE_ARGS+=--with-iconv
-USE_ICONV= yes
+USES+= iconv
.else
CONFIGURE_ARGS+=--without-iconv
.endif
diff --git a/security/dirmngr/Makefile b/security/dirmngr/Makefile
index 1a73889..8ab7df8 100644
--- a/security/dirmngr/Makefile
+++ b/security/dirmngr/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= assuan.0:${PORTSDIR}/security/libassuan \
pth:${PORTSDIR}/devel/pth
USE_BZIP2= yes
-USE_ICONV= yes
+USES= iconv
USE_OPENLDAP= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index e8e746a..14144f6 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -26,7 +26,7 @@ LIB_DEPENDS= assuan:${PORTSDIR}/security/libassuan \
USE_BZIP2= YES
USE_GMAKE= YES
GNU_CONFIGURE= YES
-USE_ICONV= YES
+USES= iconv
USE_LDCONFIG= YES
CONFIGURE_ARGS+= --enable-symcryptrun
.if defined(NOPORTDOCS)
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index d88d489..828ce28 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -45,7 +45,7 @@ CFLAGS:= ${CFLAGS:S/$/ -fheinous-gnu-extensions/}
.endif
.if defined(WITH_LIBICONV)
-USE_ICONV= yes
+USES+= iconv
.else
CONFIGURE_ARGS+= --without-libiconv-prefix
.endif
diff --git a/security/gnutls-devel/Makefile b/security/gnutls-devel/Makefile
index 6b8ba64..158ea23 100644
--- a/security/gnutls-devel/Makefile
+++ b/security/gnutls-devel/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= gpg-error.0:${PORTSDIR}/security/libgpg-error \
CONFLICTS= gnutls-[0-9]*
USE_XZ= yes
-USE_ICONV= yes
+USES= iconv
USE_GNOME= pkgconfig ltverhack
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile
index b73aacb..678838f 100644
--- a/security/gnutls/Makefile
+++ b/security/gnutls/Makefile
@@ -17,10 +17,9 @@ LIB_DEPENDS= nettle:${PORTSDIR}/security/nettle \
CONFLICTS= gnutls-devel-[0-9]*
-USES= pkgconfig
+USES= pathfix pkgconfig iconv
USE_BZIP2= yes
-USE_ICONV= yes
-USE_GNOME= ltverhack gnomehack
+USE_GNOME= ltverhack
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
diff --git a/security/ipsec-tools/Makefile b/security/ipsec-tools/Makefile
index 832a957..c5ff385 100644
--- a/security/ipsec-tools/Makefile
+++ b/security/ipsec-tools/Makefile
@@ -121,7 +121,7 @@ CONFIGURE_ARGS+= --without-libpam
.endif
.if ${PORT_OPTIONS:MGSSAPI}
-USE_ICONV= yes
+USES+= iconv
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+= --enable-gssapi
diff --git a/security/libgpg-error/Makefile b/security/libgpg-error/Makefile
index 7f9f9f7..95abfa4 100644
--- a/security/libgpg-error/Makefile
+++ b/security/libgpg-error/Makefile
@@ -20,8 +20,7 @@ MAKE_JOBS_UNSAFE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
-USE_ICONV= yes
-USES+= gettext
+USES+= gettext iconv
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--with-libintl-prefix=${LOCALBASE}
PLIST_SUB= NLS=""
diff --git a/security/libprelude/Makefile b/security/libprelude/Makefile
index dc3c17d..f234b0d 100644
--- a/security/libprelude/Makefile
+++ b/security/libprelude/Makefile
@@ -24,8 +24,7 @@ CONFIGURE_ARGS= --localstatedir=/var \
--enable-gtk-doc=no \
--with-html-dir=${PREFIX}/share/doc
USE_GMAKE= yes
-USE_ICONV= yes
-USES= pathfix pkgconfig gettext
+USES= pathfix pkgconfig gettext iconv
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/security/libpreludedb/Makefile b/security/libpreludedb/Makefile
index 4d51458..a8437fe 100644
--- a/security/libpreludedb/Makefile
+++ b/security/libpreludedb/Makefile
@@ -21,8 +21,7 @@ LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp \
USE_GMAKE= yes
USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
-USES= gettext
-USE_ICONV= yes
+USES= gettext iconv
CONFIGURE_ARGS= --enable-gtk-doc=no
USE_LDCONFIG= yes
diff --git a/security/openvas-libnasl/Makefile b/security/openvas-libnasl/Makefile
index 7750411..c3a40c9 100644
--- a/security/openvas-libnasl/Makefile
+++ b/security/openvas-libnasl/Makefile
@@ -20,8 +20,7 @@ LIB_DEPENDS= gcrypt.18:${PORTSDIR}/security/libgcrypt \
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-USE_ICONV= yes
-USES= bison
+USES= bison iconv
MAN1= openvas-libnasl-config.1 openvas-nasl.1
diff --git a/security/pam_krb5-rh/Makefile b/security/pam_krb5-rh/Makefile
index 17415f7..0865f7a4 100644
--- a/security/pam_krb5-rh/Makefile
+++ b/security/pam_krb5-rh/Makefile
@@ -20,7 +20,7 @@ LICENSE_COMB= dual
CONFLICTS= pam_krb5-4.*
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE} --without-afs \
--with-libintl-prefix=${LOCALBASE} --with-krb4=no \
diff --git a/security/pinentry/Makefile b/security/pinentry/Makefile
index 6d6c3b0..dc43dc0 100644
--- a/security/pinentry/Makefile
+++ b/security/pinentry/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= gcrypt.18:${PORTSDIR}/security/libgcrypt \
CONFLICTS_INSTALL?= pinentry-[a-z]*-[0.9]*
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
USE_GMAKE= yes
INFO= pinentry
diff --git a/security/prelude-lml/Makefile b/security/prelude-lml/Makefile
index a36d718..5e3bbe6 100644
--- a/security/prelude-lml/Makefile
+++ b/security/prelude-lml/Makefile
@@ -25,8 +25,7 @@ USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
USE_RC_SUBR= prelude-lml
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
-USES= pkgconfig gettext
-USE_ICONV= yes
+USES= pkgconfig gettext iconv
OPTIONS_DEFINE= FAM
diff --git a/security/prelude-manager/Makefile b/security/prelude-manager/Makefile
index 6b322cc..b459a07 100644
--- a/security/prelude-manager/Makefile
+++ b/security/prelude-manager/Makefile
@@ -19,11 +19,10 @@ LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp \
nettle:${PORTSDIR}/security/nettle \
p11-kit:${PORTSDIR}/security/p11-kit
-USES= pkgconfig gettext
+USES= pkgconfig gettext iconv
USE_GMAKE= yes
USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
-USE_ICONV= yes
USE_LDCONFIG= yes
USE_RC_SUBR= prelude-manager
diff --git a/security/rifiuti2/Makefile b/security/rifiuti2/Makefile
index 3188e56..9faad1e 100644
--- a/security/rifiuti2/Makefile
+++ b/security/rifiuti2/Makefile
@@ -14,8 +14,7 @@ LICENSE= BSD
LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
GNU_CONFIGURE= yes
-USES= pkgconfig gettext
-USE_ICONV= yes
+USES= pkgconfig gettext iconv
USE_GNOME= glib20
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/security/scanhill/Makefile b/security/scanhill/Makefile
index f475e7a..55d6a28 100644
--- a/security/scanhill/Makefile
+++ b/security/scanhill/Makefile
@@ -13,7 +13,7 @@ COMMENT= Microsoft Messenger Protocol Sniffer
WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
-USE_ICONV= yes
+USES= iconv
MAKE_JOBS_SAFE= yes
PORTDOCS= README.txt INSTALL.txt mysql.sql
diff --git a/security/shishi/Makefile b/security/shishi/Makefile
index 86e59cd..7e01996 100644
--- a/security/shishi/Makefile
+++ b/security/shishi/Makefile
@@ -16,8 +16,7 @@ LIB_DEPENDS= idn:${PORTSDIR}/dns/libidn \
USE_AUTOTOOLS= libtool
USE_PERL5_BUILD= yes
-USE_GNOME= gnomehack pkgconfig
-USE_ICONV= yes
+USES= pathfix pkgconfig iconv
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= --with-db-dir=/var/shishi
diff --git a/security/sssd/Makefile b/security/sssd/Makefile
index 2714f88..e032cc7 100644
--- a/security/sssd/Makefile
+++ b/security/sssd/Makefile
@@ -53,8 +53,7 @@ USE_PYTHON= yes
USE_OPENLDAP= yes
USE_GMAKE= yes
USE_GNOME= pkgconfig
-USES= gettext
-USE_ICONV= yes
+USES= gettext iconv
USE_PYTHON= yes
USE_RC_SUBR= ${PORTNAME}
diff --git a/security/tpm-tools/Makefile b/security/tpm-tools/Makefile
index fee37ba..93b7b86 100644
--- a/security/tpm-tools/Makefile
+++ b/security/tpm-tools/Makefile
@@ -20,8 +20,7 @@ RUN_DEPENDS= ${LOCALBASE}/sbin/tcsd:${PORTSDIR}/security/trousers
RUN_DEPENDS+= ${LOCALBASE}/lib/pkcs11/libopencryptoki.so:${PORTSDIR}/security/opencryptoki
USE_GMAKE= YES
-USE_ICONV= YES
-USES= gettext
+USES= gettext iconv
USE_LDCONFIG= YES
USE_AUTOTOOLS= autoconf
GNU_CONFIGURE= YES
diff --git a/security/trousers/Makefile b/security/trousers/Makefile
index 3d8a9fd..ef7c36e 100644
--- a/security/trousers/Makefile
+++ b/security/trousers/Makefile
@@ -12,10 +12,9 @@ COMMENT= The open-source TCG Software Stack
USE_GCC= any
USE_GMAKE= YES
-USE_ICONV= YES
USE_OPENSSL= YES
USE_LDCONFIG= YES
-USES= pkgconfig
+USES= pkgconfig iconv
USE_AUTOTOOLS= autoconf automake libtool
GNU_CONFIGURE= YES
MAKE_JOBS_SAFE= YES
diff --git a/security/truecrypt/Makefile b/security/truecrypt/Makefile
index a4e4aec..a0b035b 100644
--- a/security/truecrypt/Makefile
+++ b/security/truecrypt/Makefile
@@ -22,9 +22,8 @@ RUN_DEPENDS= sudo:${PORTSDIR}/security/sudo
WRKSRC= ${WRKDIR}/truecrypt-${PORTVERSION}-source
-USES= fuse
+USES= fuse iconv
USE_GMAKE= yes
-USE_ICONV= yes
RESTRICTED= Downloading requires acceptance of license agreement
NO_CDROM= Distribution requires acceptance of license agreement
NO_PACKAGE= Distribution requires acceptance of license agreement
diff --git a/shells/bash-devel/Makefile b/shells/bash-devel/Makefile
index 3b67ee7..dac812c 100644
--- a/shells/bash-devel/Makefile
+++ b/shells/bash-devel/Makefile
@@ -75,8 +75,7 @@ CONFIGURE_ARGS+= --disable-help-builtin
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
-USE_ICONV= yes
-USES+= gettext
+USES+= gettext iconv
PLIST_SUB+= NLS=""
.endif
diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index 94255c1..54dbc09 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -85,8 +85,7 @@ PLIST_SUB+= HELP=""
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
-USE_ICONV= yes
-USE_GETTEXT= yes
+USES+= gettext iconv
PLIST_SUB+= NLS=""
.endif
diff --git a/shells/fish/Makefile b/shells/fish/Makefile
index 12f1755..4a76c5d 100644
--- a/shells/fish/Makefile
+++ b/shells/fish/Makefile
@@ -11,11 +11,10 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A user friendly command line shell
USE_AUTOTOOLS= autoconf
-USE_ICONV= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-USES= gettext
+USES= gettext iconv
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= LIBS="${LDFLAGS}"
diff --git a/shells/tcsh_nls/Makefile b/shells/tcsh_nls/Makefile
index c4dee46..d6b234a 100644
--- a/shells/tcsh_nls/Makefile
+++ b/shells/tcsh_nls/Makefile
@@ -14,7 +14,7 @@ DISTFILES= # none
MAINTAINER= ume@FreeBSD.org
COMMENT= Misc NLS catalogs for tcsh which requires libiconv
-USE_ICONV= yes
+USES= iconv
NO_BUILD= yes
PLIST_FILES= share/nls/de_AT.UTF-8/tcsh.cat \
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index df9a2b0..c321cac 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -21,7 +21,7 @@ MAKE_JOBS_UNSAFE= yes
ZSH_VER= ${PORTVERSION}
USE_BZIP2= yes
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
USE_NCURSES= yes
diff --git a/sysutils/afflib/Makefile b/sysutils/afflib/Makefile
index c575782..6814e72 100644
--- a/sysutils/afflib/Makefile
+++ b/sysutils/afflib/Makefile
@@ -17,8 +17,7 @@ LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 \
USE_LDCONFIG= yes
USE_OPENSSL= yes
-USE_ICONV= yes
-USES= fuse pathfix
+USES= fuse pathfix iconv
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= autoconf
diff --git a/sysutils/apt/Makefile b/sysutils/apt/Makefile
index 747d287..16904e5 100644
--- a/sysutils/apt/Makefile
+++ b/sysutils/apt/Makefile
@@ -23,8 +23,7 @@ LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_ICONV= yes
-USES= gettext
+USES= gettext iconv
USE_BDB= 44+
USE_LDCONFIG= yes
NO_FILTER_SHLIBS= yes
diff --git a/sysutils/archivemount/Makefile b/sysutils/archivemount/Makefile
index 858d8e0..e4bd125 100644
--- a/sysutils/archivemount/Makefile
+++ b/sysutils/archivemount/Makefile
@@ -15,9 +15,8 @@ MAN1= archivemount.1
GNU_CONFIGURE= yes
NO_INSTALL_MANPAGES= yes
-USES= fuse pkgconfig
+USES= fuse pkgconfig iconv
USE_GMAKE= yes
-USE_ICONV= yes
USE_GCC= 4.2+
.include <bsd.port.mk>
diff --git a/sysutils/cdrkit/Makefile b/sysutils/cdrkit/Makefile
index d85b2db..97679c7 100644
--- a/sysutils/cdrkit/Makefile
+++ b/sysutils/cdrkit/Makefile
@@ -14,8 +14,7 @@ MASTER_SITES= http://cdrkit.org/releases/ \
MAINTAINER= pav@FreeBSD.org
COMMENT= Command-line CD/DVD writing suite
-USES= cmake
-USE_ICONV= yes
+USES= cmake iconv
MAN1= cdda2ogg.1 devdump.1 dirsplit.1 genisoimage.1 icedax.1 \
isodebug.1 isodump.1 isoinfo.1 isovfy.1 list_audio_tracks.1 \
diff --git a/sysutils/cdrtools-devel/Makefile b/sysutils/cdrtools-devel/Makefile
index c461789..7112e14 100644
--- a/sysutils/cdrtools-devel/Makefile
+++ b/sysutils/cdrtools-devel/Makefile
@@ -93,8 +93,7 @@ CDRTLSTARGET= ${ARCH:S/powerpc64/powerpc/}-freebsd-cc
.if exists(${LOCALBASE}/lib/libiconv.a) || \
exists(${LOCALBASE}/lib/libintl.a) || !defined(WITHOUT_NLS)
MAKE_ENV+= OSDEFS=-I${LOCALBASE}/include
-USE_GETTEXT= yes
-USE_ICONV= yes
+USES+= gettext iconv
.endif
pre-everything::
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile
index 4cead21..9f9e4db 100644
--- a/sysutils/cdrtools/Makefile
+++ b/sysutils/cdrtools/Makefile
@@ -99,8 +99,7 @@ CDRTLSTARGET= ${ARCH:S/powerpc64/powerpc/}-freebsd-cc
.if exists(${LOCALBASE}/lib/libiconv.a) || \
exists(${LOCALBASE}/lib/libintl.a) || !defined(WITHOUT_NLS)
MAKE_ENV+= OSDEFS=-I${LOCALBASE}/include
-USE_GETTEXT= yes
-USE_ICONV= yes
+USES+= gettext iconv
.endif
pre-everything::
diff --git a/sysutils/conky/Makefile b/sysutils/conky/Makefile
index fbc854c..4115e94 100644
--- a/sysutils/conky/Makefile
+++ b/sysutils/conky/Makefile
@@ -13,11 +13,9 @@ COMMENT= An advanced, highly configurable system monitor for X
CONFLICTS?= conky-awesome-[0-9]*
SLAVEDIRS= sysutils/conky-awesome
-USES= pkgconfig
-USE_ICONV= yes
+USES= pkgconfig iconv
USE_BZIP2= yes
GNU_CONFIGURE= yes
-USE_ICONV= yes
USE_GMAKE= yes
CONFIGURE_ARGS+= --disable-portmon \
--disable-hddtemp \
diff --git a/sysutils/dc3dd/Makefile b/sysutils/dc3dd/Makefile
index ce09ddd..4c5c2c8 100644
--- a/sysutils/dc3dd/Makefile
+++ b/sysutils/dc3dd/Makefile
@@ -14,8 +14,7 @@ MAINTAINER= nobutaka@FreeBSD.org
COMMENT= A dd program useful for computer forensics
USE_BZIP2= yes
-USES= gettext
-USE_ICONV= yes
+USES= gettext iconv
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="${LIBS} -L${LOCALBASE}/lib"
diff --git a/sysutils/fusefs-exfat/Makefile b/sysutils/fusefs-exfat/Makefile
index 4746da3..436f658 100644
--- a/sysutils/fusefs-exfat/Makefile
+++ b/sysutils/fusefs-exfat/Makefile
@@ -15,8 +15,7 @@ LICENSE= GPLv3
LIB_DEPENDS= ublio:${PORTSDIR}/devel/libublio
-USES= fuse
-USE_ICONV= yes
+USES= fuse iconv
USE_SCONS= yes
MAN8= mount.exfat-fuse.8
diff --git a/sysutils/fusefs-fur/Makefile b/sysutils/fusefs-fur/Makefile
index 21c1582..7a5d0d8 100644
--- a/sysutils/fusefs-fur/Makefile
+++ b/sysutils/fusefs-fur/Makefile
@@ -20,9 +20,8 @@ VCHMOD_DESC= Fake hook for chmod that just returns 0
MAKE_JOBS_SAFE= yes
GNU_CONFIGURE= yes
-USES= fuse pkgconfig
+USES= fuse pkgconfig iconv
USE_GMAKE= yes
-USE_ICONV= yes
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include -DFUSE_USE_VERSION=26
diff --git a/sysutils/fusefs-fusexmp_fh/Makefile b/sysutils/fusefs-fusexmp_fh/Makefile
index 0ecdb84..3091eb8 100644
--- a/sysutils/fusefs-fusexmp_fh/Makefile
+++ b/sysutils/fusefs-fusexmp_fh/Makefile
@@ -14,9 +14,8 @@ COMMENT= Dummy driver from fusefs-libs example
USE_AUTOTOOLS= libtool
-USES= fuse pathfix
+USES= fuse pathfix iconv
USE_LDCONFIG= yes
-USE_ICONV= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-kernel-module --prefix=${PREFIX} \
--enable-example
diff --git a/sysutils/fusefs-libs/Makefile b/sysutils/fusefs-libs/Makefile
index 4524dc3..affa322 100644
--- a/sysutils/fusefs-libs/Makefile
+++ b/sysutils/fusefs-libs/Makefile
@@ -14,8 +14,7 @@ COMMENT= FUSE allows filesystem implementation in userspace
GNU_CONFIGURE= yes
CONFIGURE_ENV= MOUNT_FUSE_PATH=${PREFIX}/sbin
USE_LDCONFIG= yes
-USES= pkgconfig
-USE_ICONV= yes
+USES= pkgconfig iconv
CONFIGURE_ARGS= --prefix=${PREFIX} \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
TXT_DOCS= how-fuse-works \
diff --git a/sysutils/fusefs-ntfs/Makefile b/sysutils/fusefs-ntfs/Makefile
index 60f4396..1c1e9ab 100644
--- a/sysutils/fusefs-ntfs/Makefile
+++ b/sysutils/fusefs-ntfs/Makefile
@@ -16,10 +16,9 @@ LICENSE= GPLv2
CONFLICTS_BUILD= bonobo-1.*
CONFLICTS_INSTALL= ntfsprogs-*
-USES= fuse pkgconfig
+USES= fuse pkgconfig iconv
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
-USE_ICONV= yes
CONFIGURE_ARGS= --exec-prefix=${PREFIX} --disable-mount-helper \
--disable-mtab --with-fuse=external
CPPFLAGS+= -I${WRKSRC}/include/ntfs-3g/ -I${LOCALBASE}/include
diff --git a/sysutils/geomgui/Makefile b/sysutils/geomgui/Makefile
index bb66778..1292fe6 100644
--- a/sysutils/geomgui/Makefile
+++ b/sysutils/geomgui/Makefile
@@ -22,7 +22,7 @@ BROKEN= does not build
USE_AUTOTOOLS= libtool
USE_GNOME= gtk20 librsvg2
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
MAN1= geomgui.1
diff --git a/sysutils/gsmartcontrol/Makefile b/sysutils/gsmartcontrol/Makefile
index 123bf25..6ed0bad 100644
--- a/sysutils/gsmartcontrol/Makefile
+++ b/sysutils/gsmartcontrol/Makefile
@@ -28,9 +28,8 @@ RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
smartctl:${PORTSDIR}/sysutils/smartmontools
USE_AUTOTOOLS= libtool
-USES= pkgconfig gettext
+USES= pkgconfig gettext iconv
USE_BZIP2= yes
-USE_ICONV= yes
USE_GNOME= gtk20
USE_XORG= pixman x11 xau xcomposite xcursor xdamage xdmcp xext xfixes \
xi xinerama xrandr xrender
diff --git a/sysutils/gtk-imonc/Makefile b/sysutils/gtk-imonc/Makefile
index 7a81322..a487a97 100644
--- a/sysutils/gtk-imonc/Makefile
+++ b/sysutils/gtk-imonc/Makefile
@@ -22,8 +22,7 @@ LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
xcb:${PORTSDIR}/x11/libxcb
GNU_CONFIGURE= yes
-USE_ICONV= yes
-USES= pkgconfig gettext
+USES= pkgconfig gettext iconv
USE_GNOME= gdkpixbuf2 gtk20
USE_XORG= pixman x11 xau xcomposite xcursor xdamage xdmcp xext \
xfixes xi xinerama xrandr xrender
diff --git a/sysutils/jfbterm/Makefile b/sysutils/jfbterm/Makefile
index 88c2457..70a1366 100644
--- a/sysutils/jfbterm/Makefile
+++ b/sysutils/jfbterm/Makefile
@@ -62,7 +62,7 @@ MAKE_ENV+= WITHOUT_ICONV=
.if !exists(/usr/include/iconv.h)
. if ${PORT_OPTIONS:MICONV}
. if !defined(NO_SHARED)
-USE_ICONV= yes
+USES+= iconv
. else
BUILD_DEPENDS+= ${LOCALBASE}/lib/libiconv.a:${PORTSDIR}/converters/libiconv
. endif
diff --git a/sysutils/kiconvtool/Makefile b/sysutils/kiconvtool/Makefile
index 5b29523..b4e5218 100644
--- a/sysutils/kiconvtool/Makefile
+++ b/sysutils/kiconvtool/Makefile
@@ -14,7 +14,7 @@ MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Tool to preload kernel iconv charset tables
-USE_ICONV= yes # used by libkiconv, actually
+USES= iconv # used by libkiconv, actually
PLIST_FILES= sbin/kiconvtool etc/rc.d/kiconv
diff --git a/sysutils/ldapvi/Makefile b/sysutils/ldapvi/Makefile
index d4e2007..c057ffec 100644
--- a/sysutils/ldapvi/Makefile
+++ b/sysutils/ldapvi/Makefile
@@ -21,8 +21,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= popt:${PORTSDIR}/devel/popt
USE_OPENLDAP= yes
-USE_GNOME= pkgconfig glib20
-USE_ICONV= yes
+USE_GNOME= glib20
+USES= pkgconfig iconv
GNU_CONFIGURE= yes
USE_GMAKE= yes
MAKEFILE= GNUmakefile
diff --git a/sysutils/libcdio/Makefile b/sysutils/libcdio/Makefile
index 9f958e4..0528ee5 100644
--- a/sysutils/libcdio/Makefile
+++ b/sysutils/libcdio/Makefile
@@ -22,9 +22,8 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
-USE_GNOME= pkgconfig gnomehack
+USES= pathfix pkgconfig iconv
USE_GMAKE= yes
-USE_ICONV= yes
USE_LDCONFIG= yes
USE_NCURSES= yes
CONFIGURE_ARGS+= --with-libpopt-prefix=${LOCALBASE} \
diff --git a/sysutils/lxinput/Makefile b/sysutils/lxinput/Makefile
index 81c9aa1..5c3c0bb 100644
--- a/sysutils/lxinput/Makefile
+++ b/sysutils/lxinput/Makefile
@@ -16,7 +16,7 @@ COMMENT= A keyboard and mouse config tool from the LXDE project
USE_GNOME= gtk20 intlhack
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
diff --git a/sysutils/lxtask/Makefile b/sysutils/lxtask/Makefile
index f8c7a93..3dfc8c0 100644
--- a/sysutils/lxtask/Makefile
+++ b/sysutils/lxtask/Makefile
@@ -12,7 +12,7 @@ COMMENT= Lightweight desktop-independent task manager
USE_GNOME= gtk20 intlhack
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/sysutils/lxterminal/Makefile b/sysutils/lxterminal/Makefile
index 4494a41..a93fee7 100644
--- a/sysutils/lxterminal/Makefile
+++ b/sysutils/lxterminal/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= vte.9:${PORTSDIR}/x11-toolkits/vte
USE_GNOME= gtk20 intlhack
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
diff --git a/sysutils/nitrogen/Makefile b/sysutils/nitrogen/Makefile
index 84f4117..39c5c68 100644
--- a/sysutils/nitrogen/Makefile
+++ b/sysutils/nitrogen/Makefile
@@ -33,8 +33,7 @@ RUN_DEPENDS= gnome-icon-theme>0:${PORTSDIR}/misc/gnome-icon-theme \
OPTIONS_DEFINE= XINERAMA
OPTIONS_DEFAULT=XINERAMA
-USES= gettext
-USE_ICONV= yes
+USES= gettext iconv
USE_GNOME= gtk20
USE_XORG= pixman x11 xau xcomposite xcursor xdamage xdmcp xext xfixes \
xrandr xrender
diff --git a/sysutils/pfstat/Makefile b/sysutils/pfstat/Makefile
index 5d4c149..c54cc47 100644
--- a/sysutils/pfstat/Makefile
+++ b/sysutils/pfstat/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
MAKE_ARGS= "LD_GD=gd"
MAKE_ENV+= __MAKE_CONF=/dev/null
-USE_ICONV= yes
+USES= iconv
USE_RC_SUBR= pfstatd
MAN8= pfstat.8 \
diff --git a/sysutils/quicksynergy/Makefile b/sysutils/quicksynergy/Makefile
index 59de55d..76ae042 100644
--- a/sysutils/quicksynergy/Makefile
+++ b/sysutils/quicksynergy/Makefile
@@ -13,8 +13,7 @@ COMMENT= A graphical interface for easily configuring Synergy2
BUILD_DEPENDS= synergys:${PORTSDIR}/sysutils/synergy
GNU_CONFIGURE= yes
-USE_ICONV= yes
-USES= pathfix pkgconfig gettext
+USES= pathfix pkgconfig gettext iconv
USE_GNOME= gnomeprefix libglade2
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/sysutils/shmcat/Makefile b/sysutils/shmcat/Makefile
index 36b3317..7c3d8ab 100644
--- a/sysutils/shmcat/Makefile
+++ b/sysutils/shmcat/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= gasol.wu@gmail.com
COMMENT= Simple tool that dumps System V shared memory segments
USE_BZIP2= yes
-USE_ICONV= yes
+USEs= iconv
GNU_CONFIGURE= yes
OPTIONS_DEFINE= NLS
diff --git a/sysutils/unieject/Makefile b/sysutils/unieject/Makefile
index 383a2e5..f7f4226 100644
--- a/sysutils/unieject/Makefile
+++ b/sysutils/unieject/Makefile
@@ -17,9 +17,8 @@ LIB_DEPENDS= confuse:${PORTSDIR}/devel/libconfuse \
cdio:${PORTSDIR}/sysutils/libcdio
USE_BZIP2= yes
-USES= pathfix pkgconfig gettext
+USES= pathfix pkgconfig gettext iconv
USE_GNOME= glib20
-USE_ICONV= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-silent-rules \
--disable-doc
diff --git a/sysutils/xorriso/Makefile b/sysutils/xorriso/Makefile
index c897f1c..fe101d0 100644
--- a/sysutils/xorriso/Makefile
+++ b/sysutils/xorriso/Makefile
@@ -19,8 +19,7 @@ RUN_DEPENDS= libburn>=1.1.0:${PORTSDIR}/devel/libburn \
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack pkgconfig
-USE_ICONV= yes
+USES= pathfix pkgconfig iconv
USE_LDCONFIG= yes
WANT_GNOME= yes
diff --git a/textproc/aspell/Makefile b/textproc/aspell/Makefile
index 275fc0f..b63ebf0 100644
--- a/textproc/aspell/Makefile
+++ b/textproc/aspell/Makefile
@@ -24,7 +24,7 @@ CONFIGURE_ARGS= --enable-dict-dir=${DATADIR} \
--enable-static
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
USE_PERL5_BUILD= yes
USE_LDCONFIG= yes
diff --git a/textproc/clucene/Makefile b/textproc/clucene/Makefile
index 6ca7798..d0963db 100644
--- a/textproc/clucene/Makefile
+++ b/textproc/clucene/Makefile
@@ -16,8 +16,7 @@ LICENSE_COMB= dual
BUILD_DEPENDS= ${LOCALBASE}/lib/libboost_regex.a:${PORTSDIR}/devel/boost-libs
-USES= cmake
-USE_ICONV= yes
+USES= cmake iconv
USE_LDCONFIG= yes
CMAKE_ARGS= -DBUILD_CONTRIBS_LIB=ON
diff --git a/textproc/ctpp2/Makefile b/textproc/ctpp2/Makefile
index 0b9f451..0528883 100644
--- a/textproc/ctpp2/Makefile
+++ b/textproc/ctpp2/Makefile
@@ -9,9 +9,8 @@ MASTER_SITES= http://ctpp.havoc.ru/download/
MAINTAINER= reki@reki.ru
COMMENT= C++ library to use templates in C/C++ projects, version 2
-USES= cmake gettext
+USES= cmake gettext iconv
USE_LDCONFIG= yes
-USE_ICONV= yes
PLIST_SUB+= PORTVERSION=${PORTVERSION}
diff --git a/textproc/docbook2X/Makefile b/textproc/docbook2X/Makefile
index 106d2ef..590c27b 100644
--- a/textproc/docbook2X/Makefile
+++ b/textproc/docbook2X/Makefile
@@ -29,7 +29,7 @@ CONFLICTS= docbook-utils-*
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_PERL5= yes
-USE_ICONV= yes
+USES= iconv
.if defined(NOPORTDOCS)
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-doc__Makefile.in
diff --git a/textproc/estraier/Makefile b/textproc/estraier/Makefile
index af2227a..e374535 100644
--- a/textproc/estraier/Makefile
+++ b/textproc/estraier/Makefile
@@ -22,7 +22,7 @@ CHASEN_DESC= Japanese Morphological Analysis Support
MECAB_DESC= Part-of-Speech and Morphological Analyzer
KAKASI_DESC= Language processing filter/converter
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-sysqdbm \
--enable-dlfilter \
diff --git a/textproc/exempi/Makefile b/textproc/exempi/Makefile
index ce459b3..bd59fb7 100644
--- a/textproc/exempi/Makefile
+++ b/textproc/exempi/Makefile
@@ -17,12 +17,12 @@ COMMENT= A port of Adobe XMP SDK to work on UNIX
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
USE_AUTOTOOLS= libtool
-USE_GNOME= ltverhack gnomehack
+USE_GNOME= ltverhack
CONFIGURE_ARGS= --enable-unittest=no
CONFIGURE_ENV= LIBS="-liconv"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-USE_ICONV= yes
+USES= pathfix iconv
USE_LDCONFIG= yes
post-patch:
diff --git a/textproc/flex/Makefile b/textproc/flex/Makefile
index eabea8b..9f32ae5 100644
--- a/textproc/flex/Makefile
+++ b/textproc/flex/Makefile
@@ -23,8 +23,7 @@ INFO= flex
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
-USE_ICONV= yes
-USES+= gettext
+USES+= gettext iconv
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
diff --git a/textproc/freexl/Makefile b/textproc/freexl/Makefile
index a67d596..ce0f9ca 100644
--- a/textproc/freexl/Makefile
+++ b/textproc/freexl/Makefile
@@ -11,7 +11,7 @@ COMMENT= Library to extract valid data from within an Excel (.xls) spreadsheet
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -liconv
diff --git a/textproc/gsed/Makefile b/textproc/gsed/Makefile
index 6fea240..8286201 100644
--- a/textproc/gsed/Makefile
+++ b/textproc/gsed/Makefile
@@ -29,8 +29,7 @@ MAN1= gsed.1
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MNLS}
-USE_ICONV= yes
-USE_GETTEXT= yes
+USES+= gettext iconv
PLIST_SUB= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
diff --git a/textproc/hunspell/Makefile b/textproc/hunspell/Makefile
index c4fef8f..e5a2541 100644
--- a/textproc/hunspell/Makefile
+++ b/textproc/hunspell/Makefile
@@ -17,8 +17,7 @@ LICENSE_COMB= dual
CONFIGURE_ARGS= --disable-nls --with-libiconv-prefix=${LOCALBASE} --with-readline --with-ui
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
-USES= pathfix
-USE_ICONV= yes
+USES= pathfix iconv
USE_LDCONFIG= yes
USE_NCURSES= yes
diff --git a/textproc/hyperestraier/Makefile b/textproc/hyperestraier/Makefile
index f67c7d8..5d39b1a 100644
--- a/textproc/hyperestraier/Makefile
+++ b/textproc/hyperestraier/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= qdbm>=1.8.77:${PORTSDIR}/databases/qdbm
# check configure for min version of qdbm.
LIB_DEPENDS= qdbm.14:${PORTSDIR}/databases/qdbm
-USE_ICONV= yes
+USES= iconv
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-bzip2 --disable-zlib
diff --git a/textproc/intltool/Makefile b/textproc/intltool/Makefile
index 359828e..8d33475 100644
--- a/textproc/intltool/Makefile
+++ b/textproc/intltool/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
RUN_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir="${PREFIX}/libdata"
diff --git a/textproc/kmflcomp/Makefile b/textproc/kmflcomp/Makefile
index 7fcffe0..05a2b06 100644
--- a/textproc/kmflcomp/Makefile
+++ b/textproc/kmflcomp/Makefile
@@ -23,7 +23,7 @@ BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison
USE_XORG= x11
USE_LDCONFIG= yes
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -liconv
diff --git a/textproc/liblrdf/Makefile b/textproc/liblrdf/Makefile
index d14023f..632d8e5 100644
--- a/textproc/liblrdf/Makefile
+++ b/textproc/liblrdf/Makefile
@@ -20,8 +20,7 @@ USE_AUTOTOOLS= libtoolize automake autoconf aclocal
ACLOCAL_ARGS= -I${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS= --add-missing
GNU_CONFIGURE= yes
-USE_ICONV= yes
-USES= pathfix pkgconfig
+USES= pathfix pkgconfig iconv
USE_GNOME= libxml2 libxslt
GNOME_MAKEFILEIN= Makefile.am
USE_LDCONFIG= yes
diff --git a/textproc/libparsifal/Makefile b/textproc/libparsifal/Makefile
index 86b7753..d4d7743 100644
--- a/textproc/libparsifal/Makefile
+++ b/textproc/libparsifal/Makefile
@@ -15,7 +15,7 @@ MAINTAINER= yzlin@FreeBSD.org
COMMENT= Lightweight XML Parser
USE_AUTOTOOLS= libtool
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile
index 7c42905..1667088 100644
--- a/textproc/libxml2/Makefile
+++ b/textproc/libxml2/Makefile
@@ -19,9 +19,8 @@ COMMENT?= XML parser library for GNOME
USE_CSTD= gnu89
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
-USE_ICONV= yes
GNU_CONFIGURE= yes
-USES= pathfix
+USES= pathfix iconv
USE_GNOME?= pkgconfig
USE_LDCONFIG= yes
CONFIGURE_ARGS?=--with-iconv=${LOCALBASE} \
diff --git a/textproc/mifluz/Makefile b/textproc/mifluz/Makefile
index 9e5bc0d..7bbca7a 100644
--- a/textproc/mifluz/Makefile
+++ b/textproc/mifluz/Makefile
@@ -12,8 +12,7 @@ COMMENT= C++ library to build and query a full text inverted index
LICENSE= GPLv3
USE_GCC= any
-USES= bison pathfix
-USE_ICONV= yes
+USES= bison pathfix iconv
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --without-unac
USE_LDCONFIG= yes
diff --git a/textproc/odt2txt/Makefile b/textproc/odt2txt/Makefile
index d173f04..f18dac9 100644
--- a/textproc/odt2txt/Makefile
+++ b/textproc/odt2txt/Makefile
@@ -18,7 +18,7 @@ COMMENT= A simple converter from OpenDocument Text to plain text
LICENSE= GPLv2
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/textproc/opensp/Makefile b/textproc/opensp/Makefile
index 76dacde..be6ff5b 100644
--- a/textproc/opensp/Makefile
+++ b/textproc/opensp/Makefile
@@ -16,7 +16,7 @@ COMMENT= This package is a collection of SGML/XML tools called OpenSP
USE_GMAKE= yes
USE_LDCONFIG= yes
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
USE_PERL5= yes
CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog \
diff --git a/textproc/p5-Text-Unaccent/Makefile b/textproc/p5-Text-Unaccent/Makefile
index 75450ee..8d28c3a 100644
--- a/textproc/p5-Text-Unaccent/Makefile
+++ b/textproc/p5-Text-Unaccent/Makefile
@@ -17,7 +17,7 @@ COMMENT= Remove accents from a string
MAN3= Text::Unaccent.3
-USE_ICONV= yes
+USES= iconv
PERL_CONFIGURE= yes
CFLAGS+= -DICONV_CONST=const
diff --git a/textproc/p5-XML-Sablotron/Makefile b/textproc/p5-XML-Sablotron/Makefile
index c911428..f52d098 100644
--- a/textproc/p5-XML-Sablotron/Makefile
+++ b/textproc/p5-XML-Sablotron/Makefile
@@ -12,7 +12,7 @@ COMMENT= Perl interface to the Sablotron XSLT processor
LIB_DEPENDS= sablot.70:${PORTSDIR}/textproc/sablotron
-USE_ICONV= yes
+USES= iconv
PERL_CONFIGURE= yes
CONFIGURE_ARGS= LIBS='-L${LOCALBASE}/lib -lexpat -lsablot -liconv' \
INC='-I${LOCALBASE}/include' \
diff --git a/textproc/p5-XML-TinyXML/Makefile b/textproc/p5-XML-TinyXML/Makefile
index a8e05dc..5845f20 100644
--- a/textproc/p5-XML-TinyXML/Makefile
+++ b/textproc/p5-XML-TinyXML/Makefile
@@ -14,7 +14,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= info@rickvanderzwet.nl
COMMENT= Little and efficient Perl module to manage xml data
-USE_ICONV= yes
+USEs= iconv
MAKE_ARGS+= LIBS='-L${LOCALBASE}/lib' INC='-I. -I${LOCALBASE}/include'
PERL_CONFIGURE= yes
diff --git a/textproc/refdb/Makefile b/textproc/refdb/Makefile
index 0471b97..c9d57d3 100644
--- a/textproc/refdb/Makefile
+++ b/textproc/refdb/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 \
dbi.1:${PORTSDIR}/databases/libdbi
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
USE_PERL5= yes
HAS_CONFIGURE= yes
ALL_TARGET=
diff --git a/textproc/ruby-libxml/Makefile b/textproc/ruby-libxml/Makefile
index 1282497..5a7bfa5 100644
--- a/textproc/ruby-libxml/Makefile
+++ b/textproc/ruby-libxml/Makefile
@@ -18,7 +18,7 @@ EXPIRATION_DATE= 2013-05-02
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
USE_RUBY= yes
-USE_ICONV= yes
+USES= iconv
USE_LDCONFIG= ${RUBY_SITEARCHLIBDIR}/xml
EXT_ARGS= --with-iconv-dir=${LOCALBASE} \
diff --git a/textproc/ruby-sablot/Makefile b/textproc/ruby-sablot/Makefile
index dbc0d83..8b188c8 100644
--- a/textproc/ruby-sablot/Makefile
+++ b/textproc/ruby-sablot/Makefile
@@ -18,7 +18,7 @@ EXPIRATION_DATE= 2013-05-02
LIB_DEPENDS= sablot.70:${PORTSDIR}/textproc/sablotron \
expat.6:${PORTSDIR}/textproc/expat2
-USE_ICONV= yes
+USES= iconv
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
diff --git a/textproc/sablotron/Makefile b/textproc/sablotron/Makefile
index 9b1f781..50f65a0 100644
--- a/textproc/sablotron/Makefile
+++ b/textproc/sablotron/Makefile
@@ -30,7 +30,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lexpat -liconv
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
USE_PERL5_BUILD= yes
diff --git a/textproc/scim-kmfl-imengine/Makefile b/textproc/scim-kmfl-imengine/Makefile
index 408253b..c530e8c 100644
--- a/textproc/scim-kmfl-imengine/Makefile
+++ b/textproc/scim-kmfl-imengine/Makefile
@@ -28,8 +28,7 @@ RUN_DEPENDS= kmflcomp:${PORTSDIR}/textproc/kmflcomp \
USE_XORG= x11 xkbfile xproto
USE_AUTOTOOLS= libtool
USE_GNOME= glib20 gtk20 intlhack
-USES= gettext
-USE_ICONV= yes
+USES= gettext iconv
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/textproc/scim-openvanilla/Makefile b/textproc/scim-openvanilla/Makefile
index 6e505c0..891e283 100644
--- a/textproc/scim-openvanilla/Makefile
+++ b/textproc/scim-openvanilla/Makefile
@@ -20,8 +20,7 @@ LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
USE_AUTOTOOLS= libltdl
WRKSRC= ${WRKDIR}/${DISTNAME}/Loaders/SCIM
USE_GMAKE= yes
-USE_ICONV= yes
-USES= pkgconfig gettext
+USES= pkgconfig gettext iconv
GNU_CONFIGURE= yes
CONFIGURE_ENV+= OV_MODULEDIR=${PREFIX}/lib/openvanilla/
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/textproc/scim/Makefile b/textproc/scim/Makefile
index 09e9545..f97b7f3 100644
--- a/textproc/scim/Makefile
+++ b/textproc/scim/Makefile
@@ -18,11 +18,10 @@ USE_GNOME= gnomehack gnomehier gtk20 intlhack
USE_AUTOTOOLS= libtool
USE_GCC= any
-USE_ICONV= yes
USE_GMAKE= yes
USE_XORG= x11 xpm
USE_LDCONFIG= yes
-USES= gettext
+USES= gettext iconv
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
diff --git a/textproc/sdcv/Makefile b/textproc/sdcv/Makefile
index 092e5b5..b34c548 100644
--- a/textproc/sdcv/Makefile
+++ b/textproc/sdcv/Makefile
@@ -11,11 +11,10 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A text-based utility for work with dictionaries in StarDict's format
USE_BZIP2= yes
-USE_ICONV= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
USE_GNOME= glib20
-USES= pkgconfig
+USES= pkgconfig iconv
SUB_FILES= pkg-message
.if !defined(WITHOUT_NLS)
diff --git a/textproc/simplexml/Makefile b/textproc/simplexml/Makefile
index ce4410b..4aad9d4 100644
--- a/textproc/simplexml/Makefile
+++ b/textproc/simplexml/Makefile
@@ -17,8 +17,7 @@ COMMENT= C++ XML parser library
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
-USES= cmake
-USE_ICONV= yes
+USES= cmake iconv
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/textproc/skim/Makefile b/textproc/skim/Makefile
index 7b399fb..773f7ee 100644
--- a/textproc/skim/Makefile
+++ b/textproc/skim/Makefile
@@ -22,7 +22,7 @@ EXPIRATION_DATE= 2013-07-01
USE_KDELIBS_VER=3
USE_PYTHON= yes
USE_BZIP2= yes
-USE_ICONV= yes
+USES= iconv
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
PYDISTUTILS_NOEGGINFO= yes
diff --git a/textproc/sphinxsearch-devel/Makefile b/textproc/sphinxsearch-devel/Makefile
index dd5c9ed..f17158f 100644
--- a/textproc/sphinxsearch-devel/Makefile
+++ b/textproc/sphinxsearch-devel/Makefile
@@ -56,7 +56,7 @@ CONFIGURE_ARGS+= --without-pgsql
.if ${PORT_OPTIONS:MICONV}
CONFIGURE_ARGS+= --with-iconv
-USE_ICONV= yes
+USES+= iconv
.else
CONFIGURE_ARGS+= --without-iconv
.endif
diff --git a/textproc/sphinxsearch/Makefile b/textproc/sphinxsearch/Makefile
index 9d98f9f..c5e140e 100644
--- a/textproc/sphinxsearch/Makefile
+++ b/textproc/sphinxsearch/Makefile
@@ -64,7 +64,7 @@ CONFIGURE_ARGS+= --without-pgsql
.if ${PORT_OPTIONS:MICONV}
CONFIGURE_ARGS+= --with-iconv
-USE_ICONV= yes
+USES+= iconv
.else
CONFIGURE_ARGS+= --without-iconv
.endif
diff --git a/textproc/uim-el/Makefile b/textproc/uim-el/Makefile
index 4b84937..f9a410f 100644
--- a/textproc/uim-el/Makefile
+++ b/textproc/uim-el/Makefile
@@ -27,7 +27,7 @@ USE_BZIP2= yes
USE_PERL5_BUILD=yes
USE_GNOME= intltool
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
USE_EMACS= yes
GNU_CONFIGURE= yes
diff --git a/textproc/uim-qt4/Makefile b/textproc/uim-qt4/Makefile
index d0ae1c6..a9edaf1 100644
--- a/textproc/uim-qt4/Makefile
+++ b/textproc/uim-qt4/Makefile
@@ -13,7 +13,7 @@ LIB_DEPENDS= uim.8:${PORTSDIR}/textproc/uim
USE_QT4= qmake_build moc_build qt3support uic
USE_AUTOTOOLS= libtool
-USE_ICONV= yes
+USES= iconv
MASTERDIR= ${.CURDIR}/../../textproc/uim
PKGDIR= ${.CURDIR}
diff --git a/textproc/uim/Makefile b/textproc/uim/Makefile
index d6869fc..5853512 100644
--- a/textproc/uim/Makefile
+++ b/textproc/uim/Makefile
@@ -22,8 +22,7 @@ WANT_GNOME= yes
USE_GNOME+= glib20 intltool
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
-USES= gettext
-USE_ICONV= yes
+USES= gettext iconv
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
diff --git a/textproc/unrtf/Makefile b/textproc/unrtf/Makefile
index 1636a68..e8fd6d2 100644
--- a/textproc/unrtf/Makefile
+++ b/textproc/unrtf/Makefile
@@ -11,7 +11,7 @@ COMMENT= A converter from RTF to several formats, including HTML and LaTeX
LICENSE= GPLv3
-USE_ICONV= yes
+USES= iconv
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir=${PREFIX}/share
diff --git a/textproc/wv2/Makefile b/textproc/wv2/Makefile
index a7115df..7e1478b 100644
--- a/textproc/wv2/Makefile
+++ b/textproc/wv2/Makefile
@@ -15,9 +15,8 @@ MAINTAINER= fluffy@FreeBSD.org
COMMENT= A library providing routines to access Microsoft Word files
USE_GNOME= libgsf
-USE_ICONV= yes
USE_BZIP2= yes
-USES= cmake
+USES= cmake iconv
USE_LDCONFIG= yes
post-patch:
diff --git a/textproc/xalan-c/Makefile b/textproc/xalan-c/Makefile
index 0bdeff1..b821a6c 100644
--- a/textproc/xalan-c/Makefile
+++ b/textproc/xalan-c/Makefile
@@ -88,7 +88,7 @@ MAKE_ENV+= XALAN_USE_ICU=1
MAKE_ENV+= ICUROOT=${ICUROOT}
PLIST_SUB+= ICUDEP=""
.else
-USE_ICONV= yes
+USES+= iconv
LDFLAGS+= -L${LOCALBASE}/lib -liconv
PLIST_SUB+= ICUDEP="@comment "
.endif
diff --git a/textproc/xerces-c2-devel/Makefile b/textproc/xerces-c2-devel/Makefile
index 7fc0442..5127a11 100644
--- a/textproc/xerces-c2-devel/Makefile
+++ b/textproc/xerces-c2-devel/Makefile
@@ -37,7 +37,7 @@ TRANSCODER= IconvFBSD
.endif
.if !defined(TRANSCODER)
-USE_ICONV= yes
+USES+= iconv
TRANSCODER= IconvFBSD
ICONVROOT?= ${LOCALBASE}
CONFIGURE_ENV+= ICONVROOT=${ICONVROOT}
@@ -58,7 +58,7 @@ PKGNAMESUFFIX+= -native
PLIST_SUB+= TRANSICONV=""
PLIST_SUB+= TRANSICU="@comment "
.else
-USE_ICONV= yes
+USES+= iconv
TRANSCODER= IconvFBSD
ICONVROOT?= ${LOCALBASE}
CONFIGURE_ENV+= ICONVROOT=${ICONVROOT}
diff --git a/textproc/xerces-c2/Makefile b/textproc/xerces-c2/Makefile
index d309d23..85080c1 100644
--- a/textproc/xerces-c2/Makefile
+++ b/textproc/xerces-c2/Makefile
@@ -39,7 +39,7 @@ PLIST_SUB+= TRANSICU="@comment "
.endif
.if ${PORT_OPTIONS:MICONVFBSD}
-USE_ICONV= yes
+USES+= iconv
TRANSCODER= IconvFBSD
ICONVROOT?= ${LOCALBASE}
CONFIGURE_ENV+= ICONVROOT=${ICONVROOT}
diff --git a/textproc/xmlppm/Makefile b/textproc/xmlppm/Makefile
index 54af8a3..64fa5c3 100644
--- a/textproc/xmlppm/Makefile
+++ b/textproc/xmlppm/Makefile
@@ -18,7 +18,7 @@ COMMENT= XML-Conscious PPM Compression
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
-USE_ICONV= yes
+USES= iconv
USE_GMAKE= yes
MAKE_ARGS= CC="${CXX}" CFLAGS="${CXXFLAGS}" \
CPPFLAGS="-I${LOCALBASE}/include" \
diff --git a/textproc/xmlstarlet/Makefile b/textproc/xmlstarlet/Makefile
index 16355ca..62d89d3 100644
--- a/textproc/xmlstarlet/Makefile
+++ b/textproc/xmlstarlet/Makefile
@@ -13,7 +13,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GNOME= libxslt
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libxml-prefix=${LOCALBASE} \
--with-libxslt-prefix=${LOCALBASE} \
diff --git a/textproc/zorba/Makefile b/textproc/zorba/Makefile
index ad6564f..904b9f8 100644
--- a/textproc/zorba/Makefile
+++ b/textproc/zorba/Makefile
@@ -29,9 +29,8 @@ OPTIONS_DEFINE= PHP PYTHON RUBY JAVA DOCS
CONFLICTS= xqilla-[0-9]*
USE_GNOME= libxml2 libxslt
-USE_ICONV= yes
USE_LDCONFIG= yes
-USES= cmake:outsource
+USES= cmake:outsource iconv
CXXFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CMAKE_ARGS= -DCMAKE_REQUIRED_FLAGS:STRING="-I${LOCALBASE}/include -L${LOCALBASE}/lib"
diff --git a/www/anyterm/Makefile b/www/anyterm/Makefile
index 7d8661b..6453a94 100644
--- a/www/anyterm/Makefile
+++ b/www/anyterm/Makefile
@@ -20,7 +20,7 @@ MAN1= anytermd.1
USE_RC_SUBR= anytermd
USE_BZIP2= yes
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
USE_GCC= any
ALL_TARGET= default_target
PLIST_FILES= sbin/anytermd
diff --git a/www/apache22/Makefile b/www/apache22/Makefile
index f628236..4023f63 100644
--- a/www/apache22/Makefile
+++ b/www/apache22/Makefile
@@ -25,7 +25,7 @@ CONFLICTS_INSTALL= caudium14-1.* \
USE_APACHE= common22
USE_BZIP2= yes
-USE_ICONV= yes
+USES= iconv
USE_AUTOTOOLS= autoconf libtool
USE_PERL5= yes
USE_RC_SUBR= apache22 htcacheclean
diff --git a/www/apache24/Makefile b/www/apache24/Makefile
index 144f83f..007dd172 100644
--- a/www/apache24/Makefile
+++ b/www/apache24/Makefile
@@ -23,7 +23,7 @@ CONFLICTS_INSTALL= caudium14-1.* \
apache-*-2.2.* apache22-*
USE_APACHE= common24
-USE_ICONV= yes
+USES= iconv
USE_AUTOTOOLS= autoconf libtool
USE_PERL5= yes
USE_RC_SUBR= apache24 htcacheclean
diff --git a/www/awffull/Makefile b/www/awffull/Makefile
index f779590..c66fd58 100644
--- a/www/awffull/Makefile
+++ b/www/awffull/Makefile
@@ -23,8 +23,7 @@ FONTLABEL?= ${LOCALBASE}/lib/X11/fonts/bitstream-vera/Vera.ttf
OPTIONS_DEFINE= GEOIP
-USE_ICONV= yes
-USES= gettext
+USES= gettext iconv
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-font-default=${FONTDEFAULT} \
diff --git a/www/cadaver/Makefile b/www/cadaver/Makefile
index 2060fd6..d48948f 100644
--- a/www/cadaver/Makefile
+++ b/www/cadaver/Makefile
@@ -51,8 +51,7 @@ post-install:
.endif
.if !defined(WITHOUT_NLS)
-USE_ICONV= yes
-USES= gettext
+USES= gettext iconv
CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE} \
--with-libintl-prefix=${LOCALBASE}
LANGS=en@quot es it
diff --git a/www/cas/Makefile b/www/cas/Makefile
index b9dfe47..cc07cfa 100644
--- a/www/cas/Makefile
+++ b/www/cas/Makefile
@@ -13,9 +13,8 @@ LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 \
pcre:${PORTSDIR}/devel/pcre \
ctpp2:${PORTSDIR}/textproc/ctpp2
-USES= cmake
+USES= cmake iconv
USE_LDCONFIG= yes
-USE_ICONV= yes
WITHOUT_NLS= yes
MAKE_JOBS_SAFE= yes
diff --git a/www/dansguardian-devel/Makefile b/www/dansguardian-devel/Makefile
index cb5b03d..44458aa 100644
--- a/www/dansguardian-devel/Makefile
+++ b/www/dansguardian-devel/Makefile
@@ -97,7 +97,7 @@ PLIST_SUB+= SCANNERS="@comment "
.if ${PORT_OPTIONS:MNTLM}
CONFIGURE_ARGS+= --enable-ntlm --with-libiconv=${LOCALBASE}
-USE_ICONV= yes
+USES+= iconv
PLIST_SUB+= NTLMCONF=""
.else
PLIST_SUB+= NTLMCONF="@comment "
diff --git a/www/dansguardian/Makefile b/www/dansguardian/Makefile
index 9c89802..22a6694 100644
--- a/www/dansguardian/Makefile
+++ b/www/dansguardian/Makefile
@@ -97,7 +97,7 @@ PLIST_SUB+= SCANNERS="@comment "
.if ${PORT_OPTIONS:MNTLM}
CONFIGURE_ARGS+= --enable-ntlm --with-libiconv=${LOCALBASE}
-USE_ICONV= yes
+USES+= iconv
PLIST_SUB+= NTLMCONF=""
.else
PLIST_SUB+= NTLMCONF="@comment "
diff --git a/www/dillo-i18n/Makefile b/www/dillo-i18n/Makefile
index 317f7e3..af4bc28 100644
--- a/www/dillo-i18n/Makefile
+++ b/www/dillo-i18n/Makefile
@@ -33,7 +33,7 @@ I18NVERSION= 20060709
USE_BZIP2= yes
USE_GNOME= gtk12
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/www/elinks/Makefile b/www/elinks/Makefile
index e428d08..4de5260 100644
--- a/www/elinks/Makefile
+++ b/www/elinks/Makefile
@@ -190,7 +190,7 @@ CONFIGURE_ARGS+= --disable-sm-scripting --without-spidermonkey
.endif
.if ${PORT_OPTIONS:MICONV}
-USE_ICONV= yes
+USES+= iconv
CONFIGURE_ARGS+= --with-libiconv-prefix=${LOCALBASE}
.endif
diff --git a/www/flood/Makefile b/www/flood/Makefile
index 9b18c75..b1ff4c5 100644
--- a/www/flood/Makefile
+++ b/www/flood/Makefile
@@ -25,7 +25,7 @@ CONFIGURE_ARGS= --disable-shared \
--with-apr-util=${LOCALBASE}/bin/apu-1-config
LDFLAGS+= -L${PREFIX}/lib
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
EX_SCRIPTS= analyze-relative analyze-relative-ramp
EX_DATA= flood.dtd relative-averages-time.awk round-robin-dynamic.xml \
diff --git a/www/gatling/Makefile b/www/gatling/Makefile
index c0c7529..f2eca1a 100644
--- a/www/gatling/Makefile
+++ b/www/gatling/Makefile
@@ -58,7 +58,7 @@ CFLAGS+= -O2 -fomit-frame-pointer
.endif
.if defined(WITH_GATLING_SMB)
-USE_ICONV= yes
+USES+= iconv
CFLAGS+= -I${LOCALBASE}/include
MAKE_ENV+= ICONV=1
.else
diff --git a/www/htmlcxx/Makefile b/www/htmlcxx/Makefile
index d5da342..d7fef6d 100644
--- a/www/htmlcxx/Makefile
+++ b/www/htmlcxx/Makefile
@@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LGPL_V2
BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison
-USE_ICONV= yes
+USES= iconv
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/www/httest/Makefile b/www/httest/Makefile
index 3008d24..07fc420 100644
--- a/www/httest/Makefile
+++ b/www/httest/Makefile
@@ -25,7 +25,7 @@ CONFIGURE_ARGS= --enable-lua-module \
CPPFLAGS+= -I${LUA_INCDIR}
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
-USE_ICONV= yes
+USES= iconv
USE_LUA= yes
USE_OPENSSL= yes
diff --git a/www/httrack/Makefile b/www/httrack/Makefile
index 1d171dd..8d0827e 100644
--- a/www/httrack/Makefile
+++ b/www/httrack/Makefile
@@ -21,7 +21,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/lib/${PORTNAME}
MAN1= htsserver.1 httrack.1 proxytrack.1 webhttrack.1
diff --git a/www/lynx-current/Makefile b/www/lynx-current/Makefile
index 399d215..239c0a7 100644
--- a/www/lynx-current/Makefile
+++ b/www/lynx-current/Makefile
@@ -22,7 +22,7 @@ CONFLICTS_INSTALL= lynx-2.8.[0-7].* ja-lynx-[0-9]*
WRKSRC= ${WRKDIR}/${PORTNAME}2-8-8
USE_BZIP2= yes
-USE_ICONV= yes
+USES= iconv
USE_OPENSSL= yes
NO_LATEST_LINK= yes
GNU_CONFIGURE= yes
diff --git a/www/lynx/Makefile b/www/lynx/Makefile
index 675fe98..8303d6b 100644
--- a/www/lynx/Makefile
+++ b/www/lynx/Makefile
@@ -34,8 +34,7 @@ DEFAULT_COLORS_DESC= Colors support
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS='@comment '
.else
-USES+= gettext
-USE_ICONV= yes
+USES+= gettext iconv
CONFIGURE_ARGS+=--enable-nls --with-libiconv-prefix="${LOCALBASE}"
PLIST_SUB+= NLS=''
.endif
diff --git a/www/mod_encoding/Makefile b/www/mod_encoding/Makefile
index 2adb809..8059124 100644
--- a/www/mod_encoding/Makefile
+++ b/www/mod_encoding/Makefile
@@ -22,7 +22,7 @@ MAKE_JOBS_SAFE= yes
#APACHE_VERSION= 1.3.6
USE_APACHE= 22+
-USE_ICONV= yes
+USES= iconv
HAS_CONFIGURE= yes
USE_GMAKE= yes
diff --git a/www/rsstool/Makefile b/www/rsstool/Makefile
index bc1cf68..6161dcb 100644
--- a/www/rsstool/Makefile
+++ b/www/rsstool/Makefile
@@ -14,7 +14,7 @@ MASTER_SITES= BERLIOS
MAINTAINER= miwi@FreeBSD.org
COMMENT= Read, parse, merge and write RSS and Atom feeds
-USE_ICONV= yes
+USES= iconv
USE_GNOME= libxml2
USE_GMAKE= yes
BUILD_WRKSRC= ${WRKSRC}/src
diff --git a/www/sarg/Makefile b/www/sarg/Makefile
index 3e652ab..12a7012 100644
--- a/www/sarg/Makefile
+++ b/www/sarg/Makefile
@@ -70,7 +70,7 @@ CONFIGURE_ARGS+=--without-ldap
.if ${PORT_OPTIONS:MICONV}
CONFIGURE_ARGS+=--with-iconv
-USE_ICONV= yes
+USES+= iconv
.else
CONFIGURE_ARGS+=--without-iconv
.endif
diff --git a/www/tntnet/Makefile b/www/tntnet/Makefile
index eb54cc2..320e74b 100644
--- a/www/tntnet/Makefile
+++ b/www/tntnet/Makefile
@@ -17,7 +17,7 @@ COMMENT= Webapplicationserver for C++
LIB_DEPENDS= cxxtools:${PORTSDIR}/devel/cxxtools
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
-USE_ICONV= yes
+USES= iconv
USE_CSTD= gnu89
PATCH_STRIP= -p1
GNU_CONFIGURE= yes
diff --git a/www/trafficserver/Makefile b/www/trafficserver/Makefile
index f0d06d3..a809637 100644
--- a/www/trafficserver/Makefile
+++ b/www/trafficserver/Makefile
@@ -23,7 +23,7 @@ MAN1= traffic_shell.1
USE_AUTOTOOLS= autoconf automake libtool
USE_BZIP2= yes
-USE_ICONV= yes
+USES= iconv
USE_OPENSSL= yes
USE_SQLITE= yes
USE_TCL= yes
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile
index 265a271..f58d31c 100644
--- a/www/webalizer/Makefile
+++ b/www/webalizer/Makefile
@@ -124,7 +124,7 @@ EXTRA_PATCHES+= ${FILESDIR}/ja-webalizer.conf-dist.patch
.endif
.if ${PORT_OPTIONS:MWEBALIZER_CONV}
-USE_ICONV=yes
+USES+= iconv
# The patch file is written by URASHIMA Akira
# see http://tyche.pu-toyama.ac.jp/~a-urasim/webalizer/
EXTRA_PATCHES+= ${FILESDIR}/webalizer-a-urasim_2.patch
diff --git a/www/xapian-omega/Makefile b/www/xapian-omega/Makefile
index a51236d..7eb672c 100644
--- a/www/xapian-omega/Makefile
+++ b/www/xapian-omega/Makefile
@@ -39,7 +39,7 @@ PORTEXAMPLES= omega.conf
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MICONV}
-USE_ICONV= yes
+USES+= iconv
CONFIGURE_ARGS+=--with-iconv
.else
CONFIGURE_ARGS+=--without-iconv
diff --git a/www/xapian-omega10/Makefile b/www/xapian-omega10/Makefile
index 2ac8033..4fa995e 100644
--- a/www/xapian-omega10/Makefile
+++ b/www/xapian-omega10/Makefile
@@ -40,7 +40,7 @@ PORTSCOUT= limit:^1\.0\.
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MICONV}
-USE_ICONV= yes
+USES+= iconv
CONFIGURE_ARGS+= --with-iconv
.else
CONFIGURE_ARGS+= --without-iconv
diff --git a/x11-clocks/cairo-clock/Makefile b/x11-clocks/cairo-clock/Makefile
index 4bb58c8..ca8dde8 100644
--- a/x11-clocks/cairo-clock/Makefile
+++ b/x11-clocks/cairo-clock/Makefile
@@ -14,9 +14,9 @@ MASTER_SITES= http://macslow.thepimp.net/projects/cairo-clock/
MAINTAINER= daichi@FreeBSD.org
COMMENT= MacSlow's Cairo-Clock
-USE_GNOME= gtk20 intlhack gnomehack libglade2 librsvg2
+USE_GNOME= gtk20 intlhack libglade2 librsvg2
USE_GMAKE= yes
-USE_ICONV= yes
+USES= pathfix iconv
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAN1= cairo-clock.1
diff --git a/x11-themes/lxde-icon-theme/Makefile b/x11-themes/lxde-icon-theme/Makefile
index dc10bdb..2c5be6b 100644
--- a/x11-themes/lxde-icon-theme/Makefile
+++ b/x11-themes/lxde-icon-theme/Makefile
@@ -16,7 +16,7 @@ COMMENT= LXDE Icon Theme
USE_BZIP2= YES
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
diff --git a/x11-wm/afterstep-stable/Makefile b/x11-wm/afterstep-stable/Makefile
index f4fb56f..5513b33 100644
--- a/x11-wm/afterstep-stable/Makefile
+++ b/x11-wm/afterstep-stable/Makefile
@@ -29,7 +29,7 @@ RUN_DEPENDS= xli:${PORTSDIR}/graphics/xli
USE_BZIP2= yes
USE_GNOME= glib20 gtk20 pango
-USE_ICONV= yes
+USES= iconv
USE_XORG+= ice sm x11 xcursor xext xfixes xi xinerama xrandr xrender
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
diff --git a/x11-wm/awesome/Makefile b/x11-wm/awesome/Makefile
index deac174..2ff8824 100644
--- a/x11-wm/awesome/Makefile
+++ b/x11-wm/awesome/Makefile
@@ -35,8 +35,7 @@ LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo \
execinfo:${PORTSDIR}/devel/libexecinfo
USE_XZ= yes
-USE_ICONV= yes
-USES= cmake
+USES= cmake iconv
CMAKE_ARGS+= -DSYSCONFDIR=${PREFIX}/etc
USE_EFL= imlib2
USE_GNOME= glib20 pango
diff --git a/x11-wm/awesome2/Makefile b/x11-wm/awesome2/Makefile
index afedc37..a7eb6bd 100644
--- a/x11-wm/awesome2/Makefile
+++ b/x11-wm/awesome2/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= confuse.0:${PORTSDIR}/devel/libconfuse \
cairo.2:${PORTSDIR}/graphics/cairo \
freetype.9:${PORTSDIR}/print/freetype2
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
USE_EFL= imlib2
USE_GNOME= pango
diff --git a/x11-wm/blackbox/Makefile b/x11-wm/blackbox/Makefile
index 9615f88..de7247c 100644
--- a/x11-wm/blackbox/Makefile
+++ b/x11-wm/blackbox/Makefile
@@ -17,8 +17,7 @@ COMMENT= A small and fast window manager for X11R6
LICENSE= MIT
GNU_CONFIGURE= yes
-USE_ICONV= yes
-USE_GNOME= gnomehack pkgconfig
+USES= pathfix pkgconfig iconv
USE_XORG= x11 xft
MAN1= bsetbg.1 bsetroot.1
diff --git a/x11-wm/e16/Makefile b/x11-wm/e16/Makefile
index 3b33682..09fee574 100644
--- a/x11-wm/e16/Makefile
+++ b/x11-wm/e16/Makefile
@@ -14,8 +14,7 @@ SOUND_DESC= Sound support via pulseaudio/libsndfile
USE_XORG= compositeproto damageproto xextproto x11 xbitmaps xcomposite xdamage \
xext xfixes xft xinerama xrandr xrender xxf86vm
-USE_ICONV= yes
-USES= gettext
+USES= gettext iconv
USE_GMAKE= yes
USE_EFL= imlib2
USE_AUTOTOOLS= libtool
diff --git a/x11-wm/enlightenment/Makefile b/x11-wm/enlightenment/Makefile
index 571e13d..93ca1b2 100644
--- a/x11-wm/enlightenment/Makefile
+++ b/x11-wm/enlightenment/Makefile
@@ -19,14 +19,13 @@ LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo \
DIST_SUBDIR= e17
USE_BZIP2= yes
GNU_CONFIGURE= yes
-USES= pathfix
+USES= pathfix iconv
USE_GMAKE= yes
USE_EFL= eina eet evas ecore eio edbus efreet edje \
libtool_hack librt_hack modarch_hack
USE_EFL_EVAS_LOADERS= eet jpeg png
USE_EFL_EVAS_ENGINES= buffer
USE_EFL_ECORE= ipc
-USE_ICONV= yes
USE_LDCONFIG= yes
SUB_FILES= pkg-message
diff --git a/x11-wm/fluxbox/Makefile b/x11-wm/fluxbox/Makefile
index e5ac815..d3350ec 100644
--- a/x11-wm/fluxbox/Makefile
+++ b/x11-wm/fluxbox/Makefile
@@ -74,7 +74,7 @@ CONFIGURE_ARGS+= --enable-xinerama
.endif
.if ${PORT_OPTIONS:MNLS}
-USE_ICONV= yes
+USES+= iconv
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -liconv"
CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS+= --enable-nls
diff --git a/x11-wm/fvwm2/Makefile b/x11-wm/fvwm2/Makefile
index c4d4147..aedd620 100644
--- a/x11-wm/fvwm2/Makefile
+++ b/x11-wm/fvwm2/Makefile
@@ -47,7 +47,7 @@ DISTFILES+= ${FVWM_ICONS}.tar.bz2
.if ! ${PORT_OPTIONS:MICONV}
CONFIGURE_ARGS+= --disable-iconv
.else
-USE_ICONV= yes
+USES+= iconv
CONFIGURE_ARGS+= --with-iconv-library=${LOCALBASE}/lib \
--with-iconv-includes=${LOCALBASE}/include
.endif
diff --git a/x11-wm/i3/Makefile b/x11-wm/i3/Makefile
index 0fc29db..d5a4254 100644
--- a/x11-wm/i3/Makefile
+++ b/x11-wm/i3/Makefile
@@ -31,10 +31,9 @@ RUN_DEPENDS= p5-IPC-Run>=0:${PORTSDIR}/devel/p5-IPC-Run \
USE_PERL5_RUN= yes
USE_XORG= x11 xcursor
-USES= bison pkgconfig
+USES= bison pkgconfig iconv
USE_BZIP2= yes
USE_GMAKE= yes
-USE_ICONV= yes
MAKE_JOBS_UNSAFE= yes
PLIST_FILES= bin/i3 \
diff --git a/x11-wm/lxsession/Makefile b/x11-wm/lxsession/Makefile
index f3db0dc..40a2e5b 100644
--- a/x11-wm/lxsession/Makefile
+++ b/x11-wm/lxsession/Makefile
@@ -22,7 +22,7 @@ CONFLICTS= lxsession-lite-[0-9]*
USE_GNOME= gtk20 intlhack
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/x11-wm/pekwm/Makefile b/x11-wm/pekwm/Makefile
index 65599d4..c3c92c2 100644
--- a/x11-wm/pekwm/Makefile
+++ b/x11-wm/pekwm/Makefile
@@ -13,10 +13,9 @@ COMMENT= Light, Unobtrusive, and configurable windowmanager
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png
-USES= pkgconfig
+USES= pkgconfig iconv
USE_XORG= xft xpm x11
USE_GMAKE= yes
-USE_ICONV= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-shape --enable-xinerama --enable-xrandr \
diff --git a/x11-wm/wmii/Makefile b/x11-wm/wmii/Makefile
index 432fc91..7ce2875 100644
--- a/x11-wm/wmii/Makefile
+++ b/x11-wm/wmii/Makefile
@@ -31,7 +31,7 @@ SLIM_LAYOUT_BOX_DESC= Build with slim layout boxes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MUTF8}
-USE_ICONV= yes
+USES+= iconv
MAKE_ARGS+= LIBICONV="-liconv"
.else
MAKE_ARGS+= -DNO_UTF8
diff --git a/x11/eterm/Makefile b/x11/eterm/Makefile
index 9310810..cdf0fcc 100644
--- a/x11/eterm/Makefile
+++ b/x11/eterm/Makefile
@@ -27,7 +27,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= MMX
USE_XORG= x11 xt
-USE_ICONV= yes
+USES= iconv
USE_EFL= imlib2
MAN1= Eterm.1
diff --git a/x11/florence/Makefile b/x11/florence/Makefile
index 08762e3..24270af 100644
--- a/x11/florence/Makefile
+++ b/x11/florence/Makefile
@@ -21,9 +21,8 @@ USE_XORG= xtst
USE_GNOME= gtk20 intlhack gnomedocutils gconf2 librsvg2 gnomepanel
USE_BZIP2= yes
-USES= gettext
+USES= gettext iconv
USE_GMAKE= yes
-USE_ICONV= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALLS_OMF= yes
diff --git a/x11/gdkxft/Makefile b/x11/gdkxft/Makefile
index a1fced9..8cb9312 100644
--- a/x11/gdkxft/Makefile
+++ b/x11/gdkxft/Makefile
@@ -14,7 +14,7 @@ LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/libXft
USE_AUTOTOOLS= libtool
USE_GNOME= gtk12
-USE_ICONV= yes
+USES= iconv
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib -lgnuregex -liconv
CFLAGS+= `pkg-config xft --cflags`
diff --git a/x11/ggiterm/Makefile b/x11/ggiterm/Makefile
index a58d307..2904726 100644
--- a/x11/ggiterm/Makefile
+++ b/x11/ggiterm/Makefile
@@ -37,7 +37,7 @@ BROKEN= fails to build with new utmpx
.if ${PORT_OPTIONS:MFREETYPE}
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
-USE_ICONV= yes
+USES+= iconv
CONFIGURE_ARGS+=--with-ft-prefix=${LOCALBASE}
.else
CONFIGURE_ARGS+=--without-freetype
diff --git a/x11/i3lock/Makefile b/x11/i3lock/Makefile
index 254cfd0..9809144 100644
--- a/x11/i3lock/Makefile
+++ b/x11/i3lock/Makefile
@@ -35,6 +35,6 @@ MAKE_JOBS_SAFE= yes
USE_XORG= x11 xt xproto xext
USE_BZIP2= yes
USE_GMAKE= yes
-USE_ICONV= yes
+USES= iconv
.include <bsd.port.mk>
diff --git a/x11/kde4-workspace/Makefile b/x11/kde4-workspace/Makefile
index 3d78790..30b7722 100644
--- a/x11/kde4-workspace/Makefile
+++ b/x11/kde4-workspace/Makefile
@@ -44,10 +44,9 @@ CONFLICTS= kdeaccessibility-4.[0-6].* kdebase-workspace-4.[0-6].*
USE_GL= glu
USE_GNOME= glib20
-USE_ICONV= yes
USE_KDE4= kactivities kdehier kdelibs kdeprefix oxygen pimlibs \
akonadi automoc4 ontologies qimageblitz soprano strigi
-USES= cmake:outsource pkgconfig gettext
+USES= cmake:outsource pkgconfig gettext iconv
USE_QT4= corelib dbus declarative designer_build gui network \
opengl phonon qtestlib script sql webkit xml \
moc_build qmake_build rcc_build uic_build
diff --git a/x11/trayer/Makefile b/x11/trayer/Makefile
index 047f8b3..57b35bb 100644
--- a/x11/trayer/Makefile
+++ b/x11/trayer/Makefile
@@ -13,7 +13,7 @@ COMMENT= Lightweight GTK2-based systray for UNIX desktop
GITVERSION= 0-g5353f80
FETCH_ARGS= -pRr
USE_GNOME= gtk20 glib20 pango atk
-USE_ICONV= yes
+USES= iconv
USE_XORG= xmu
USE_GMAKE= yes
MAKE_ARGS= "PREFIX=${PREFIX}"
diff --git a/x11/x3270/Makefile b/x11/x3270/Makefile
index 7c6eaec..221fdbf 100644
--- a/x11/x3270/Makefile
+++ b/x11/x3270/Makefile
@@ -19,7 +19,7 @@ BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
USE_IMAKE= yes
-USE_ICONV= yes
+USES= iconv
USE_XORG= ice sm x11 xaw xext xmu xt
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-fontdir=${PREFIX}/lib/X11/fonts/local --disable-dbcs
diff --git a/x11/xfree86_xkb_xml/Makefile b/x11/xfree86_xkb_xml/Makefile
index af92391..d42fc85 100644
--- a/x11/xfree86_xkb_xml/Makefile
+++ b/x11/xfree86_xkb_xml/Makefile
@@ -14,8 +14,7 @@ MASTER_SITES= SF/gswitchit/OldFiles
MAINTAINER= gnome@FreeBSD.org
COMMENT= A little set of XML files useful for dealing with XKB rules
-USE_ICONV= yes
-USES= gettext
+USES= gettext iconv
USE_XORG= x11
USE_GMAKE= yes
GNU_CONFIGURE= yes
diff --git a/x11/xkeyboard-config/Makefile b/x11/xkeyboard-config/Makefile
index 16e08cc..c92b694 100644
--- a/x11/xkeyboard-config/Makefile
+++ b/x11/xkeyboard-config/Makefile
@@ -30,8 +30,7 @@ MAN7= xkeyboard-config.7
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
-USE_ICONV= yes
-USES+= gettext
+USES+= gettext iconv
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
diff --git a/x11/xnee/Makefile b/x11/xnee/Makefile
index 63c3c6b..f1a0036 100644
--- a/x11/xnee/Makefile
+++ b/x11/xnee/Makefile
@@ -41,8 +41,7 @@ LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre \
fontconfig:${PORTSDIR}/x11-fonts/fontconfig
CONFIGURE_ARGS+=--enable-gui
-USES+= gettext
-USE_ICONV= yes
+USES+= gettext iconv
USE_XORG+= pixman xcomposite xcursor xdamage xfixes xinerama xrandr xrender
USE_GNOME+= gdkpixbuf2 gtk20 libgnomeui
MAN1+= gnee.1
OpenPOWER on IntegriCloud