summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-03-22 20:06:14 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-03-22 20:06:14 +0000
commitffd97a0193e0238aa21bc32b570fd052292e0fe5 (patch)
treeb368198f913179c06dafd19ac72527fcf9836f6d
parent- update to 1.0.0 (diff)
- convert USE_CMAKE to USES
- while here clean up some ports from CMAKE_VERBOSE, which is intended for users Approved by: portmgr (miwi)
Notes
Notes: svn path=/head/; revision=314960
-rw-r--r--archivers/laszip/Makefile2
-rw-r--r--astro/qlandkartegt/Makefile2
-rw-r--r--astro/stellarium/Makefile2
-rw-r--r--audio/acoustid-fingerprinter/Makefile2
-rw-r--r--audio/aften/Makefile3
-rw-r--r--audio/alure/Makefile3
-rw-r--r--audio/amarok-kde4/Makefile2
-rw-r--r--audio/arss/Makefile2
-rw-r--r--audio/audex/Makefile2
-rw-r--r--audio/ccaudio2/Makefile4
-rw-r--r--audio/chromaprint/Makefile2
-rw-r--r--audio/clementine-player/Makefile2
-rw-r--r--audio/clunk/Makefile2
-rw-r--r--audio/creox/Makefile3
-rw-r--r--audio/fluidsynth/Makefile2
-rw-r--r--audio/fmit/Makefile2
-rw-r--r--audio/fplib/Makefile2
-rw-r--r--audio/jack-keyboard/Makefile2
-rw-r--r--audio/kaudiocreator/Makefile2
-rw-r--r--audio/kid3-kde4/Makefile2
-rw-r--r--audio/kstreamripper/Makefile2
-rw-r--r--audio/libcoverart/Makefile2
-rw-r--r--audio/libechonest/Makefile2
-rw-r--r--audio/libgme/Makefile2
-rw-r--r--audio/liblastfm/Makefile2
-rw-r--r--audio/libmusicbrainz3/Makefile2
-rw-r--r--audio/libmusicbrainz4/Makefile2
-rw-r--r--audio/libmusicbrainz5/Makefile2
-rw-r--r--audio/lmms/Makefile2
-rw-r--r--audio/mous/Makefile2
-rw-r--r--audio/musescore/Makefile3
-rw-r--r--audio/openal-soft/Makefile2
-rw-r--r--audio/soundkonverter/Makefile2
-rw-r--r--audio/taglib-extras/Makefile2
-rw-r--r--audio/taglib/Makefile2
-rw-r--r--audio/tepsonic/Makefile2
-rw-r--r--audio/tomahawk/Makefile2
-rw-r--r--audio/waheela/Makefile2
-rw-r--r--benchmarks/nosqlbench/Makefile2
-rw-r--r--biology/avida/Makefile3
-rw-r--r--biology/seqan/Makefile3
-rw-r--r--cad/brlcad/Makefile3
-rw-r--r--cad/gmsh/Makefile5
-rw-r--r--cad/kicad-devel/Makefile2
-rw-r--r--cad/kicad/Makefile2
-rw-r--r--cad/openvsp/Makefile2
-rw-r--r--cad/qfsm/Makefile2
-rw-r--r--chinese/fcitx-chewing/Makefile2
-rw-r--r--chinese/fcitx-cloudpinyin/Makefile2
-rw-r--r--chinese/fcitx-configtool/Makefile2
-rw-r--r--chinese/fcitx-googlepinyin/Makefile2
-rw-r--r--chinese/fcitx-libpinyin/Makefile2
-rw-r--r--chinese/fcitx-rime/Makefile2
-rw-r--r--chinese/fcitx-sunpinyin/Makefile2
-rw-r--r--chinese/fcitx-table-extra/Makefile2
-rw-r--r--chinese/fcitx-ui-light/Makefile2
-rw-r--r--chinese/fcitx/Makefile2
-rw-r--r--chinese/fqterm/Makefile3
-rw-r--r--chinese/ibus-chewing/Makefile2
-rw-r--r--chinese/libgooglepinyin/Makefile2
-rw-r--r--chinese/librime/Makefile2
-rw-r--r--chinese/opencc/Makefile2
-rw-r--r--chinese/qterm/Makefile2
-rw-r--r--comms/cutecom/Makefile2
-rw-r--r--comms/gammu-devel/Makefile2
-rw-r--r--comms/gammu/Makefile2
-rw-r--r--comms/gnuradio/Makefile4
-rw-r--r--comms/openobex/Makefile3
-rw-r--r--comms/usbmuxd/Makefile2
-rw-r--r--comms/usrp/Makefile3
-rw-r--r--databases/akonadi-google/Makefile2
-rw-r--r--databases/akonadi-googledata/Makefile2
-rw-r--r--databases/kbibtex/Makefile2
-rw-r--r--databases/mariadb55-server/Makefile2
-rw-r--r--databases/mydumper/Makefile2
-rw-r--r--databases/mysql-connector-c++/Makefile3
-rw-r--r--databases/mysql-connector-c/Makefile2
-rw-r--r--databases/mysql-connector-odbc/Makefile2
-rw-r--r--databases/mysql55-server/Makefile2
-rw-r--r--databases/mysql56-server/Makefile2
-rw-r--r--databases/percona55-server/Makefile3
-rw-r--r--databases/percona56-server/Makefile3
-rw-r--r--databases/pgagent/Makefile2
-rw-r--r--databases/soci/Makefile2
-rw-r--r--databases/sqliteman/Makefile2
-rw-r--r--databases/tarantool/Makefile2
-rw-r--r--deskutils/basket/Makefile2
-rw-r--r--deskutils/cairo-dock-plugins/Makefile2
-rw-r--r--deskutils/cairo-dock/Makefile2
-rw-r--r--deskutils/charmtimetracker/Makefile2
-rw-r--r--deskutils/chmsee/Makefile2
-rw-r--r--deskutils/kchmviewer-kde4/Makefile2
-rw-r--r--deskutils/ksshaskpass/Makefile2
-rw-r--r--deskutils/libgcal/Makefile2
-rw-r--r--deskutils/libopensync-plugin-evolution2-devel/Makefile2
-rw-r--r--deskutils/libopensync-plugin-python-devel/Makefile2
-rw-r--r--deskutils/libopensync-plugin-vformat-devel/Makefile2
-rw-r--r--deskutils/msynctool-devel/Makefile2
-rw-r--r--deskutils/plasma-applet-cwp/Makefile2
-rw-r--r--deskutils/plasma-applet-daisy/Makefile2
-rw-r--r--deskutils/plasma-applet-fancytasks/Makefile2
-rw-r--r--deskutils/plasma-applet-panelspacer/Makefile2
-rw-r--r--deskutils/plasma-applet-playwolf/Makefile2
-rw-r--r--deskutils/plasma-applet-qstardict/Makefile2
-rw-r--r--deskutils/plasma-applet-serverstatuswidget/Makefile2
-rw-r--r--deskutils/plasma-applet-simpleweatherforecast/Makefile2
-rw-r--r--deskutils/plasma-applet-teacooker/Makefile2
-rw-r--r--deskutils/plasma-applet-yawp/Makefile2
-rw-r--r--deskutils/q4wine/Makefile2
-rw-r--r--deskutils/qtm/Makefile2
-rw-r--r--deskutils/silence/Makefile2
-rw-r--r--deskutils/steadyflow/Makefile2
-rw-r--r--deskutils/taskwarrior/Makefile3
-rw-r--r--deskutils/teapot/Makefile2
-rw-r--r--devel/ChipmunkPhysics/Makefile2
-rw-r--r--devel/allegro-devel/Makefile2
-rw-r--r--devel/apiextractor/Makefile2
-rw-r--r--devel/automoc4/Makefile2
-rw-r--r--devel/avro-c/Makefile2
-rw-r--r--devel/avro-cpp/Makefile2
-rw-r--r--devel/bullet/Makefile2
-rw-r--r--devel/ccons/Makefile2
-rw-r--r--devel/cdash/Makefile3
-rw-r--r--devel/cocaine-core/Makefile2
-rw-r--r--devel/compiler-rt/Makefile2
-rw-r--r--devel/dcmtk/Makefile3
-rw-r--r--devel/eblob/Makefile2
-rw-r--r--devel/freeocl/Makefile2
-rw-r--r--devel/gdcm/Makefile3
-rw-r--r--devel/generatorrunner/Makefile2
-rw-r--r--devel/grantlee/Makefile3
-rw-r--r--devel/jrtplib/Makefile2
-rw-r--r--devel/kcachegrind/Makefile2
-rw-r--r--devel/kdbg/Makefile2
-rw-r--r--devel/kdesvn-kde4/Makefile2
-rw-r--r--devel/klee/Makefile3
-rw-r--r--devel/lasi/Makefile2
-rw-r--r--devel/libclaw/Makefile2
-rw-r--r--devel/libdbusmenu-qt/Makefile3
-rw-r--r--devel/libgit2/Makefile2
-rw-r--r--devel/libiqxmlrpc/Makefile2
-rw-r--r--devel/libjson++/Makefile2
-rw-r--r--devel/libkgapi/Makefile2
-rw-r--r--devel/libkolab/Makefile2
-rw-r--r--devel/libopensync/Makefile2
-rw-r--r--devel/libplist/Makefile2
-rw-r--r--devel/libslave/Makefile2
-rw-r--r--devel/libzrtpcpp/Makefile2
-rw-r--r--devel/physfs-devel/Makefile2
-rw-r--r--devel/physfs/Makefile2
-rw-r--r--devel/piklab/Makefile2
-rw-r--r--devel/pyside-tools/Makefile2
-rw-r--r--devel/pyside/Makefile2
-rw-r--r--devel/qjson/Makefile2
-rw-r--r--devel/qross/Makefile2
-rw-r--r--devel/qsvn/Makefile2
-rw-r--r--devel/raknet/Makefile2
-rw-r--r--devel/sdl20/Makefile4
-rw-r--r--devel/shiboken/Makefile2
-rw-r--r--devel/silentbob/Makefile2
-rw-r--r--devel/simgear/Makefile2
-rw-r--r--devel/smack/Makefile2
-rw-r--r--devel/vxlog/Makefile2
-rw-r--r--devel/xc3sprog/Makefile2
-rw-r--r--devel/yajl/Makefile2
-rw-r--r--devel/yaml-cpp/Makefile2
-rw-r--r--editors/calligra-l10n/files/bsd.l10n.mk2
-rw-r--r--editors/calligra/Makefile3
-rw-r--r--editors/kile-kde4/Makefile2
-rw-r--r--editors/klat4/Makefile2
-rw-r--r--editors/yzis/Makefile2
-rw-r--r--emulators/aqemu/Makefile2
-rw-r--r--emulators/dolphin-emu-devel/Makefile2
-rw-r--r--emulators/hatari/Makefile2
-rw-r--r--emulators/joytran/Makefile2
-rw-r--r--emulators/tpm-emulator/Makefile3
-rw-r--r--emulators/visualboyadvance-m/Makefile2
-rw-r--r--finance/eqonomize-kde4/Makefile2
-rw-r--r--finance/kmymoney-kde4/Makefile2
-rw-r--r--finance/libalkimia/Makefile2
-rw-r--r--finance/skrooge/Makefile2
-rw-r--r--ftp/plasma-applet-ftpmonitor/Makefile2
-rw-r--r--games/arx-libertatis/Makefile2
-rw-r--r--games/asteroid/Makefile3
-rw-r--r--games/blinkensisters/Makefile2
-rw-r--r--games/blobby/Makefile2
-rw-r--r--games/corsix-th/Makefile2
-rw-r--r--games/flare/Makefile2
-rw-r--r--games/flightgear/Makefile2
-rw-r--r--games/freecell-solver/Makefile2
-rw-r--r--games/gemrb/Makefile2
-rw-r--r--games/golly/Makefile3
-rw-r--r--games/hedgewars/Makefile2
-rw-r--r--games/intensityengine/Makefile2
-rw-r--r--games/jvgs/Makefile2
-rw-r--r--games/kmancala/Makefile2
-rw-r--r--games/knights-kde4/Makefile2
-rw-r--r--games/ksudoku/Makefile2
-rw-r--r--games/meandmyshadow/Makefile2
-rw-r--r--games/megaglest/Makefile2
-rw-r--r--games/memonix/Makefile2
-rw-r--r--games/minetest/Makefile2
-rw-r--r--games/odamex/Makefile2
-rw-r--r--games/openastromenace/Makefile2
-rw-r--r--games/openlierox/Makefile2
-rw-r--r--games/opensonic/Makefile2
-rw-r--r--games/palomino/Makefile2
-rw-r--r--games/plee-the-bear/Makefile2
-rw-r--r--games/spring/Makefile2
-rw-r--r--games/springlobby/Makefile2
-rw-r--r--games/stratagus/Makefile3
-rw-r--r--games/sumwars/Makefile3
-rw-r--r--games/supertux-devel/Makefile2
-rw-r--r--games/supertuxkart/Makefile2
-rw-r--r--games/tmw/Makefile2
-rw-r--r--games/valyriatear/Makefile2
-rw-r--r--games/vavoom/Makefile2
-rw-r--r--games/violetland/Makefile2
-rw-r--r--games/wesnoth/Makefile2
-rw-r--r--games/widelands/Makefile3
-rw-r--r--graphics/apvlv/Makefile2
-rw-r--r--graphics/aqsis/Makefile4
-rw-r--r--graphics/autopano-sift-c/Makefile2
-rw-r--r--graphics/blender/Makefile3
-rw-r--r--graphics/converseen/Makefile2
-rw-r--r--graphics/cuneiform/Makefile3
-rw-r--r--graphics/darktable/Makefile3
-rw-r--r--graphics/digikam-kde4/Makefile.common2
-rw-r--r--graphics/eos-movrec/Makefile2
-rw-r--r--graphics/glosm/Makefile2
-rw-r--r--graphics/graphite2/Makefile2
-rw-r--r--graphics/hugin-devel/Makefile3
-rw-r--r--graphics/hugin/Makefile3
-rw-r--r--graphics/k3d/Makefile3
-rw-r--r--graphics/kcoloredit/Makefile2
-rw-r--r--graphics/kgraphviewer/Makefile2
-rw-r--r--graphics/kiconedit/Makefile2
-rw-r--r--graphics/kphotoalbum-kde4/Makefile2
-rw-r--r--graphics/kpovmodeler/Makefile2
-rw-r--r--graphics/kuickshow-kde4/Makefile2
-rw-r--r--graphics/libprojectm/Makefile2
-rw-r--r--graphics/lprof-devel/Makefile2
-rw-r--r--graphics/luminance/Makefile2
-rw-r--r--graphics/luxrender/Makefile4
-rw-r--r--graphics/nomacs/Makefile2
-rw-r--r--graphics/nvidia-texture-tools/Makefile2
-rw-r--r--graphics/ogre3d/Makefile2
-rw-r--r--graphics/opencolorio/Makefile4
-rw-r--r--graphics/opencv/Makefile2
-rw-r--r--graphics/opengtl/Makefile2
-rw-r--r--graphics/openimageio/Makefile4
-rw-r--r--graphics/openjpeg/Makefile2
-rw-r--r--graphics/openshadinglanguage/Makefile5
-rw-r--r--graphics/osg-devel/Makefile2
-rw-r--r--graphics/osg/Makefile2
-rw-r--r--graphics/picviz/Makefile3
-rw-r--r--graphics/png/Makefile2
-rw-r--r--graphics/podofo/Makefile2
-rw-r--r--graphics/prison/Makefile2
-rw-r--r--graphics/projectm-libvisual/Makefile2
-rw-r--r--graphics/qgis/Makefile3
-rw-r--r--graphics/qtgtl/Makefile2
-rw-r--r--graphics/rawtherapee/Makefile2
-rw-r--r--graphics/scantailor/Makefile2
-rw-r--r--graphics/shiva-collections/Makefile2
-rw-r--r--graphics/showimage/Makefile2
-rw-r--r--graphics/skanlite/Makefile2
-rw-r--r--graphics/tulip/Makefile3
-rw-r--r--graphics/vigra/Makefile2
-rw-r--r--graphics/yagf/Makefile2
-rw-r--r--graphics/zint/Makefile2
-rw-r--r--irc/irssi-otr/Makefile2
-rw-r--r--irc/konversation-kde4/Makefile2
-rw-r--r--irc/kvirc/Makefile2
-rw-r--r--irc/minbif/Makefile2
-rw-r--r--irc/quassel/Makefile2
-rw-r--r--irc/weechat-devel/Makefile2
-rw-r--r--irc/weechat/Makefile2
-rw-r--r--japanese/fcitx-anthy/Makefile2
-rw-r--r--korean/fcitx-hangul/Makefile2
-rw-r--r--lang/clay/Makefile2
-rw-r--r--lang/hiphop-php/Makefile2
-rw-r--r--lang/io/Makefile3
-rw-r--r--lang/ldc-devel/Makefile2
-rw-r--r--lang/squeak/Makefile2
-rw-r--r--mail/kbiff/Makefile2
-rw-r--r--mail/kshowmail/Makefile2
-rw-r--r--mail/rspamd/Makefile2
-rw-r--r--mail/spmfilter-clamav/Makefile2
-rw-r--r--mail/spmfilter-spamassassin/Makefile2
-rw-r--r--mail/spmfilter/Makefile2
-rw-r--r--math/abakus/Makefile3
-rw-r--r--math/carve/Makefile3
-rw-r--r--math/cgal/Makefile2
-rw-r--r--math/clipper/Makefile2
-rw-r--r--math/eigen2/Makefile2
-rw-r--r--math/eigen3/Makefile3
-rw-r--r--math/fann/Makefile2
-rw-r--r--math/freemat/Makefile2
-rw-r--r--math/labplot/Makefile2
-rw-r--r--math/metis/Makefile2
-rw-r--r--math/parmetis/Makefile2
-rw-r--r--math/plplot/Makefile2
-rw-r--r--math/qhull/Makefile2
-rw-r--r--math/qtoctave/Makefile2
-rw-r--r--math/rkward-kde4/Makefile2
-rw-r--r--math/speedcrunch/Makefile2
-rw-r--r--math/ufc/Makefile2
-rw-r--r--math/vtk5/Makefile3
-rw-r--r--misc/bibletime/Makefile2
-rw-r--r--misc/katalog/Makefile2
-rw-r--r--misc/kbfx/Makefile2
-rw-r--r--misc/kde-thumbnailer-chm/Makefile2
-rw-r--r--misc/kde4-l10n/files/bsd.l10n.mk2
-rw-r--r--misc/krecipes-kde4/Makefile2
-rw-r--r--misc/tellico-kde4/Makefile2
-rw-r--r--multimedia/assimp/Makefile2
-rw-r--r--multimedia/avidemux2/Makefile.common3
-rw-r--r--multimedia/bangarang/Makefile2
-rw-r--r--multimedia/dvbcut/Makefile2
-rw-r--r--multimedia/gstreamer-qt4/Makefile3
-rw-r--r--multimedia/k9copy-kde4/Makefile2
-rw-r--r--multimedia/kaffeine/Makefile3
-rw-r--r--multimedia/kdenlive/Makefile2
-rw-r--r--multimedia/kmplayer-kde4/Makefile2
-rw-r--r--multimedia/kplayer-kde4/Makefile2
-rw-r--r--multimedia/oggvideotools/Makefile2
-rw-r--r--multimedia/phonon-gstreamer/Makefile2
-rw-r--r--multimedia/phonon-vlc/Makefile2
-rw-r--r--multimedia/phonon-xine/Makefile2
-rw-r--r--multimedia/phonon/Makefile2
-rw-r--r--multimedia/podcastdl/Makefile2
-rw-r--r--multimedia/qmmp-plugin-pack/Makefile3
-rw-r--r--multimedia/qmmp/Makefile3
-rw-r--r--multimedia/subtitlecomposer-kde4/Makefile2
-rw-r--r--multimedia/vtkmpeg2encode/Makefile2
-rw-r--r--net-im/decibel/Makefile2
-rw-r--r--net-im/hotot/Makefile2
-rw-r--r--net-im/kmess-kde4/Makefile2
-rw-r--r--net-im/libjreen/Makefile2
-rw-r--r--net-im/libmsn/Makefile2
-rw-r--r--net-im/licq-console/Makefile2
-rw-r--r--net-im/licq-jabber/Makefile2
-rw-r--r--net-im/licq-osd/Makefile2
-rw-r--r--net-im/licq-qt-gui/Makefile2
-rw-r--r--net-im/licq/Makefile2
-rw-r--r--net-im/qutim/Makefile3
-rw-r--r--net-im/tapioca-qt/Makefile2
-rw-r--r--net-im/telepathy-qt/Makefile2
-rw-r--r--net-im/telepathy-qt4/Makefile2
-rw-r--r--net-im/vacuum-im/Makefile2
-rw-r--r--net-mgmt/macroscope/Makefile2
-rw-r--r--net-mgmt/vidalia/Makefile2
-rw-r--r--net-p2p/eiskaltdcpp-daemon/Makefile2
-rw-r--r--net-p2p/eiskaltdcpp-gtk/Makefile2
-rw-r--r--net-p2p/eiskaltdcpp-lib/Makefile2
-rw-r--r--net-p2p/eiskaltdcpp-qt/Makefile2
-rw-r--r--net-p2p/ktorrent/Makefile2
-rw-r--r--net-p2p/libktorrent/Makefile2
-rw-r--r--net/cagibi/Makefile2
-rw-r--r--net/crtmpserver/Makefile3
-rw-r--r--net/freerdp/Makefile2
-rw-r--r--net/kio-upnp-ms/Makefile2
-rw-r--r--net/knemo-kde4/Makefile2
-rw-r--r--net/kwooty/Makefile2
-rw-r--r--net/libmxp/Makefile2
-rw-r--r--net/libproxy/Makefile2
-rw-r--r--net/qtweetlib/Makefile2
-rw-r--r--net/smb4k-kde4/Makefile2
-rw-r--r--net/userfw/Makefile3
-rw-r--r--polish/kadu/Makefile2
-rw-r--r--ports-mgmt/kpackagekit/Makefile2
-rw-r--r--print/kover/Makefile2
-rw-r--r--print/scribus-devel/Makefile2
-rw-r--r--print/scribus/Makefile2
-rw-r--r--science/InsightToolkit/Makefile2
-rw-r--r--science/avogadro/Makefile2
-rw-r--r--science/cgnslib/Makefile2
-rw-r--r--science/gromacs/Makefile2
-rw-r--r--science/kst2/Makefile2
-rw-r--r--science/massxpert/Makefile2
-rw-r--r--science/openbabel/Makefile3
-rw-r--r--science/paraview/Makefile3
-rw-r--r--security/bro/Makefile2
-rw-r--r--security/ike/Makefile3
-rw-r--r--security/libssh/Makefile2
-rw-r--r--security/nmapsi4/Makefile2
-rw-r--r--security/quantis/Makefile2
-rw-r--r--security/spass/Makefile2
-rw-r--r--sysutils/cdrkit/Makefile2
-rw-r--r--sysutils/condor/Makefile2
-rw-r--r--sysutils/dfc/Makefile2
-rw-r--r--sysutils/k3b-kde4/Makefile2
-rw-r--r--sysutils/kcm-polkit-kde/Makefile2
-rw-r--r--sysutils/kgrubeditor/Makefile2
-rw-r--r--sysutils/kgtk/Makefile2
-rw-r--r--sysutils/knutclient-kde4/Makefile2
-rw-r--r--sysutils/krename-kde4/Makefile2
-rw-r--r--sysutils/kshutdown-kde4/Makefile2
-rw-r--r--sysutils/libpcbsd/Makefile2
-rw-r--r--sysutils/plasma-applet-apcups/Makefile2
-rw-r--r--sysutils/policykit-qt/Makefile2
-rw-r--r--sysutils/polkit-qt/Makefile2
-rw-r--r--sysutils/qzeitgeist/Makefile2
-rw-r--r--sysutils/synergy-devel/Makefile2
-rw-r--r--sysutils/synergy/Makefile2
-rw-r--r--textproc/clucene/Makefile2
-rw-r--r--textproc/ctpp2/Makefile2
-rw-r--r--textproc/dikt/Makefile2
-rw-r--r--textproc/ebook-tools/Makefile2
-rw-r--r--textproc/fcitx-m17n/Makefile2
-rw-r--r--textproc/ibus-qt/Makefile2
-rw-r--r--textproc/kdiff3/Makefile2
-rw-r--r--textproc/lemmatizer2/Makefile2
-rw-r--r--textproc/libkolabxml/Makefile2
-rw-r--r--textproc/sigil/Makefile2
-rw-r--r--textproc/simplexml/Makefile2
-rw-r--r--textproc/soprano/Makefile2
-rw-r--r--textproc/wbxml2/Makefile2
-rw-r--r--textproc/wv2/Makefile2
-rw-r--r--textproc/zorba/Makefile3
-rw-r--r--www/cas/Makefile2
-rw-r--r--www/choqok/Makefile2
-rw-r--r--www/hiawatha/Makefile2
-rw-r--r--www/khtml2png/Makefile2
-rw-r--r--www/kpartsplugin/Makefile2
-rw-r--r--www/kwebkitpart/Makefile2
-rw-r--r--x11-clocks/plasma-applet-adjustableclock/Makefile2
-rw-r--r--x11-clocks/plasma-applet-geekclock/Makefile2
-rw-r--r--x11-fm/krusader2/Makefile3
-rw-r--r--x11-fm/ultracopier/Makefile2
-rw-r--r--x11-fonts/fontmatrix/Makefile2
-rw-r--r--x11-themes/gtk-oxygen-engine/Makefile2
-rw-r--r--x11-themes/gtk-qt4-engine/Makefile2
-rw-r--r--x11-themes/gtk3-oxygen-engine/Makefile2
-rw-r--r--x11-themes/kde-gtk-config/Makefile3
-rw-r--r--x11-themes/kde4-style-bespin/Makefile2
-rw-r--r--x11-themes/kde4-style-nitrogen/Makefile2
-rw-r--r--x11-themes/kde4-style-oxygen-transparent/Makefile2
-rw-r--r--x11-themes/kde4-style-polyester/Makefile2
-rw-r--r--x11-themes/kde4-style-skulpture/Makefile2
-rw-r--r--x11-themes/kde4-windeco-crystal/Makefile2
-rw-r--r--x11-themes/kde4-windeco-dekorator/Makefile2
-rw-r--r--x11-themes/kde4-windeco-nitrogen/Makefile2
-rw-r--r--x11-themes/qtcurve-gtk2/Makefile2
-rw-r--r--x11-themes/qtcurve-kde3/Makefile2
-rw-r--r--x11-themes/qtcurve-kde4/Makefile2
-rw-r--r--x11-themes/qtcurve-qt4/Makefile2
-rw-r--r--x11-toolkits/attica/Makefile2
-rw-r--r--x11-toolkits/gigi/Makefile2
-rw-r--r--x11-toolkits/sakura/Makefile2
-rw-r--r--x11-toolkits/shared-desktop-ontologies/Makefile2
-rw-r--r--x11-toolkits/termit/Makefile2
-rw-r--r--x11-toolkits/vtkfox/Makefile3
-rw-r--r--x11-wm/awesome/Makefile2
-rw-r--r--x11-wm/pawm/Makefile2
-rw-r--r--x11/bmpanel2/Makefile2
-rw-r--r--x11/gnome-pie/Makefile2
-rw-r--r--x11/qimageblitz/Makefile2
-rw-r--r--x11/qxkb/Makefile2
-rw-r--r--x11/rsibreak-kde4/Makefile2
-rw-r--r--x11/slim/Makefile2
-rw-r--r--x11/tint/Makefile2
-rw-r--r--x11/yakuake-kde4/Makefile2
464 files changed, 465 insertions, 539 deletions
diff --git a/archivers/laszip/Makefile b/archivers/laszip/Makefile
index a79d37acda70..7df7e34423de 100644
--- a/archivers/laszip/Makefile
+++ b/archivers/laszip/Makefile
@@ -12,7 +12,7 @@ COMMENT= Library for lossless LAS compression
LICENSE= LGPL3
GNU_CONFIGURE= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
CMAKE_DEFS+= -DCMAKE_USE_PTHREADS:BOOL=ON
diff --git a/astro/qlandkartegt/Makefile b/astro/qlandkartegt/Makefile
index f3aba0361da3..af289bbb5448 100644
--- a/astro/qlandkartegt/Makefile
+++ b/astro/qlandkartegt/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= gdal:${PORTSDIR}/graphics/gdal \
proj:${PORTSDIR}/graphics/proj \
gps:${PORTSDIR}/astro/gpsd
-USE_CMAKE= yes
+USES= cmake
USE_QT4= dbus gui opengl network sql xml linguist_build \
moc_build uic_build rcc_build qmake_build
USE_GL= glu
diff --git a/astro/stellarium/Makefile b/astro/stellarium/Makefile
index a95b694de1a8..2b9a0c128631 100644
--- a/astro/stellarium/Makefile
+++ b/astro/stellarium/Makefile
@@ -13,7 +13,7 @@ COMMENT= 3D photo-realistic sky renderer (planetarium)
LICENSE= GPLv2
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
USE_GL= glu
USE_ICONV= yes
diff --git a/audio/acoustid-fingerprinter/Makefile b/audio/acoustid-fingerprinter/Makefile
index 6919c1897527..2c15c2c7ffc8 100644
--- a/audio/acoustid-fingerprinter/Makefile
+++ b/audio/acoustid-fingerprinter/Makefile
@@ -14,7 +14,7 @@ LIB_DEPENDS= chromaprint:${PORTSDIR}/audio/chromaprint \
tag:${PORTSDIR}/audio/taglib \
avcodec:${PORTSDIR}/multimedia/ffmpeg
-USE_CMAKE= yes
+USES= cmake
USE_QT4= gui network \
qmake_build moc_build rcc_build uic_build
INSTALLS_ICONS= yes
diff --git a/audio/aften/Makefile b/audio/aften/Makefile
index b3caa95e8e50..2b32bfb5adbd 100644
--- a/audio/aften/Makefile
+++ b/audio/aften/Makefile
@@ -11,8 +11,7 @@ COMMENT= ATSC A/52 audio encoder
USE_BZIP2= yes
-USE_CMAKE= yes
-CMAKE_OUTSOURCE= yes
+USES= cmake:outsource
OPTIONS_DEFINE= SHARED_LIB CXX_BINDINGS DOUBLE
OPTIONS_DEFAULT=
diff --git a/audio/alure/Makefile b/audio/alure/Makefile
index 876ecac67d92..2e38b0e6fc2c 100644
--- a/audio/alure/Makefile
+++ b/audio/alure/Makefile
@@ -15,8 +15,7 @@ LIB_DEPENDS+= sndfile:${PORTSDIR}/audio/libsndfile
USE_OPENAL= soft
USE_LDCONFIG= yes
-USE_CMAKE= yes
-CMAKE_VERBOSE= yes
+USES= cmake
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
diff --git a/audio/amarok-kde4/Makefile b/audio/amarok-kde4/Makefile
index b9161433d9d9..77e42bc6a87e 100644
--- a/audio/amarok-kde4/Makefile
+++ b/audio/amarok-kde4/Makefile
@@ -32,7 +32,7 @@ USE_QT4= dbus designer gui network opengl \
qmake_build moc_build rcc_build uic_build
USE_XORG= x11
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
diff --git a/audio/arss/Makefile b/audio/arss/Makefile
index d43a34f53974..4380a7f85155 100644
--- a/audio/arss/Makefile
+++ b/audio/arss/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3
WRKSRC= ${WRKDIR}/${DISTNAME}/src
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= ${PREFIX}/lib
CFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include
CMAKE_C_FLAGS= ${CFLAGS}
diff --git a/audio/audex/Makefile b/audio/audex/Makefile
index ad5c90c72dc6..7dd9465dffaf 100644
--- a/audio/audex/Makefile
+++ b/audio/audex/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv3
LIB_DEPENDS= cdda_paranoia:${PORTSDIR}/audio/cdparanoia
USE_XZ= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdeprefix kdelibs libkcddb
USE_QT4= gui dbus network svg xml \
qmake_build moc_build rcc_build uic_build
diff --git a/audio/ccaudio2/Makefile b/audio/ccaudio2/Makefile
index 26836222f7f6..3493e5dfdf32 100644
--- a/audio/ccaudio2/Makefile
+++ b/audio/ccaudio2/Makefile
@@ -18,9 +18,7 @@ LIB_DEPENDS= ccgnu2:${PORTSDIR}/devel/commoncpp \
CONFLICTS= ccaudio-[0-9]*
USE_PKGCONFIG= build
-USES= pathfix
-USE_CMAKE= yes
-CMAKE_OUTSOURCE=yes
+USES= pathfix cmake:outsource
USE_LDCONFIG= yes
CMAKE_ARGS+= -DWITH_INCLUDES:PATH=${LOCALBASE}/include \
diff --git a/audio/chromaprint/Makefile b/audio/chromaprint/Makefile
index 412034f9e759..e2c0ee339f4a 100644
--- a/audio/chromaprint/Makefile
+++ b/audio/chromaprint/Makefile
@@ -12,7 +12,7 @@ LICENSE= LGPL21
LIB_DEPENDS= avcodec:${PORTSDIR}/multimedia/ffmpeg
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/audio/clementine-player/Makefile b/audio/clementine-player/Makefile
index b735395e5da9..3a4a3c56bf79 100644
--- a/audio/clementine-player/Makefile
+++ b/audio/clementine-player/Makefile
@@ -25,7 +25,7 @@ BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
PROJECTHOST= ${PORTNAME}${PKGNAMESUFFIX}
-USE_CMAKE= yes
+USES= cmake
USE_GL= glew
USE_QT4= dbus gui xml qmake_build uic_build moc_build rcc_build \
linguist_build network sql opengl qtestlib corelib webkit
diff --git a/audio/clunk/Makefile b/audio/clunk/Makefile
index 535f2e6665bb..8fa90967bb69 100644
--- a/audio/clunk/Makefile
+++ b/audio/clunk/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Real-time 3D sound generation library
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_SDL= sdl
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/audio/creox/Makefile b/audio/creox/Makefile
index ed74987cd5e4..e7dc82026f2b 100644
--- a/audio/creox/Makefile
+++ b/audio/creox/Makefile
@@ -18,8 +18,7 @@ GH_PROJECT= Creox4
GH_TAGNAME= 0.3
GH_COMMIT= 8e27483
-USE_CMAKE= yes
-CMAKE_OUTSOURCE= yes
+USES= cmake:outsource
USE_KDE4= automoc4 kdelibs kdeprefix
USE_QT4= moc_build qmake_build rcc_build uic_build
USE_XORG= xft xpm
diff --git a/audio/fluidsynth/Makefile b/audio/fluidsynth/Makefile
index fa0a46ed47ba..e33f55f0cbb0 100644
--- a/audio/fluidsynth/Makefile
+++ b/audio/fluidsynth/Makefile
@@ -17,7 +17,7 @@ OPTIONS_DEFAULT= JACK
USE_BZIP2= yes
USE_GNOME= glib20
USE_PKGCONFIG= build
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -Denable-ladcca:BOOL=FALSE \
-Denable-midishare:BOOL=FALSE
USE_LDCONFIG= yes
diff --git a/audio/fmit/Makefile b/audio/fmit/Makefile
index 10f08e722aae..4273bdccfcee 100644
--- a/audio/fmit/Makefile
+++ b/audio/fmit/Makefile
@@ -27,7 +27,7 @@ USE_XORG= xmu
USE_QT4= corelib gui opengl \
linguist_build moc_build qmake_build rcc_build uic_build
USE_GL= glut
-USE_CMAKE= yes
+USES= cmake
INSTALLS_ICONS= yes
MAKE_JOBS_SAFE= yes
diff --git a/audio/fplib/Makefile b/audio/fplib/Makefile
index f766a838e21b..200eefae90c4 100644
--- a/audio/fplib/Makefile
+++ b/audio/fplib/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
CPPFLAGS+= -I${LOCALBASE}/include
REINPLACE_ARGS= -i ''
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
USE_XZ= yes
diff --git a/audio/jack-keyboard/Makefile b/audio/jack-keyboard/Makefile
index 0e8f2a0df51f..a72c1e82e431 100644
--- a/audio/jack-keyboard/Makefile
+++ b/audio/jack-keyboard/Makefile
@@ -19,7 +19,7 @@ MAN1= jack-keyboard.1
MAKE_JOBS_SAFE= yes
USE_GNOME= gtk20
-USE_CMAKE= yes
+USES= cmake
INSTALLS_ICONS= yes
OPTIONS_DEFINE= LASH
diff --git a/audio/kaudiocreator/Makefile b/audio/kaudiocreator/Makefile
index bd055fa37d18..8aa57300da98 100644
--- a/audio/kaudiocreator/Makefile
+++ b/audio/kaudiocreator/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
.endif
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_QT4= moc_build qmake_build rcc_build uic_build
USE_KDE4= automoc4 kdehier kdeprefix libkcddb
diff --git a/audio/kid3-kde4/Makefile b/audio/kid3-kde4/Makefile
index b6f3af2b2a0d..690602655ef7 100644
--- a/audio/kid3-kde4/Makefile
+++ b/audio/kid3-kde4/Makefile
@@ -14,7 +14,7 @@ LATEST_LINK= ${PORTNAME}-kde4
USE_KDE4= kdelibs kdeprefix kdehier automoc4
USE_QT4= qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
MAKE_JOBS_SAFE= yes
diff --git a/audio/kstreamripper/Makefile b/audio/kstreamripper/Makefile
index fb7c5e13b534..9ae81f381af9 100644
--- a/audio/kstreamripper/Makefile
+++ b/audio/kstreamripper/Makefile
@@ -17,7 +17,7 @@ COMMENT= A program for recording streams for KDE4
RUN_DEPENDS= ${LOCALBASE}/bin/streamripper:${PORTSDIR}/audio/streamripper
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdelibs kdehier kdeprefix automoc4
USE_QT4= qmake_build moc_build rcc_build uic_build
diff --git a/audio/libcoverart/Makefile b/audio/libcoverart/Makefile
index ea61ab351e5b..5d26b77e8163 100644
--- a/audio/libcoverart/Makefile
+++ b/audio/libcoverart/Makefile
@@ -13,7 +13,7 @@ LICENSE= LGPL20
LIB_DEPENDS= jansson:${PORTSDIR}/devel/jansson \
neon:${PORTSDIR}/www/neon29
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/audio/libechonest/Makefile b/audio/libechonest/Makefile
index b792e4ba7bc2..62007ef4a122 100644
--- a/audio/libechonest/Makefile
+++ b/audio/libechonest/Makefile
@@ -18,7 +18,7 @@ GH_PROJECT= ${PORTNAME}
GH_TAGNAME= master
GH_COMMIT= f9a55d1
-USE_CMAKE= yes
+USES= cmake
USE_GITHUB= yes
USE_LDCONFIG= yes
diff --git a/audio/libgme/Makefile b/audio/libgme/Makefile
index b7981aae72b6..10de8fe92179 100644
--- a/audio/libgme/Makefile
+++ b/audio/libgme/Makefile
@@ -16,7 +16,7 @@ LICENSE_COMB= dual
PROJECTHOST= game-music-emu
USE_DOS2UNIX= yes
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
# XXX: dialog(1) doesn't like ^M in LICENSE_FILE
diff --git a/audio/liblastfm/Makefile b/audio/liblastfm/Makefile
index dab8d7055694..db5945580b75 100644
--- a/audio/liblastfm/Makefile
+++ b/audio/liblastfm/Makefile
@@ -27,7 +27,7 @@ FINGERPRINT_DESC= Build the lastfm-fingerprint library
TESTS_DESC= Build liblastfm tests
OPTIONS_DEFAULT= FINGERPRINT
-USE_CMAKE= yes
+USES= cmake
USE_GITHUB= yes
USE_LDCONFIG= yes
USE_PKGCONFIG= build
diff --git a/audio/libmusicbrainz3/Makefile b/audio/libmusicbrainz3/Makefile
index 215e8c27b3ef..ad72f267c6df 100644
--- a/audio/libmusicbrainz3/Makefile
+++ b/audio/libmusicbrainz3/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= discid:${PORTSDIR}/audio/libdiscid \
LATEST_LINK= ${PORTNAME}3
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/audio/libmusicbrainz4/Makefile b/audio/libmusicbrainz4/Makefile
index b1e671522377..f07dbbfa444c 100644
--- a/audio/libmusicbrainz4/Makefile
+++ b/audio/libmusicbrainz4/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= neon:${PORTSDIR}/www/neon29
LATEST_LINK= ${PORTNAME}4
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/audio/libmusicbrainz5/Makefile b/audio/libmusicbrainz5/Makefile
index 541827274929..5c1b203d2dcd 100644
--- a/audio/libmusicbrainz5/Makefile
+++ b/audio/libmusicbrainz5/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= neon:${PORTSDIR}/www/neon29
LATEST_LINK= ${PORTNAME}5
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/audio/lmms/Makefile b/audio/lmms/Makefile
index d9e7acc69ae9..ecad5b325618 100644
--- a/audio/lmms/Makefile
+++ b/audio/lmms/Makefile
@@ -35,7 +35,7 @@ USE_BZIP2= yes
USE_XORG= xft
USE_QT4= corelib gui xml moc_build uic_build rcc_build \
qmake_build
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DWANT_ALSA:BOOL=OFF \
-DWANT_CALF:BOOL=OFF \
-DWANT_CAPS:BOOL=OFF \
diff --git a/audio/mous/Makefile b/audio/mous/Makefile
index ed962ef06f3a..38b9fd1d2bc4 100644
--- a/audio/mous/Makefile
+++ b/audio/mous/Makefile
@@ -16,7 +16,7 @@ COMMENT= A simple yet powerful audio player
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
OPTIONS_DEFINE= ALSA ASSEMBLY FAAC FAAD FLAC LAME AO CUE MAC4DECODER \
diff --git a/audio/musescore/Makefile b/audio/musescore/Makefile
index efaca9df4bd2..bec8dece2f92 100644
--- a/audio/musescore/Makefile
+++ b/audio/musescore/Makefile
@@ -27,8 +27,7 @@ USE_LDCONFIG= yes
USE_BZIP2= yes
USE_QT4= corelib designer gui network script scripttools svg webkit xml \
linguist_build moc_build qmake_build rcc_build uic_build
-USE_CMAKE= yes
-CMAKE_OUTSOURCE= yes
+USES= cmake:outsource
CMAKE_SOURCE_PATH= ${WRKSRC}/mscore
CMAKE_ARGS= -DBUILD_ALSA:BOOL=OFF
ALL_TARGET= lrelease all
diff --git a/audio/openal-soft/Makefile b/audio/openal-soft/Makefile
index 5baf37a8a8d6..13bb0a13910d 100644
--- a/audio/openal-soft/Makefile
+++ b/audio/openal-soft/Makefile
@@ -11,7 +11,7 @@ COMMENT= A software implementation of the OpenAL specification
CONFLICTS= openal-200[0-9]*
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
CMAKE_ARGS+= -DALSA:BOOL=OFF -DPORTAUDIO:BOOL=OFF -DSOLARIS:BOOL=OFF \
-DDSOUND:BOOL=OFF -DSNDIO:BOOL=OFF -DEXAMPLES:BOOL=OFF \
diff --git a/audio/soundkonverter/Makefile b/audio/soundkonverter/Makefile
index 70e847f6e88f..608e47aaff53 100644
--- a/audio/soundkonverter/Makefile
+++ b/audio/soundkonverter/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv3
LIB_DEPENDS= tag:${PORTSDIR}/audio/taglib \
cdda_paranoia:${PORTSDIR}/audio/cdparanoia
-USE_CMAKE= yes
+USES= cmake
USE_QT4= moc_build qmake_build rcc_build uic_build
USE_KDE4= automoc4 kdehier kdeprefix kdelibs libkcddb
INSTALLS_ICONS= yes
diff --git a/audio/taglib-extras/Makefile b/audio/taglib-extras/Makefile
index 77dbb5eb4855..6216dce52821 100644
--- a/audio/taglib-extras/Makefile
+++ b/audio/taglib-extras/Makefile
@@ -14,7 +14,7 @@ COMMENT= Extra taglib features for Amarok 2.2
LIB_DEPENDS= tag.1:${PORTSDIR}/audio/taglib
-USE_CMAKE= yes
+USES= cmake
.include <bsd.port.pre.mk>
diff --git a/audio/taglib/Makefile b/audio/taglib/Makefile
index 82686c20767d..3b40a98d65fc 100644
--- a/audio/taglib/Makefile
+++ b/audio/taglib/Makefile
@@ -22,7 +22,7 @@ OPTIONS_DEFINE= RCC
RCC_DESC= Build with RusXMMS librcc patches (experimental)
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DWITH_ASF:BOOL=ON \
-DWITH_MP4:BOOL=ON
MAKE_JOBS_SAFE= yes
diff --git a/audio/tepsonic/Makefile b/audio/tepsonic/Makefile
index 733bb9532953..7a32b86a5d86 100644
--- a/audio/tepsonic/Makefile
+++ b/audio/tepsonic/Makefile
@@ -17,7 +17,7 @@ COMMENT= TepSonic is a simple and fast audio player
LIB_DEPENDS= tag.1:${PORTSDIR}/audio/taglib
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
USE_QT4= gui xml sql phonon network linguist_build \
diff --git a/audio/tomahawk/Makefile b/audio/tomahawk/Makefile
index 5fabc1d8fc58..eb0359138966 100644
--- a/audio/tomahawk/Makefile
+++ b/audio/tomahawk/Makefile
@@ -40,7 +40,7 @@ OPTIONS_DEFINE= QTWEETLIB
OPTIONS_DEFAULT= QTWEETLIB
QTWEETLIB_DESC= Enable Twitter SIP plugin
-USE_CMAKE= yes
+USES= cmake
USE_GITHUB= yes
USE_LDCONFIG= yes
USE_PKGCONFIG= build
diff --git a/audio/waheela/Makefile b/audio/waheela/Makefile
index 928e5f363b31..1293fb596e09 100644
--- a/audio/waheela/Makefile
+++ b/audio/waheela/Makefile
@@ -16,7 +16,7 @@ COMMENT= Fullscreen mode for Amarok 2.x
RUN_DEPENDS= amarok>=2:${PORTSDIR}/audio/amarok-kde4
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdeprefix kdehier kdelibs
USE_QT4= gui dbus network svg xml \
qmake_build moc_build rcc_build uic_build
diff --git a/benchmarks/nosqlbench/Makefile b/benchmarks/nosqlbench/Makefile
index 489a238daf14..288ca478b329 100644
--- a/benchmarks/nosqlbench/Makefile
+++ b/benchmarks/nosqlbench/Makefile
@@ -13,7 +13,7 @@ LIB_DEPENDS= tarantool:${PORTSDIR}/databases/tarantool
DATE= 20120802
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DLIBTNT_INCLUDE=${LOCALBASE}/include \
-DLIBTNT_LIB=${LOCALBASE}/lib
diff --git a/biology/avida/Makefile b/biology/avida/Makefile
index 327205efee2c..f166fb9b6515 100644
--- a/biology/avida/Makefile
+++ b/biology/avida/Makefile
@@ -15,8 +15,7 @@ LICENSE= GPLv3
OPTIONS_DEFINE= DOCS
USE_NCURSES= yes
-USE_CMAKE= yes
-CMAKE_OUTSOURCE=yes
+USES= cmake:outsource
MAKE_JOBS_SAFE= yes
PORTDOCS= *
diff --git a/biology/seqan/Makefile b/biology/seqan/Makefile
index 84bbb89f5f66..db1d664a9c44 100644
--- a/biology/seqan/Makefile
+++ b/biology/seqan/Makefile
@@ -21,9 +21,8 @@ LICENSE_FILE_GPLv3=${WRKSRC}/apps/LICENSE
USE_ZIP= yes
-USE_CMAKE= yes
+USES= cmake:outsource
CMAKE_SOURCE_PATH=${WRKSRC}/cmake
-CMAKE_OUTSOURCE=yes
USE_PYTHON_BUILD=yes
MAKE_JOB_SAFE= yes
diff --git a/cad/brlcad/Makefile b/cad/brlcad/Makefile
index 514213d65a3a..6321ae53b6eb 100644
--- a/cad/brlcad/Makefile
+++ b/cad/brlcad/Makefile
@@ -26,14 +26,13 @@ USE_GL= gl glu
USE_XORG= ice inputproto sm x11 xau xdamage xdmcp xext xfixes xft xi \
xproto xrender xscrnsaver xt xxf86vm
USE_GMAKE= yes
-USES= bison pathfix
+USES= bison pathfix cmake
USE_TCL= 85
USE_TK= 85
USE_LDCONFIG= yes
PREFIX?= ${LOCALBASE}/${PORTNAME}
NO_MTREE= yes
-USE_CMAKE= yes
MAKE_JOBS_SAFE= yes
PLIST_SUB+= PORTVERSION=${PORTVERSION}
diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile
index 81220fe1da13..709b7562e545 100644
--- a/cad/gmsh/Makefile
+++ b/cad/gmsh/Makefile
@@ -28,15 +28,14 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
SLAVEDIRS= cad/gmsh-occ
USE_FORTRAN= yes
-USE_CMAKE= yes
+USES= cmake
USE_GMAKE= yes
USE_GL= yes
ALL_TARGET= all
MAN1= gmsh.1
-CMAKE_ARGS+= -DCMAKE_SKIP_RPATH:BOOL=YES \
- -DCMAKE_VERBOSE_MAKEFILE:BOOL=YES
+CMAKE_ARGS+= -DCMAKE_SKIP_RPATH:BOOL=YES
.if !defined(WITHOUT_STATIC_LIB)
CMAKE_ARGS+= -DENABLE_BUILD_LIB=ON
diff --git a/cad/kicad-devel/Makefile b/cad/kicad-devel/Makefile
index 2057049dc031..d123ceef4cd6 100644
--- a/cad/kicad-devel/Makefile
+++ b/cad/kicad-devel/Makefile
@@ -38,7 +38,7 @@ PLIST_SUB= OPSYS=${OPSYS} \
BINS= cvpcb eeschema gerbview kicad pcbnew
EXTRAS2RM= linux-non_unicode linux wings3d LINUX.README \
contrib_makefiles.txt running_kicad_under_W98.txt
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" \
-DKICAD_TESTING_VERSION=ON \
-DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
diff --git a/cad/kicad/Makefile b/cad/kicad/Makefile
index e1877b4760f1..6789efdee068 100644
--- a/cad/kicad/Makefile
+++ b/cad/kicad/Makefile
@@ -24,7 +24,7 @@ WRKSRC= ${WRKDIR}/kicad
USE_ZIP= yes
USE_DOS2UNIX= *.cmake
-USE_CMAKE= yes
+USES= cmake
USE_GL= yes
USE_WX= 2.8
WX_UNICODE= yes
diff --git a/cad/openvsp/Makefile b/cad/openvsp/Makefile
index 374ebfa6163f..d2f9a47b1920 100644
--- a/cad/openvsp/Makefile
+++ b/cad/openvsp/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
xcb:${PORTSDIR}/x11/libxcb
WRKSRC= ${WRKDIR}/OpenVSP-OpenVSP_${PORTVERSION}/src
-USE_CMAKE= yes
+USES= cmake
USE_DOS2UNIX= yes
USE_ICONV= yes
USE_XORG= ice sm x11 xau xdamage xdmcp xext xfixes xft \
diff --git a/cad/qfsm/Makefile b/cad/qfsm/Makefile
index 979c89825f0e..82bed0dbfced 100644
--- a/cad/qfsm/Makefile
+++ b/cad/qfsm/Makefile
@@ -24,7 +24,7 @@ USE_XORG= xi
USE_QT4= corelib gui qt3support svg xml \
moc_build qmake_build rcc_build uic_build
USE_GNOME= desktopfileutils
-USE_CMAKE= yes
+USES= cmake
INSTALLS_ICONS= yes
MAKE_JOBS_SAFE= yes
diff --git a/chinese/fcitx-chewing/Makefile b/chinese/fcitx-chewing/Makefile
index afdf1d82bec5..6f788df1996c 100644
--- a/chinese/fcitx-chewing/Makefile
+++ b/chinese/fcitx-chewing/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= fcitx-config:${PORTSDIR}/chinese/fcitx \
USE_XZ= yes
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
USE_GNOME= intltool
PROJECTHOST= fcitx
diff --git a/chinese/fcitx-cloudpinyin/Makefile b/chinese/fcitx-cloudpinyin/Makefile
index c501a8c542dc..9e67fed78828 100644
--- a/chinese/fcitx-cloudpinyin/Makefile
+++ b/chinese/fcitx-cloudpinyin/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= fcitx-config:${PORTSDIR}/chinese/fcitx \
USE_XZ= yes
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
USE_GNOME= intltool
PROJECTHOST= fcitx
diff --git a/chinese/fcitx-configtool/Makefile b/chinese/fcitx-configtool/Makefile
index b1c4d3ce1547..b018b3f6e592 100644
--- a/chinese/fcitx-configtool/Makefile
+++ b/chinese/fcitx-configtool/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= fcitx-config:${PORTSDIR}/chinese/fcitx
USE_XZ= yes
USE_GNOME= intltool gnomehack
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
OPTIONS_DEFINE= GTK2 GTK3
OPTIONS_DEFAULT=GTK2
diff --git a/chinese/fcitx-googlepinyin/Makefile b/chinese/fcitx-googlepinyin/Makefile
index 930cf3f418ac..f002b1ea593d 100644
--- a/chinese/fcitx-googlepinyin/Makefile
+++ b/chinese/fcitx-googlepinyin/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= fcitx-config:${PORTSDIR}/chinese/fcitx \
USE_XZ= yes
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
USE_GNOME= intltool
PROJECTHOST= fcitx
diff --git a/chinese/fcitx-libpinyin/Makefile b/chinese/fcitx-libpinyin/Makefile
index bc6118139451..a34f295a85bf 100644
--- a/chinese/fcitx-libpinyin/Makefile
+++ b/chinese/fcitx-libpinyin/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= fcitx-config:${PORTSDIR}/chinese/fcitx \
USE_LDCONFIG= ${PREFIX}/lib/fcitx/
USE_XZ= yes
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
USE_GNOME= intltool
INSTALLS_ICONS= yes
diff --git a/chinese/fcitx-rime/Makefile b/chinese/fcitx-rime/Makefile
index 79b53b320132..a89400af694d 100644
--- a/chinese/fcitx-rime/Makefile
+++ b/chinese/fcitx-rime/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= fcitx-config:${PORTSDIR}/chinese/fcitx \
USE_LDCONFIG= ${PREFIX}/lib/fcitx/
USE_XZ= yes
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
USE_GNOME= intltool
INSTALLS_ICONS= yes
diff --git a/chinese/fcitx-sunpinyin/Makefile b/chinese/fcitx-sunpinyin/Makefile
index cc67e446b799..e97362a1da15 100644
--- a/chinese/fcitx-sunpinyin/Makefile
+++ b/chinese/fcitx-sunpinyin/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_XZ= yes
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
USE_GNOME= intltool
INSTALLS_ICONS= yes
diff --git a/chinese/fcitx-table-extra/Makefile b/chinese/fcitx-table-extra/Makefile
index e5bf46ff0bb9..620acafa32c4 100644
--- a/chinese/fcitx-table-extra/Makefile
+++ b/chinese/fcitx-table-extra/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= fcitx-config:${PORTSDIR}/chinese/fcitx
USE_XZ= yes
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
USE_GNOME= intltool
INSTALLS_ICONS= yes
STRIP=
diff --git a/chinese/fcitx-ui-light/Makefile b/chinese/fcitx-ui-light/Makefile
index 81f9cd28ca3e..c2d78129d11b 100644
--- a/chinese/fcitx-ui-light/Makefile
+++ b/chinese/fcitx-ui-light/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= fcitx-config.4:${PORTSDIR}/chinese/fcitx \
USE_BZIP2= yes
USE_GETTEXT= yes
USE_XORG= x11 xft xpm
-USE_CMAKE= yes
+USES= cmake
USE_GNOME= intltool
PROJECTHOST= fcitx
diff --git a/chinese/fcitx/Makefile b/chinese/fcitx/Makefile
index 1e2a9ca0d10d..7b37f94ba1bf 100644
--- a/chinese/fcitx/Makefile
+++ b/chinese/fcitx/Makefile
@@ -34,7 +34,7 @@ USE_GNOME= pango intltool libxml2 gnomehack
USE_GETTEXT= yes
USE_XORG= x11 xext xkbfile
USE_LDCONFIG= yes
-USE_CMAKE= yes
+USES= cmake
INSTALLS_ICONS= yes
OPTIONS_DEFINE= GTK2 GTK3 QT4 OPENCC TPUNC
diff --git a/chinese/fqterm/Makefile b/chinese/fqterm/Makefile
index ba21ac2b1541..c8c4a10bc30b 100644
--- a/chinese/fqterm/Makefile
+++ b/chinese/fqterm/Makefile
@@ -20,8 +20,7 @@ USE_QT4= gui network script qt3support imageformats \
HAS_CONFIGURE= yes
USE_DOS2UNIX= src/ui/popwidget.cpp
-USE_CMAKE= yes
-CMAKE_OUTSOURCE= yes
+USES= cmake:outsource
CMAKE_ARGS= -Wno-dev
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/chinese/ibus-chewing/Makefile b/chinese/ibus-chewing/Makefile
index 173465c710e0..9f5d1ec29610 100644
--- a/chinese/ibus-chewing/Makefile
+++ b/chinese/ibus-chewing/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= chewing:${PORTSDIR}/chinese/libchewing
CMAKE_ARGS+= -DSYSCONF_INSTALL_DIR=${PREFIX}/etc \
-DLIB_DIR=${PREFIX}/lib
GCONF_SCHEMAS= ${PORTNAME}.schemas
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
USE_GNOME= gconf2 gtk20
USE_XORG= xtst
diff --git a/chinese/libgooglepinyin/Makefile b/chinese/libgooglepinyin/Makefile
index 58d4378f1da5..16ba5fc74024 100644
--- a/chinese/libgooglepinyin/Makefile
+++ b/chinese/libgooglepinyin/Makefile
@@ -15,6 +15,6 @@ COMMENT= A fork of Google Pinyin IME on Android
USE_BZIP2= yes
USE_LDCONFIG= yes
-USE_CMAKE= yes
+USES= cmake
.include <bsd.port.mk>
diff --git a/chinese/librime/Makefile b/chinese/librime/Makefile
index 31009767cd3e..93b0a8e8b189 100644
--- a/chinese/librime/Makefile
+++ b/chinese/librime/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs \
opencc:${PORTSDIR}/chinese/opencc \
yaml-cpp:${PORTSDIR}/devel/yaml-cpp
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
USE_PKGCONFIG= yes
USE_LDCONFIG= yes
diff --git a/chinese/opencc/Makefile b/chinese/opencc/Makefile
index f9fabd421ca9..c0a997f7becb 100644
--- a/chinese/opencc/Makefile
+++ b/chinese/opencc/Makefile
@@ -17,7 +17,7 @@ LICENSE= AL2
MAN1= opencc.1 opencc_dict.1
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
.if !defined(WITHOUT_NLS)
diff --git a/chinese/qterm/Makefile b/chinese/qterm/Makefile
index 2abe263d2b85..7e6c261c39d5 100644
--- a/chinese/qterm/Makefile
+++ b/chinese/qterm/Makefile
@@ -10,7 +10,7 @@ MAINTAINER= kaiwang27@gmail.com
COMMENT= BBS client for BSD/Linux
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_PERL5_BUILD= yes
USE_QT4= codecs-cn_run codecs-tw_run gui help-tools_build \
linguist_build moc_build network qt3support_build \
diff --git a/comms/cutecom/Makefile b/comms/cutecom/Makefile
index 209a5243b577..ece15458943a 100644
--- a/comms/cutecom/Makefile
+++ b/comms/cutecom/Makefile
@@ -17,7 +17,7 @@ COMMENT= Graphical serial terminal
RUN_DEPENDS= lsz:${PORTSDIR}/comms/lrzsz
USE_QT4= qt3support qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
MAN1= cutecom.1
diff --git a/comms/gammu-devel/Makefile b/comms/gammu-devel/Makefile
index 71f961ff2d46..ac62397d9d1f 100644
--- a/comms/gammu-devel/Makefile
+++ b/comms/gammu-devel/Makefile
@@ -23,7 +23,7 @@ CONFLICTS= gammu-[1-9]* gammu-python-[1-9]*
CMAKE_ARGS+= -DINSTALL_LIBDATA_DIR=${LOCALBASE}/libdata
-USE_CMAKE= yes
+USES= cmake
USE_PYTHON= yes
USE_GETTEXT= yes
USE_GNOME= glib20
diff --git a/comms/gammu/Makefile b/comms/gammu/Makefile
index 52d30de403c8..b2e07191791a 100644
--- a/comms/gammu/Makefile
+++ b/comms/gammu/Makefile
@@ -18,7 +18,7 @@ OPTIONS_DEFINE= BASH
CMAKE_ARGS+= -DINSTALL_LIBDATA_DIR=${LOCALBASE}/libdata
-USE_CMAKE= yes
+USES= cmake
USE_PYTHON= yes
USE_GETTEXT= yes
USE_GNOME= glib20
diff --git a/comms/gnuradio/Makefile b/comms/gnuradio/Makefile
index 5940895e7ec8..5fb2caa837c9 100644
--- a/comms/gnuradio/Makefile
+++ b/comms/gnuradio/Makefile
@@ -30,9 +30,7 @@ RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_SITELIBDIR}/ephem/__init__.py:${PORTSDIR}/astro/pyephem\
${PYTHON_SITELIBDIR}/PyQt4/Qt.py:${PORTSDIR}/devel/py-qt4
-USE_CMAKE= yes
-CMAKE_VERBOSE= yes
-CMAKE_OUTSOURCE= yes
+USES= cmake:outsource
DOCSDIR= share/doc/${PORTNAME}-${PORTVERSION}
#CMAKE_ARGS= --debug-output --trace
CMAKE_ARGS=+ --debug-output
diff --git a/comms/openobex/Makefile b/comms/openobex/Makefile
index e53ce5aed395..f2fbf3253b05 100644
--- a/comms/openobex/Makefile
+++ b/comms/openobex/Makefile
@@ -10,9 +10,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-Source
MAINTAINER= madpilot@FreeBSD.org
COMMENT= Open source implementation of the OBEX protocol
-USE_CMAKE= yes
USE_LDCONFIG= yes
-USES= pathfix
+USES= pathfix cmake
MAKE_JOBS_SAFE= yes
USE_DOS2UNIX= CMakeLists.txt
CMAKE_ARGS+= -DPKGCONFIG_INSTALL_DIR:STRING="${PREFIX}/libdata/pkgconfig"
diff --git a/comms/usbmuxd/Makefile b/comms/usbmuxd/Makefile
index d12b9e0be041..284071b2b5f1 100644
--- a/comms/usbmuxd/Makefile
+++ b/comms/usbmuxd/Makefile
@@ -12,7 +12,7 @@ COMMENT= Daemon for multiplexing connections over USB to an iPhone/iPod Touch
LIB_DEPENDS= plist:${PORTSDIR}/devel/libplist
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
diff --git a/comms/usrp/Makefile b/comms/usrp/Makefile
index ccba33718b7f..bd65f2b5cc79 100644
--- a/comms/usrp/Makefile
+++ b/comms/usrp/Makefile
@@ -19,10 +19,9 @@ BUILD_DEPENDS= ${LOCALBASE}/include/boost/tuple/tuple.hpp:${PORTSDIR}/devel/boos
sdcc:${PORTSDIR}/lang/sdcc
USE_DOS2UNIX= yes
-USE_CMAKE= yes
+USES= cmake:outsource
USE_GMAKE= yes
USE_LDCONFIG= yes
-CMAKE_OUTSOURCE= yes
CMAKE_SOURCE_PATH= ${WRKSRC}/host
# for excruciating debug use this -db
diff --git a/databases/akonadi-google/Makefile b/databases/akonadi-google/Makefile
index 35d19c678297..aa40e4f99a16 100644
--- a/databases/akonadi-google/Makefile
+++ b/databases/akonadi-google/Makefile
@@ -24,7 +24,7 @@ BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
USE_KDE4= kdehier kdelibs kdeprefix pimlibs automoc4
USE_QT4= dbus gui network webkit xml \
moc_build qmake_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
diff --git a/databases/akonadi-googledata/Makefile b/databases/akonadi-googledata/Makefile
index 7f0c083aa1bc..960500b59a1c 100644
--- a/databases/akonadi-googledata/Makefile
+++ b/databases/akonadi-googledata/Makefile
@@ -17,7 +17,7 @@ COMMENT= Akonadi Resources for Google Contacts and Calendar
LIB_DEPENDS= gcal:${PORTSDIR}/deskutils/libgcal
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
USE_QT4= qmake_build rcc_build moc_build uic_build dbus
USE_KDE4= kdelibs kdeprefix pimlibs automoc4 akonadi
diff --git a/databases/kbibtex/Makefile b/databases/kbibtex/Makefile
index e4aac3d0d218..5abd998d0298 100644
--- a/databases/kbibtex/Makefile
+++ b/databases/kbibtex/Makefile
@@ -13,7 +13,7 @@ COMMENT= Bibliography editor for KDE
LIB_DEPENDS= poppler-qt4:${PORTSDIR}/graphics/poppler-qt4
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_GNOME= libxml2 libxslt
USE_KDE4= kdelibs kdeprefix automoc4 sharedmime
USE_QT4= qmake_build moc_build uic_build rcc_build \
diff --git a/databases/mariadb55-server/Makefile b/databases/mariadb55-server/Makefile
index a2d9061a8e95..13d2b520cb74 100644
--- a/databases/mariadb55-server/Makefile
+++ b/databases/mariadb55-server/Makefile
@@ -19,7 +19,7 @@ MAINTAINER= never@nevermind.kiev.ua
COMMENT?= Multithreaded SQL database (server)
SLAVEDIRS= databases/mariadb55-client
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
NO_OPTIONS_SORT=yes
diff --git a/databases/mydumper/Makefile b/databases/mydumper/Makefile
index edc7167ac680..c4428b0cb80e 100644
--- a/databases/mydumper/Makefile
+++ b/databases/mydumper/Makefile
@@ -21,7 +21,7 @@ PLIST_FILES= sbin/mydumper sbin/myloader
USE_GNOME= glib20
USE_PKGCONFIG= build
USE_MYSQL= yes
-USE_CMAKE= yes
+USES= cmake
post-patch:
@${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/CMakeLists.txt
diff --git a/databases/mysql-connector-c++/Makefile b/databases/mysql-connector-c++/Makefile
index a400105a702b..235a7a0c5dba 100644
--- a/databases/mysql-connector-c++/Makefile
+++ b/databases/mysql-connector-c++/Makefile
@@ -16,8 +16,7 @@ LIB_DEPENDS= boost_regex:${PORTSDIR}/devel/boost-libs
USE_MYSQL= 51+
USE_LDCONFIG= yes
-USE_CMAKE= yes
-CMAKE_OUTSOURCE=yes
+USES= cmake:outsource
PLIST_SUB+= PORTVERSION=${PORTVERSION}
diff --git a/databases/mysql-connector-c/Makefile b/databases/mysql-connector-c/Makefile
index d2ccaccd98a3..a8ca545885d7 100644
--- a/databases/mysql-connector-c/Makefile
+++ b/databases/mysql-connector-c/Makefile
@@ -13,7 +13,7 @@ COMMENT= MySQL database connector for C
LICENSE= GPLv2
USE_MYSQL= 51+
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
PLIST_SUB+= PORTVERSION=${PORTVERSION}
diff --git a/databases/mysql-connector-odbc/Makefile b/databases/mysql-connector-odbc/Makefile
index d2e24ed38e88..a5e202644747 100644
--- a/databases/mysql-connector-odbc/Makefile
+++ b/databases/mysql-connector-odbc/Makefile
@@ -18,7 +18,7 @@ COMMENT= ODBC driver for MySQL${MYSQL_VER} / ${DRIVER_MANAGER}
USE_LDCONFIG= yes
USE_MYSQL= yes
DEFAULT_MYSQL_VER= 51
-USE_CMAKE= yes
+USES= cmake
PLIST_SUB= VER=${PORTVERSION}
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
index 03bb57a84c03..1e4acfd63204 100644
--- a/databases/mysql55-server/Makefile
+++ b/databases/mysql55-server/Makefile
@@ -13,7 +13,7 @@ MAINTAINER= ale@FreeBSD.org
COMMENT?= Multithreaded SQL database (server)
SLAVEDIRS= databases/mysql55-client
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
NO_OPTIONS_SORT=yes
diff --git a/databases/mysql56-server/Makefile b/databases/mysql56-server/Makefile
index 435362b72133..0fa447b7f5d7 100644
--- a/databases/mysql56-server/Makefile
+++ b/databases/mysql56-server/Makefile
@@ -13,7 +13,7 @@ MAINTAINER= ale@FreeBSD.org
COMMENT?= Multithreaded SQL database (server)
SLAVEDIRS= databases/mysql56-client
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mysql" \
diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile
index 2f8803f64aab..9d9a3f4e6dfe 100644
--- a/databases/percona55-server/Makefile
+++ b/databases/percona55-server/Makefile
@@ -13,8 +13,7 @@ MAINTAINER= flo@FreeBSD.org
COMMENT?= Multithreaded SQL database (server)
SLAVEDIRS= databases/percona55-client
-USE_CMAKE= yes
-USES= bison
+USES= bison cmake
MAKE_JOBS_SAFE= yes
OPTIONS_DEFINE= OPENSSL FASTMTX
diff --git a/databases/percona56-server/Makefile b/databases/percona56-server/Makefile
index 03b8d1759f03..87a4d4d87418 100644
--- a/databases/percona56-server/Makefile
+++ b/databases/percona56-server/Makefile
@@ -13,8 +13,7 @@ MAINTAINER= flo@FreeBSD.org
COMMENT?= Multithreaded SQL database (server)
SLAVEDIRS= databases/percona56-client
-USE_CMAKE= yes
-USES= bison
+USES= bison cmake
MAKE_JOBS_SAFE= yes
OPTIONS_DEFINE= OPENSSL FASTMTX
diff --git a/databases/pgagent/Makefile b/databases/pgagent/Makefile
index f3d9ab9ea93c..8788a9048dd8 100644
--- a/databases/pgagent/Makefile
+++ b/databases/pgagent/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= fjoe@FreeBSD.org
COMMENT= Job scheduler for PostgreSQL
MAKE_JOBS_SAFE= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DSTATIC_BUILD:BOOL=NO -DWX_CONFIG_PATH:FILEPATH="${WX_CONFIG}"
USE_WX= 2.8
WX_UNICODE= yes
diff --git a/databases/soci/Makefile b/databases/soci/Makefile
index 3c412da69b48..c9cbd1555a6a 100644
--- a/databases/soci/Makefile
+++ b/databases/soci/Makefile
@@ -14,7 +14,7 @@ LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt
USE_ZIP= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DWITH_ORACLE:BOOL=OFF
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
diff --git a/databases/sqliteman/Makefile b/databases/sqliteman/Makefile
index 007bde3f29f8..9bbf93525aa2 100644
--- a/databases/sqliteman/Makefile
+++ b/databases/sqliteman/Makefile
@@ -16,7 +16,7 @@ COMMENT= Admin's GUI tool for Sqlite3
LIB_DEPENDS= qscintilla2:${PORTSDIR}/devel/qscintilla2
-USE_CMAKE= yes
+USES= cmake
USE_SQLITE= yes
CMAKE_ENV+= QMAKESPEC=${QMAKESPEC}
USE_QT4= qmake_build gui moc_build rcc_build uic_build xml sql
diff --git a/databases/tarantool/Makefile b/databases/tarantool/Makefile
index d208a458118d..d90ab963a5a5 100644
--- a/databases/tarantool/Makefile
+++ b/databases/tarantool/Makefile
@@ -14,7 +14,7 @@ COMMENT= High performance key/value storage server
LICENSE= BSD
TR_REV= 31-g9ca7fda
-USE_CMAKE= yes
+USES= cmake
USE_GCC= 4.6+
USE_GETTEXT= build
USE_GMAKE= yes
diff --git a/deskutils/basket/Makefile b/deskutils/basket/Makefile
index d143d79ca4b2..13f04803f000 100644
--- a/deskutils/basket/Makefile
+++ b/deskutils/basket/Makefile
@@ -17,7 +17,7 @@ USE_BZIP2= yes
USE_XORG= xft xpm
USE_KDE4= automoc4 kdeprefix pimlibs qimageblitz
USE_QT4= moc_build qmake_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/deskutils/cairo-dock-plugins/Makefile b/deskutils/cairo-dock-plugins/Makefile
index 982aebfc6c80..8a60f69d90f8 100644
--- a/deskutils/cairo-dock-plugins/Makefile
+++ b/deskutils/cairo-dock-plugins/Makefile
@@ -27,7 +27,7 @@ USE_LDCONFIG= yes
USE_PYTHON= yes
USE_XORG= xrender
USE_DOS2UNIX= YES
-USE_CMAKE= yes
+USES= cmake
USE_GCC= 4.6+
MAKE_JOBS_SAFE= YES
PLIST_SUB+= PYVER="${PYTHON_VERSION:S/thon//}"
diff --git a/deskutils/cairo-dock/Makefile b/deskutils/cairo-dock/Makefile
index 105a72a62181..b2d8c0b8017a 100644
--- a/deskutils/cairo-dock/Makefile
+++ b/deskutils/cairo-dock/Makefile
@@ -21,7 +21,7 @@ USE_GETTEXT= yes
USE_GNOME= gnomehack pkgconfig glib20 gtk20 librsvg2 libxml2
USE_LDCONFIG= yes
USE_XORG= xrender xtst
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
MAN1= cairo-dock.1
diff --git a/deskutils/charmtimetracker/Makefile b/deskutils/charmtimetracker/Makefile
index ba4454c9d2a4..4f12b93af6f7 100644
--- a/deskutils/charmtimetracker/Makefile
+++ b/deskutils/charmtimetracker/Makefile
@@ -21,7 +21,7 @@ LICENSE_FILE= ${WRKSRC}/License.txt
WRKSRC= ${WRKDIR}/KDAB-Charm-3151d25
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DCharm_VERSION:STRING=${PORTVERSION}
USE_KDE4= kdehier kdeprefix
USE_QT4= qmake_build moc_build rcc_build uic_build corelib gui network \
diff --git a/deskutils/chmsee/Makefile b/deskutils/chmsee/Makefile
index a047e53dd639..9607d18f604f 100644
--- a/deskutils/chmsee/Makefile
+++ b/deskutils/chmsee/Makefile
@@ -22,7 +22,7 @@ LICENSE= GPLv2
USE_GNOME= gnomehier libglade2
USE_GECKO= libxul19
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=TRUE
INSTALLS_ICONS= yes
diff --git a/deskutils/kchmviewer-kde4/Makefile b/deskutils/kchmviewer-kde4/Makefile
index e97e0e20b849..9d2b21066702 100644
--- a/deskutils/kchmviewer-kde4/Makefile
+++ b/deskutils/kchmviewer-kde4/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= chm.0:${PORTSDIR}/misc/chmlib
LATEST_LINK= ${PORTNAME}-kde4
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdeprefix kdelibs automoc4
USE_QT4= webkit qmake_build moc_build rcc_build uic_build
MAKE_JOBS_SAFE= yes
diff --git a/deskutils/ksshaskpass/Makefile b/deskutils/ksshaskpass/Makefile
index ff20abb24950..a047d4f9a993 100644
--- a/deskutils/ksshaskpass/Makefile
+++ b/deskutils/ksshaskpass/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= swills@FreeBSD.org
COMMENT= A KDE 4 version of ssh-askpass with KWallet support
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdelibs automoc4
USE_QT4= moc_build uic_build qmake_build rcc_build
diff --git a/deskutils/libgcal/Makefile b/deskutils/libgcal/Makefile
index d4827b07b537..3f35c80c20d6 100644
--- a/deskutils/libgcal/Makefile
+++ b/deskutils/libgcal/Makefile
@@ -17,7 +17,7 @@ LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYING
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DLIB_INSTALL_DIR="${LOCALBASE}/lib" \
-DENABLE_TESTS=OFF
USE_LDCONFIG= yes
diff --git a/deskutils/libopensync-plugin-evolution2-devel/Makefile b/deskutils/libopensync-plugin-evolution2-devel/Makefile
index d2dda5ffbb27..25c82ed3aec9 100644
--- a/deskutils/libopensync-plugin-evolution2-devel/Makefile
+++ b/deskutils/libopensync-plugin-evolution2-devel/Makefile
@@ -21,7 +21,7 @@ RUN_DEPENDS= vconvert:${PORTSDIR}/deskutils/libopensync-plugin-vformat-devel
CONFLICTS= libopensync-plugin-evolution2-0.2*
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_GNOME= evolutiondataserver gconf2
CMAKE_ARGS+= -Wno-dev
diff --git a/deskutils/libopensync-plugin-python-devel/Makefile b/deskutils/libopensync-plugin-python-devel/Makefile
index aa0fc7d31539..636b107678b6 100644
--- a/deskutils/libopensync-plugin-python-devel/Makefile
+++ b/deskutils/libopensync-plugin-python-devel/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= opensync.1:${PORTSDIR}/devel/libopensync
CONFLICTS= libopensync-plugin-python-0.2*
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_PYTHON= yes
USE_GNOME= pkgconfig
CMAKE_ARGS+= -Wno-dev \
diff --git a/deskutils/libopensync-plugin-vformat-devel/Makefile b/deskutils/libopensync-plugin-vformat-devel/Makefile
index 707f9291f001..360cbad26d38 100644
--- a/deskutils/libopensync-plugin-vformat-devel/Makefile
+++ b/deskutils/libopensync-plugin-vformat-devel/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= opensync.1:${PORTSDIR}/devel/libopensync
USE_BZIP2= yes
USE_ICONV= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -Wno-dev
CFLAGS+= "-I${LOCALBASE}/include"
diff --git a/deskutils/msynctool-devel/Makefile b/deskutils/msynctool-devel/Makefile
index bea5454fd1ff..c7e2bd948183 100644
--- a/deskutils/msynctool-devel/Makefile
+++ b/deskutils/msynctool-devel/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= opensync.1:${PORTSDIR}/devel/libopensync
CONFLICTS= msynctool-0.2*
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
PLIST_FILES= bin/${PORTNAME}
diff --git a/deskutils/plasma-applet-cwp/Makefile b/deskutils/plasma-applet-cwp/Makefile
index 05f45a80199b..027034003d76 100644
--- a/deskutils/plasma-applet-cwp/Makefile
+++ b/deskutils/plasma-applet-cwp/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv3
USE_GETTEXT= yes
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdeprefix kdelibs
USE_QT4= gui dbus network opengl svg phonon webkit xml \
qmake_build moc_build rcc_build uic_build
diff --git a/deskutils/plasma-applet-daisy/Makefile b/deskutils/plasma-applet-daisy/Makefile
index eb0f52b74a53..99ab022fcd50 100644
--- a/deskutils/plasma-applet-daisy/Makefile
+++ b/deskutils/plasma-applet-daisy/Makefile
@@ -17,7 +17,7 @@ COMMENT= Simple launcher plasma applet for KDE4
LICENSE= GPLv3
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdeprefix kdelibs workspace
USE_QT4= qmake_build moc_build rcc_build uic_build
USE_GETTEXT= yes
diff --git a/deskutils/plasma-applet-fancytasks/Makefile b/deskutils/plasma-applet-fancytasks/Makefile
index 688b02c23a1d..7aaf8deaccb5 100644
--- a/deskutils/plasma-applet-fancytasks/Makefile
+++ b/deskutils/plasma-applet-fancytasks/Makefile
@@ -19,7 +19,7 @@ COMMENT= Plasmoid fancy representation of your tasks and launchers
LICENSE= GPLv2
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdeprefix kdelibs workspace qimageblitz
USE_QT4= qmake_build moc_build rcc_build uic_build
diff --git a/deskutils/plasma-applet-panelspacer/Makefile b/deskutils/plasma-applet-panelspacer/Makefile
index a0560592f846..e00f369342dd 100644
--- a/deskutils/plasma-applet-panelspacer/Makefile
+++ b/deskutils/plasma-applet-panelspacer/Makefile
@@ -16,7 +16,7 @@ DISTNAME= ${PORTNAME}-plasmoid-${PORTVERSION}
MAINTAINER= jhale@FreeBSD.org
COMMENT= Panel spacer plasma applet for KDE4
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdeprefix workspace
USE_QT4= gui dbus network opengl svg webkit xml \
qmake_build moc_build rcc_build uic_build
diff --git a/deskutils/plasma-applet-playwolf/Makefile b/deskutils/plasma-applet-playwolf/Makefile
index 7b2b7569f661..d894f77c2a41 100644
--- a/deskutils/plasma-applet-playwolf/Makefile
+++ b/deskutils/plasma-applet-playwolf/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= jhale@FreeBSD.org
COMMENT= Amarok 2.x plasma applet for KDE4
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdeprefix kdelibs
USE_QT4= gui dbus network opengl phonon svg webkit xml xmlpatterns \
qmake_build moc_build rcc_build uic_build
diff --git a/deskutils/plasma-applet-qstardict/Makefile b/deskutils/plasma-applet-qstardict/Makefile
index a3c35a1df76b..14094fd18184 100644
--- a/deskutils/plasma-applet-qstardict/Makefile
+++ b/deskutils/plasma-applet-qstardict/Makefile
@@ -12,7 +12,7 @@ COMMENT= Dictionary plasma applet for KDE
RUN_DEPENDS= ${QSTARDICT_PLUGIN_PATH}/libstardict.so:${PORTSDIR}/textproc/qstardict
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_QT4= qmake_build uic_build moc_build rcc_build
USE_KDE4= automoc4 kdeprefix kdelibs
CMAKE_SOURCE_PATH= ${WRKSRC}/kdeplasma
diff --git a/deskutils/plasma-applet-serverstatuswidget/Makefile b/deskutils/plasma-applet-serverstatuswidget/Makefile
index e058fd77bd62..399ed6c78671 100644
--- a/deskutils/plasma-applet-serverstatuswidget/Makefile
+++ b/deskutils/plasma-applet-serverstatuswidget/Makefile
@@ -17,7 +17,7 @@ MAINTAINER= jhale@FreeBSD.org
COMMENT= Server monitoring plasma applet for KDE4
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
USE_KDE4= automoc4 kdeprefix workspace
USE_QT4= qmake_build moc_build rcc_build uic_build
diff --git a/deskutils/plasma-applet-simpleweatherforecast/Makefile b/deskutils/plasma-applet-simpleweatherforecast/Makefile
index d5cf52ace200..fcf111db2763 100644
--- a/deskutils/plasma-applet-simpleweatherforecast/Makefile
+++ b/deskutils/plasma-applet-simpleweatherforecast/Makefile
@@ -18,7 +18,7 @@ COMMENT= Weather plasma applet for KDE4
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdeprefix kdelibs
USE_QT4= gui dbus network opengl svg webkit xml \
qmake_build moc_build rcc_build uic_build
diff --git a/deskutils/plasma-applet-teacooker/Makefile b/deskutils/plasma-applet-teacooker/Makefile
index 42369a9efbfa..d201b0ec21a6 100644
--- a/deskutils/plasma-applet-teacooker/Makefile
+++ b/deskutils/plasma-applet-teacooker/Makefile
@@ -16,7 +16,7 @@ DISTNAME= 85564-TeaCooker
MAINTAINER= jhale@FreeBSD.org
COMMENT= Tea cooker plasma applet for KDE4
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdeprefix kdelibs
USE_QT4= gui dbus network opengl svg webkit xml \
qmake_build moc_build rcc_build uic_build
diff --git a/deskutils/plasma-applet-yawp/Makefile b/deskutils/plasma-applet-yawp/Makefile
index 6c7713db050e..866624297a08 100644
--- a/deskutils/plasma-applet-yawp/Makefile
+++ b/deskutils/plasma-applet-yawp/Makefile
@@ -18,7 +18,7 @@ COMMENT= Weather plasma applet for KDE4
LICENSE= GPLv2
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdeprefix workspace
USE_QT4= qmake_build moc_build rcc_build uic_build
USE_GETTEXT= yes
diff --git a/deskutils/q4wine/Makefile b/deskutils/q4wine/Makefile
index a53cfa468224..4abf1b42c438 100644
--- a/deskutils/q4wine/Makefile
+++ b/deskutils/q4wine/Makefile
@@ -28,7 +28,7 @@ ONLY_FOR_ARCHS_REASON= depends on wine which is only available for i386
MAN1= q4wine-cli.1 q4wine-helper.1 q4wine.1
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DMANPAGE_ENTRY_PATH=${MANPREFIX}/man/
OPTIONS= DBUS "Enable DBus notification support" on
diff --git a/deskutils/qtm/Makefile b/deskutils/qtm/Makefile
index ba0ce6886fd4..0ea05d940170 100644
--- a/deskutils/qtm/Makefile
+++ b/deskutils/qtm/Makefile
@@ -17,7 +17,7 @@ USE_BZIP2= yes
USE_QT4= corelib dbus gui network xml \
moc_build qmake_build rcc_build uic_build
USE_OPENSSL= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \
-DMANPAGE_DIRECTORY:STRING="${MANPREFIX}/man/man1" \
-DMARKDOWN_LOCATION:STRING="${LOCALBASE}/bin/markdown"
diff --git a/deskutils/silence/Makefile b/deskutils/silence/Makefile
index 98438d6503db..be954717136a 100644
--- a/deskutils/silence/Makefile
+++ b/deskutils/silence/Makefile
@@ -17,7 +17,7 @@ COMMENT= An information management tool
RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/katepart.so:${PORTSDIR}/editors/kate
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdelibs kdehier kdeprefix automoc4
USE_QT4= qmake_build moc_build rcc_build uic_build linguist_build
diff --git a/deskutils/steadyflow/Makefile b/deskutils/steadyflow/Makefile
index bdad3391900a..42f374590177 100644
--- a/deskutils/steadyflow/Makefile
+++ b/deskutils/steadyflow/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
unique-1:${PORTSDIR}/x11-toolkits/unique
BUILD_DEPENDS= valac:${PORTSDIR}/lang/vala
-USE_CMAKE= yes
+USES= cmake
GLIB_SCHEMAS= net.launchpad.steadyflow.gschema.xml
USE_GNOME= desktopfileutils glib20 gtk20
USE_GETTEXT= yes
diff --git a/deskutils/taskwarrior/Makefile b/deskutils/taskwarrior/Makefile
index bcd7c851d449..094ab000e5b5 100644
--- a/deskutils/taskwarrior/Makefile
+++ b/deskutils/taskwarrior/Makefile
@@ -24,8 +24,7 @@ WRKSRC= ${WRKDIR}/task-${DISTVERSION}
USE_LUA= 5.1
.endif
-USE_CMAKE= yes
-CMAKE_OUTSOURCE=yes
+USES= cmake:outsource
CMAKE_ARGS+= -DTASK_DOCDIR:STRING=${DATADIR:S/${PREFIX}\///} \
-DTASK_MAN1DIR:STRING=man/man1 \
-DTASK_MAN5DIR:STRING=man/man5
diff --git a/deskutils/teapot/Makefile b/deskutils/teapot/Makefile
index 17eb2d82b171..ba007258cf0f 100644
--- a/deskutils/teapot/Makefile
+++ b/deskutils/teapot/Makefile
@@ -15,7 +15,7 @@ COMMENT= Full-screen curses based spread sheet program
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-USE_CMAKE= yes
+USES= cmake
NO_MANCOMPRESS= no
MAN1= teapot.1
diff --git a/devel/ChipmunkPhysics/Makefile b/devel/ChipmunkPhysics/Makefile
index 32d5a6c7f0f1..ceabe4a80016 100644
--- a/devel/ChipmunkPhysics/Makefile
+++ b/devel/ChipmunkPhysics/Makefile
@@ -15,7 +15,7 @@ COMMENT= 2D physics engine written in C
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DBUILD_DEMOS=OFF
MAKE_JOBS_SAFE= yes
diff --git a/devel/allegro-devel/Makefile b/devel/allegro-devel/Makefile
index 295f425a8503..9428b3d7333b 100644
--- a/devel/allegro-devel/Makefile
+++ b/devel/allegro-devel/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= nemysis@gmx.ch
COMMENT= Cross-platform library for games and multimedia programming
USE_GMAKE= yes
-USE_CMAKE= yes
+USES= cmake
USE_XORG= x11 xpm xext xcursor xxf86vm xxf86dga
USE_LDCONFIG= yes
USE_PKGCONFIG= build
diff --git a/devel/apiextractor/Makefile b/devel/apiextractor/Makefile
index 77c5ed2aaf53..76faa93876e2 100644
--- a/devel/apiextractor/Makefile
+++ b/devel/apiextractor/Makefile
@@ -26,7 +26,7 @@ USE_QT4= gui moc_build qmake_build qtestlib_build \
rcc_build uic_build xml xmlpatterns
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/devel/automoc4/Makefile b/devel/automoc4/Makefile
index 468055bae0de..f85c3e70565a 100644
--- a/devel/automoc4/Makefile
+++ b/devel/automoc4/Makefile
@@ -18,7 +18,7 @@ COMMENT= Automatic moc for Qt 4 packages
USE_ICONV= yes
USE_QT4= corelib moc qmake_build rcc_build uic_build
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.mk>
diff --git a/devel/avro-c/Makefile b/devel/avro-c/Makefile
index 66f4e49cbd39..cc7dbdb5d4a2 100644
--- a/devel/avro-c/Makefile
+++ b/devel/avro-c/Makefile
@@ -12,7 +12,7 @@ DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= g.veniamin@googlemail.com
COMMENT= Data serialization system for ANSI C
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
USE_PKGCONFIG= yes
diff --git a/devel/avro-cpp/Makefile b/devel/avro-cpp/Makefile
index 14538a82524c..90dccb782bd4 100644
--- a/devel/avro-cpp/Makefile
+++ b/devel/avro-cpp/Makefile
@@ -15,7 +15,7 @@ COMMENT= Data serialization system for C++
LIB_DEPENDS= boost_regex:${PORTSDIR}/devel/boost-libs
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
USE_PYTHON= yes
diff --git a/devel/bullet/Makefile b/devel/bullet/Makefile
index 5f110c595af1..c13b7768ed59 100644
--- a/devel/bullet/Makefile
+++ b/devel/bullet/Makefile
@@ -20,7 +20,7 @@ USE_XORG= x11
USE_GCC= any
MAKE_JOBS_SAFE= yes
-USE_CMAKE= yes
+USES= cmake
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -pthread
diff --git a/devel/ccons/Makefile b/devel/ccons/Makefile
index a9533f86c75b..8f7808a4d148 100644
--- a/devel/ccons/Makefile
+++ b/devel/ccons/Makefile
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/llvm-config:${PORTSDIR}/devel/llvm \
LIB_DEPENDS= ncurses:${PORTSDIR}/devel/ncurses
ONLY_FOR_ARCHS= i386 amd64
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DLLVM_CONFIG_EXECUTABLE:FILEPATH=${LOCALBASE}/bin/llvm-config
CXX= ${LOCALBASE}/bin/clang++
diff --git a/devel/cdash/Makefile b/devel/cdash/Makefile
index 1a1a9217dcb6..71f1319f797f 100644
--- a/devel/cdash/Makefile
+++ b/devel/cdash/Makefile
@@ -22,8 +22,7 @@ OPTIONS_MULTI_DB= MYSQL PGSQL
OPTIONS_DEFAULT=MYSQL
USE_ZIP= yes
-USE_CMAKE= yes
-CMAKE_OUTSOURCE=yes
+USES= cmake:outsource
CMAKE_ARGS+= -DCDASH_DB_NAME:STRING=cdash \
-DCDASH_DB_LOGIN:STRING=cdash \
-DCDASH_DB_TYPE:STRING=${DB_TYPE}
diff --git a/devel/cocaine-core/Makefile b/devel/cocaine-core/Makefile
index 2656104762ab..10a50054e980 100644
--- a/devel/cocaine-core/Makefile
+++ b/devel/cocaine-core/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= boost_iostreams:${PORTSDIR}/devel/boost-libs \
uuid:${PORTSDIR}/misc/e2fsprogs-libuuid \
zmq:${PORTSDIR}/devel/zmq
-USE_CMAKE= yes
+USES= cmake
USE_GCC= 4.6+
USE_LDCONFIG= yes
USE_GITHUB= yes
diff --git a/devel/compiler-rt/Makefile b/devel/compiler-rt/Makefile
index 8a3cae510e73..b1c9fad79bff 100644
--- a/devel/compiler-rt/Makefile
+++ b/devel/compiler-rt/Makefile
@@ -22,7 +22,7 @@ INSTALL_WRKSRC= ${WRKDIR}/build
CMAKE_SOURCE_PATH= ${WRKSRC}
-USE_CMAKE= yes
+USES= cmake
USE_GCC= 4.2+
USE_BZIP2= yes
USE_LDCONFIG= yes
diff --git a/devel/dcmtk/Makefile b/devel/dcmtk/Makefile
index 5fcfcfba73dc..f22e06719697 100644
--- a/devel/dcmtk/Makefile
+++ b/devel/dcmtk/Makefile
@@ -16,8 +16,7 @@ LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff \
USE_GNOME= libxml2
USE_LDCONFIG= yes
-USE_CMAKE= yes
-CMAKE_OUTSOURCE=yes
+USES= cmake:outsource
CMAKE_ARGS+= -DDCMTK_WITH_DOXYGEN:BOOL=OFF
SHLIBS= dcmdata dcmdsig dcmimage dcmimgle dcmjpeg dcmnet \
diff --git a/devel/eblob/Makefile b/devel/eblob/Makefile
index 92dc584f307a..c33dac936fd9 100644
--- a/devel/eblob/Makefile
+++ b/devel/eblob/Makefile
@@ -17,7 +17,7 @@ GH_ACCOUNT= zloidemon
GH_COMMIT= 0a75b89
GH_TAGNAME= master
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
OPTIONS_DEFINE= ASSERT PYTHON SNAPPY EXAMPLES TESTS
diff --git a/devel/freeocl/Makefile b/devel/freeocl/Makefile
index a9b032d77fab..ace9d545efab 100644
--- a/devel/freeocl/Makefile
+++ b/devel/freeocl/Makefile
@@ -18,7 +18,7 @@ LICENSE= LGPL3
WRKSRC= ${WRKDIR}/FreeOCL-${PORTVERSION}-Source
USE_GCC= 4.6+
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
CMAKE_BUILD_TYPE=Release
diff --git a/devel/gdcm/Makefile b/devel/gdcm/Makefile
index 5f01eaa66385..0a37b87104ca 100644
--- a/devel/gdcm/Makefile
+++ b/devel/gdcm/Makefile
@@ -17,12 +17,11 @@ OPTIONS_UNSET= DOCS
VTK_DESC= Build with VTK bindings
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake:outsource
USE_OPENSSL= yes
USE_LDCONFIG= ${PREFIX}/lib \
${PREFIX}/lib/gdcm-${GDCM_MAJ}
CFLAGS+= -I${LOCALBASE}/include
-CMAKE_OUTSOURCE=yes
CMAKE_ARGS+= -DGDCM_PDF_DOCUMENTATION:BOOL=NO \
-DGDCM_USE_SYSTEM_OPENSSL:BOOL=YES \
-DGDCM_USE_SYSTEM_EXPAT:BOOL=YES \
diff --git a/devel/generatorrunner/Makefile b/devel/generatorrunner/Makefile
index 06f7b5152ef3..3a3496beb514 100644
--- a/devel/generatorrunner/Makefile
+++ b/devel/generatorrunner/Makefile
@@ -30,7 +30,7 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
USE_QT4= gui qmake_build qtestlib moc_build rcc_build uic_build xml
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/devel/grantlee/Makefile b/devel/grantlee/Makefile
index 3fd799d71165..f1d66b8dade4 100644
--- a/devel/grantlee/Makefile
+++ b/devel/grantlee/Makefile
@@ -14,8 +14,7 @@ LICENSE= LGPL21
USE_QT4= corelib gui qtestlib_build script \
qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
-CMAKE_OUTSOURCE= yes
+USES= cmake:outsource
CMAKE_ARGS+= -DBUILD_TESTS:BOOL=FALSE
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
diff --git a/devel/jrtplib/Makefile b/devel/jrtplib/Makefile
index 88bdc96c8367..1403e4319f1c 100644
--- a/devel/jrtplib/Makefile
+++ b/devel/jrtplib/Makefile
@@ -13,7 +13,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.MIT
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/devel/kcachegrind/Makefile b/devel/kcachegrind/Makefile
index 0cbaaabc2da0..16c7b9d7fb9d 100644
--- a/devel/kcachegrind/Makefile
+++ b/devel/kcachegrind/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
ONLY_FOR_ARCHS= i386 amd64
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdehier kdelibs
USE_QT4= moc_build qmake_build rcc_build uic_build
INSTALLS_ICONS= yes
diff --git a/devel/kdbg/Makefile b/devel/kdbg/Makefile
index a2930116f4dd..a5f687087b88 100644
--- a/devel/kdbg/Makefile
+++ b/devel/kdbg/Makefile
@@ -11,7 +11,7 @@ COMMENT= Graphical user interface around gdb using KDE
LICENSE= GPLv2
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdelibs kdeprefix automoc4
USE_QT4= moc_build qmake_build rcc_build uic_build
INSTALLS_ICONS= yes
diff --git a/devel/kdesvn-kde4/Makefile b/devel/kdesvn-kde4/Makefile
index 2bb15893fadd..607b60181879 100644
--- a/devel/kdesvn-kde4/Makefile
+++ b/devel/kdesvn-kde4/Makefile
@@ -16,7 +16,7 @@ LICENSE= GPLv2
CONFLICTS= qsvn-[0-9]*
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DSUBVERSION_INCLUDE_DIR=${LOCALBASE}/include/subversion-1
USE_KDE4= kdelibs kdeprefix automoc4
USE_LDCONFIG= yes
diff --git a/devel/klee/Makefile b/devel/klee/Makefile
index 56cd6e79acb8..061026e33eed 100644
--- a/devel/klee/Makefile
+++ b/devel/klee/Makefile
@@ -16,8 +16,7 @@ RUN_DEPENDS= llvm-ar:${PORTSDIR}/devel/llvm \
OPTIONS_DEFINE= DEBUG
-USE_CMAKE= yes
-CMAKE_OUTSOURCE=yes
+USES= cmake:outsource
CMAKE_ARGS= -DCMAKE_MODULE_PATH=${WRKSRC}/cmake/llvm-3.1-modules \
-DKLEE_PATH_TO_LLVM_BUILD=${LOCALBASE}
diff --git a/devel/lasi/Makefile b/devel/lasi/Makefile
index 0335353ced32..2866c91e20af 100644
--- a/devel/lasi/Makefile
+++ b/devel/lasi/Makefile
@@ -18,7 +18,7 @@ CONFIGURE_ENV+= PKG_CONFIG_PATH=${PKG_CONFIG_PATH}
USE_LDCONFIG= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DCMAKE_INSTALL_DATADIR:PATH=${DATADIR}
.if !defined(NOPORTDOCS)
diff --git a/devel/libclaw/Makefile b/devel/libclaw/Makefile
index 597ebc9c220f..da75da1ef702 100644
--- a/devel/libclaw/Makefile
+++ b/devel/libclaw/Makefile
@@ -13,7 +13,7 @@ LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png
BUILD_DEPENDS= ${LOCALBASE}/include/boost/bind.hpp:${PORTSDIR}/devel/boost-libs
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DCLAW_CMAKE_MODULES_INSTALL_PATH="${DATADIR}/cmake"
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/devel/libdbusmenu-qt/Makefile b/devel/libdbusmenu-qt/Makefile
index 1c2824a7e5b9..5baaceed14ef 100644
--- a/devel/libdbusmenu-qt/Makefile
+++ b/devel/libdbusmenu-qt/Makefile
@@ -16,8 +16,7 @@ USE_QT4= dbus gui xml \
moc_build qmake_build rcc_build uic_build
FETCH_ARGS= -Fpr
USE_BZIP2= yes
-USE_CMAKE= yes
-CMAKE_OUTSOURCE=yes
+USES= cmake:outsource
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
diff --git a/devel/libgit2/Makefile b/devel/libgit2/Makefile
index 6ac416e350e6..db1df93acd00 100644
--- a/devel/libgit2/Makefile
+++ b/devel/libgit2/Makefile
@@ -13,7 +13,7 @@ LICENSE= GPLv2
USE_GITHUB= yes
GH_ACCOUNT= libgit2
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
USE_PYTHON_BUILD= yes
diff --git a/devel/libiqxmlrpc/Makefile b/devel/libiqxmlrpc/Makefile
index 8fb035b01989..85f6109972b0 100644
--- a/devel/libiqxmlrpc/Makefile
+++ b/devel/libiqxmlrpc/Makefile
@@ -19,7 +19,7 @@ BROKEN= does not build
USE_BZIP2= yes
USE_GNOME= libxml2
-USE_CMAKE= yes
+USES= cmake
.if defined(NOPORTDOCS)
CMAKE_ARGS= -Dbuild_docs=off
.endif
diff --git a/devel/libjson++/Makefile b/devel/libjson++/Makefile
index d053c2a7dfa7..4350e6e4a36a 100644
--- a/devel/libjson++/Makefile
+++ b/devel/libjson++/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= ftp://ftp.cflinux.hu/pub/
MAINTAINER= krichy@tvnetwork.hu
COMMENT= Small C++ library to handle JSON serialized data
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/devel/libkgapi/Makefile b/devel/libkgapi/Makefile
index d1b841719cc1..6dceda0d234d 100644
--- a/devel/libkgapi/Makefile
+++ b/devel/libkgapi/Makefile
@@ -18,7 +18,7 @@ CONFLICTS= akonadi-google-0.*
MAKE_JOBS_SAFE= yes
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdelibs kdeprefix kdehier pimlibs
USE_LDCONFIG= yes
USE_QT4= corelib network webkit xml \
diff --git a/devel/libkolab/Makefile b/devel/libkolab/Makefile
index 7ec9714772f6..6b63323ab5fe 100644
--- a/devel/libkolab/Makefile
+++ b/devel/libkolab/Makefile
@@ -20,7 +20,7 @@ CMAKE_ARGS= -DBUILD_TESTS:BOOL=OFF \
-DPYTHON_BINDINGS:BOOL=OFF \
-DUSE_LIBCALENDARING:BOOL=OFF
MAKE_JOBS_SAFE= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdelibs pimlibs
USE_LDCONFIG= yes
USE_QT4= corelib gui xml \
diff --git a/devel/libopensync/Makefile b/devel/libopensync/Makefile
index ba14704799f4..a5ab3606603b 100644
--- a/devel/libopensync/Makefile
+++ b/devel/libopensync/Makefile
@@ -18,7 +18,7 @@ CONFLICTS= libopensync-0.22*
USE_SQLITE= 3
USE_PKGCONFIG= yes
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -Wno-dev
USE_GNOME= glib20 libxml2
USE_PYTHON= yes
diff --git a/devel/libplist/Makefile b/devel/libplist/Makefile
index 84f6ce1c15eb..8bc891e60903 100644
--- a/devel/libplist/Makefile
+++ b/devel/libplist/Makefile
@@ -14,7 +14,7 @@ USE_GNOME= libxml2
# Unlisted dependency.
USE_ICONV= yes
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
# Required for iconv headers.
CFLAGS+= -I${LOCALBASE}/include
MAKE_JOBS_UNSAFE= yes
diff --git a/devel/libslave/Makefile b/devel/libslave/Makefile
index ef05b3de34f6..11d75b4df33c 100644
--- a/devel/libslave/Makefile
+++ b/devel/libslave/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv3
LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs
DATE= 20121210
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
USE_MYSQL= client
USE_GITHUB= yes
diff --git a/devel/libzrtpcpp/Makefile b/devel/libzrtpcpp/Makefile
index 43de432e5687..0b7e4a04debe 100644
--- a/devel/libzrtpcpp/Makefile
+++ b/devel/libzrtpcpp/Makefile
@@ -18,7 +18,7 @@ COMMENT= ZRTP extension for GNU ccRTP
LIB_DEPENDS= ccrtp:${PORTSDIR}/devel/ccrtp \
gcrypt.18:${PORTSDIR}/security/libgcrypt
-USE_CMAKE= yes
+USES= cmake
USE_OPENSSL= yes
WITH_OPENSSL_PORT=yes
diff --git a/devel/physfs-devel/Makefile b/devel/physfs-devel/Makefile
index 16c82b8825ca..05d4d79113a1 100644
--- a/devel/physfs-devel/Makefile
+++ b/devel/physfs-devel/Makefile
@@ -14,7 +14,7 @@ MASTER_SITES= http://offload1.icculus.org/${PORTNAME}/downloads/
MAINTAINER= oliver@FreeBSD.org
COMMENT= A library to provide abstract access to various archives
-USE_CMAKE= yes
+USES= cmake
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
NO_LATEST_LINK= yes
diff --git a/devel/physfs/Makefile b/devel/physfs/Makefile
index a704ed684039..11903d5909b6 100644
--- a/devel/physfs/Makefile
+++ b/devel/physfs/Makefile
@@ -10,7 +10,7 @@ MAINTAINER= oliver@FreeBSD.org
COMMENT= A library to provide abstract access to various archives
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
diff --git a/devel/piklab/Makefile b/devel/piklab/Makefile
index ae4a5e293710..5c28a94989fc 100644
--- a/devel/piklab/Makefile
+++ b/devel/piklab/Makefile
@@ -21,7 +21,7 @@ USE_QT4= corelib gui qt3support qtestlib xml \
USE_NCURSES= yes
USE_READLINE= yes
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
MAN1= piklab-hex.1 piklab-prog.1
diff --git a/devel/pyside-tools/Makefile b/devel/pyside-tools/Makefile
index e37b3df3d98a..2c724cc41327 100644
--- a/devel/pyside-tools/Makefile
+++ b/devel/pyside-tools/Makefile
@@ -37,7 +37,7 @@ REINPLACE_ARGS= -i.bak -e 's+/usr/bin/env python+&${PYTHON_VER}+' \
${WRKSRC}/pyside-uic ${WRKSRC}/pysideuic/icon_cache.py
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_PYTHON= 2.5-2.7
post-patch:
diff --git a/devel/pyside/Makefile b/devel/pyside/Makefile
index 8d9e0368f738..38760b147013 100644
--- a/devel/pyside/Makefile
+++ b/devel/pyside/Makefile
@@ -36,7 +36,7 @@ PLIST_SUB= PORTVERSION=${PORTVERSION} \
PYTHON_VERSION=${PYTHON_VERSION}
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
USE_PYTHON= -2.7
diff --git a/devel/qjson/Makefile b/devel/qjson/Makefile
index cef1920de5f4..8f6d90ee35c2 100644
--- a/devel/qjson/Makefile
+++ b/devel/qjson/Makefile
@@ -12,7 +12,7 @@ LICENSE= LGPL21
USE_QT4= corelib moc_build qmake_build rcc_build uic_build
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
diff --git a/devel/qross/Makefile b/devel/qross/Makefile
index aa69de43a2cf..26b49a383ccc 100644
--- a/devel/qross/Makefile
+++ b/devel/qross/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= g.veniamin@googlemail.com
COMMENT= Qt-only fork of Kross, the KDE scripting framework
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
USE_QT4= designer gui network xml qmake_build uic_build moc_build \
rcc_build script
diff --git a/devel/qsvn/Makefile b/devel/qsvn/Makefile
index 3270e8fefba0..0f285cd89674 100644
--- a/devel/qsvn/Makefile
+++ b/devel/qsvn/Makefile
@@ -14,7 +14,7 @@ LIB_DEPENDS+= svn_client-1:${PORTSDIR}/devel/subversion
USE_QT4= gui sql moc_build uic_build rcc_build qmake_build
USE_LDCONFIG= yes
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
diff --git a/devel/raknet/Makefile b/devel/raknet/Makefile
index 19f871037918..1b11f980312d 100644
--- a/devel/raknet/Makefile
+++ b/devel/raknet/Makefile
@@ -33,7 +33,7 @@ USE_DOS2UNIX= yes
DOS2UNIX_REGEX= .*\.(cpp|h|txt)
USE_GMAKE= yes
-USE_CMAKE= yes
+USES= cmake
# XXX Do not provide Samples for the following reason :
# - potential licensing problems
diff --git a/devel/sdl20/Makefile b/devel/sdl20/Makefile
index 0980866a0d69..4af935fc2011 100644
--- a/devel/sdl20/Makefile
+++ b/devel/sdl20/Makefile
@@ -9,9 +9,7 @@ DISTNAME= SDL-2.0.0-6940
MAINTAINER= mva@FreeBSD.org
COMMENT= Cross-platform multimedia development API
-USE_CMAKE= yes
-CMAKE_OUTSOURCE=yes
-USES= pathfix
+USES= pathfix cmake:outsource
USE_ICONV= yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/devel/shiboken/Makefile b/devel/shiboken/Makefile
index bd230958f1fa..7f13edc8db52 100644
--- a/devel/shiboken/Makefile
+++ b/devel/shiboken/Makefile
@@ -27,7 +27,7 @@ USE_QT4= gui qmake_build qtestlib moc_build \
uic_build rcc_build xml xmlpatterns
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
USE_PYTHON= yes
diff --git a/devel/silentbob/Makefile b/devel/silentbob/Makefile
index 6110d5cdd533..c48d3f3c5739 100644
--- a/devel/silentbob/Makefile
+++ b/devel/silentbob/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}2/${PORTNAME}-2.4/
MAINTAINER= tota@FreeBSD.org
COMMENT= Yet another sourcecode indexing tool
-USE_CMAKE= yes
+USES= cmake
LICENSE= GPLv1
LICENSE_FILE= ${WRKSRC}/COPYING
diff --git a/devel/simgear/Makefile b/devel/simgear/Makefile
index 092340a6c63a..41509f32176f 100644
--- a/devel/simgear/Makefile
+++ b/devel/simgear/Makefile
@@ -24,7 +24,7 @@ USE_GCC= any
USE_XORG= ice sm x11 xext xi xt xmu
USE_OPENAL= al alut
USE_GL= gl glu glut
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DJPEG_FACTORY:BOOL=ON
.include <bsd.port.mk>
diff --git a/devel/smack/Makefile b/devel/smack/Makefile
index 9e56f5418788..efea39dbc7a1 100644
--- a/devel/smack/Makefile
+++ b/devel/smack/Makefile
@@ -19,7 +19,7 @@ GH_ACCOUNT= zloidemon
GH_COMMIT= 72c81bf
GH_TAGNAME= master
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
OPTIONS_DEFINE= EXAMPLES
diff --git a/devel/vxlog/Makefile b/devel/vxlog/Makefile
index fbc5d2001e3a..4e17a5291258 100644
--- a/devel/vxlog/Makefile
+++ b/devel/vxlog/Makefile
@@ -16,7 +16,7 @@ COMMENT= C++ logging library
LICENSE= MIT
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
USE_GCC= 4.2+
diff --git a/devel/xc3sprog/Makefile b/devel/xc3sprog/Makefile
index 36dbd5a77ebd..725a45d038d4 100644
--- a/devel/xc3sprog/Makefile
+++ b/devel/xc3sprog/Makefile
@@ -17,7 +17,7 @@ COMMENT= Free programmer for Xilinx Spartan S3E Starter Kit
LIB_DEPENDS= ftdi:${PORTSDIR}/devel/libftdi
RUN_DEPENDS= ${LOCALBASE}/sbin/fxload:${PORTSDIR}/misc/fxload
-USE_CMAKE= yes
+USES= cmake
ALL_TARGET= xc3sprog
PLIST_FILES= bin/xc3sprog
diff --git a/devel/yajl/Makefile b/devel/yajl/Makefile
index c75d056d879c..e97e50381f97 100644
--- a/devel/yajl/Makefile
+++ b/devel/yajl/Makefile
@@ -20,7 +20,7 @@ GH_COMMIT= fee1ebe
LICENSE= BSD
USE_LDCONFIG= yes
-USE_CMAKE= yes
+USES= cmake
PLIST_SUB= VERSION=${PORTVERSION}
diff --git a/devel/yaml-cpp/Makefile b/devel/yaml-cpp/Makefile
index 3d01e793383f..7b6ffc398260 100644
--- a/devel/yaml-cpp/Makefile
+++ b/devel/yaml-cpp/Makefile
@@ -13,7 +13,7 @@ COMMENT= YAML parser and emitter in C++ matching the YAML 1.2 spec
LICENSE= MIT
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON -DYAML_CPP_BUILD_TOOLS=0
diff --git a/editors/calligra-l10n/files/bsd.l10n.mk b/editors/calligra-l10n/files/bsd.l10n.mk
index bf7caf90ee2e..ff603c2fa42e 100644
--- a/editors/calligra-l10n/files/bsd.l10n.mk
+++ b/editors/calligra-l10n/files/bsd.l10n.mk
@@ -11,5 +11,5 @@ USE_GETTEXT= yes
USE_KDE4= kdehier kdelibs kdeprefix automoc4
USE_QT4= xml moc_build qmake_build rcc_build uic_build
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
.endif
diff --git a/editors/calligra/Makefile b/editors/calligra/Makefile
index 4083bb85976d..e498ea0f0f6e 100644
--- a/editors/calligra/Makefile
+++ b/editors/calligra/Makefile
@@ -47,8 +47,7 @@ USE_QT4= dbus designer gui opengl phonon porting_build qt3support \
moc_build qmake_build rcc_build uic_build uic3_build
USE_SQLITE= 3
USE_BZIP2= yes
-USE_CMAKE= yes
-CMAKE_OUTSOURCE= yes
+USES= cmake:outsource
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH:STRING="${QT_INCDIR} ${LOCALBASE}/include" \
-DBUILD_active:BOOL=FALSE \
-DBUILD_mobile:BOOL=FALSE \
diff --git a/editors/kile-kde4/Makefile b/editors/kile-kde4/Makefile
index 10e53b4fb471..1690fc93da23 100644
--- a/editors/kile-kde4/Makefile
+++ b/editors/kile-kde4/Makefile
@@ -13,7 +13,7 @@ RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
identify:${PORTSDIR}/graphics/ImageMagick
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_QT4= qmake_build moc_build rcc_build uic_build
USE_KDE4= kdeprefix kdelibs automoc4 sharedmime kate_run
MAKE_JOBS_SAFE= yes
diff --git a/editors/klat4/Makefile b/editors/klat4/Makefile
index e3277b43de2a..2141777b6673 100644
--- a/editors/klat4/Makefile
+++ b/editors/klat4/Makefile
@@ -17,7 +17,7 @@ COMMENT= A LaTeX source editor for KDE4
RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/katepart.so:${PORTSDIR}/editors/kate
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdeprefix kdelibs automoc4
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
diff --git a/editors/yzis/Makefile b/editors/yzis/Makefile
index 5a00c9a9a057..c2426dc67b37 100644
--- a/editors/yzis/Makefile
+++ b/editors/yzis/Makefile
@@ -27,7 +27,7 @@ LUA_COMPS= lua
USE_QT4= qtestlib qmake_build rcc_build uic_build moc_build gui xml
USE_PERL5= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DLOCALBASE:STRING="${LOCALBASE}" \
-DLUA_INCDIR:STRING="${LUA_INCDIR}" \
-DLUA_LIBDIR:STRING="${LUA_LIBDIR}" \
diff --git a/emulators/aqemu/Makefile b/emulators/aqemu/Makefile
index 927c1702fc55..7ef7498e9485 100644
--- a/emulators/aqemu/Makefile
+++ b/emulators/aqemu/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= vncclient.0:${PORTSDIR}/net/libvncserver
USE_BZIP2= yes
USE_QT4= gui qtestlib xml qmake_build uic_build moc_build rcc_build \
linguist_build
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S,.0$,,}
diff --git a/emulators/dolphin-emu-devel/Makefile b/emulators/dolphin-emu-devel/Makefile
index 87fd3a7b0cd9..9348b31ca869 100644
--- a/emulators/dolphin-emu-devel/Makefile
+++ b/emulators/dolphin-emu-devel/Makefile
@@ -38,7 +38,7 @@ DOS2UNIX_REGEX= .*\.(h|c|cpp)
USE_GCC= 4.6+
.endif
-USE_CMAKE= yes
+USES= cmake
CMAKE_BUILD_TYPE= Release
# Disable ao (seems buggy) and ALSA (emulated)
CMAKE_ARGS+= -DDISABLE_AO:BOOL=ON \
diff --git a/emulators/hatari/Makefile b/emulators/hatari/Makefile
index 06029ab8c15b..ec391411bb8a 100644
--- a/emulators/hatari/Makefile
+++ b/emulators/hatari/Makefile
@@ -22,7 +22,7 @@ USE_BZIP2= yes
USE_GNOME= pygtk2
USE_SDL= sdl
USE_READLINE= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DPORTAUDIO_INCLUDE_DIR:STRING="${PA2_INCLUDE_DIR}" \
-DPORTAUDIO_LIBRARY:STRING="${PA2_LIBRARY}" \
-DCMAKE_C_FLAGS_RELEASE:STRING="-DNDEBUG" \
diff --git a/emulators/joytran/Makefile b/emulators/joytran/Makefile
index f7cac8b27a86..de9b46f11ea8 100644
--- a/emulators/joytran/Makefile
+++ b/emulators/joytran/Makefile
@@ -20,7 +20,7 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT
# This is needed to fetch from BerliOS
FETCH_ARGS= "-Fpr"
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" -DPREFIX="${PREFIX}"
.if !defined(NOPORTDOCS)
diff --git a/emulators/tpm-emulator/Makefile b/emulators/tpm-emulator/Makefile
index 3d4b68601b69..372369521e9a 100644
--- a/emulators/tpm-emulator/Makefile
+++ b/emulators/tpm-emulator/Makefile
@@ -19,8 +19,7 @@ CONFLICTS= trousers-tddl-[0-9d]*
USE_RC_SUBR= tpmd
-USE_CMAKE= yes
-CMAKE_OUTSOURCE=yes
+USES= cmake:outsource
CMAKE_ENV= PREFIX="${PREFIX}"
CMAKE_ARGS= -DTPM_INCLUDE_DIRS:STRING="${LOCALBASE}/include" \
-DTPM_LIBRARY_DIRS:STRING="${LOCALBASE}/lib"
diff --git a/emulators/visualboyadvance-m/Makefile b/emulators/visualboyadvance-m/Makefile
index 00fd26a4ec2f..051b43c1f09c 100644
--- a/emulators/visualboyadvance-m/Makefile
+++ b/emulators/visualboyadvance-m/Makefile
@@ -28,7 +28,7 @@ DOS2UNIX_REGEX= .*\.(c|cpp|h)
USE_XORG= x11 xext
USE_GL= gl glu
USE_SDL= sdl
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DVERSION:STRING="${PORTVERSION}" -DSYSCONFDIR:STRING="${PREFIX}/etc"
SVN_REV= 1001
diff --git a/finance/eqonomize-kde4/Makefile b/finance/eqonomize-kde4/Makefile
index d571d9a09a6e..b599a46c6ad0 100644
--- a/finance/eqonomize-kde4/Makefile
+++ b/finance/eqonomize-kde4/Makefile
@@ -13,7 +13,7 @@ COMMENT= A personal accounting software
USE_KDE4= kdelibs kdeprefix kdehier automoc4
USE_QT4= corelib dbus gui network svg xml qmake_build moc_build uic_build rcc_build
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
USE_ICONV= yes
INSTALLS_ICONS= yes
diff --git a/finance/kmymoney-kde4/Makefile b/finance/kmymoney-kde4/Makefile
index a3a90c7d54d8..6d0c2c7906b2 100644
--- a/finance/kmymoney-kde4/Makefile
+++ b/finance/kmymoney-kde4/Makefile
@@ -24,7 +24,7 @@ OFX_DESC= Enable OFX plugin
QUOTES_DESC= Enable online price quotes
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_PKGCONFIG= build
USE_QT4= gui dbus network phonon sql svg xml \
qmake_build moc_build rcc_build uic_build
diff --git a/finance/libalkimia/Makefile b/finance/libalkimia/Makefile
index 8bae1ffdd717..1648896f7938 100644
--- a/finance/libalkimia/Makefile
+++ b/finance/libalkimia/Makefile
@@ -20,7 +20,7 @@ LICENSE= LGPL21
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdeprefix kdelibs
USE_QT4= qmake_build moc_build rcc_build uic_build
diff --git a/finance/skrooge/Makefile b/finance/skrooge/Makefile
index 9deb1b516228..53cb66771e90 100644
--- a/finance/skrooge/Makefile
+++ b/finance/skrooge/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= ofx:${PORTSDIR}/finance/libofx \
kactivities:${PORTSDIR}/x11/kactivities
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_SQLITE= yes
USE_QT4= qmake_build moc_build uic_build rcc_build \
dbus gui script xml sql sql-sqlite3_run
diff --git a/ftp/plasma-applet-ftpmonitor/Makefile b/ftp/plasma-applet-ftpmonitor/Makefile
index 1bc85bf19031..bb329981593a 100644
--- a/ftp/plasma-applet-ftpmonitor/Makefile
+++ b/ftp/plasma-applet-ftpmonitor/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= makc@FreeBSD.org
COMMENT= KDE4 Plasma applet, which monitors connections to ftp daemons
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdelibs kdeprefix automoc4
USE_QT4= qmake_build moc_build uic_build rcc_build
MAKE_JOS_SAFE= yes
diff --git a/games/arx-libertatis/Makefile b/games/arx-libertatis/Makefile
index 550bdab1d09b..e805603040a9 100644
--- a/games/arx-libertatis/Makefile
+++ b/games/arx-libertatis/Makefile
@@ -22,7 +22,7 @@ USE_XZ= yes
USE_OPENAL= yes
USE_SDL= sdl
USE_GL= gl glu
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR="man" -DDATA_DIR=arx
MAKE_JOBS_SAFE= yes
diff --git a/games/asteroid/Makefile b/games/asteroid/Makefile
index cccd6ab558d7..ed89840a8710 100644
--- a/games/asteroid/Makefile
+++ b/games/asteroid/Makefile
@@ -21,8 +21,7 @@ USE_SDL= mixer sdl
USE_GNOME= gtk20
USE_XORG= xmu
INSTALLS_ICONS= yes
-USE_CMAKE= yes
-CMAKE_VERBOSE= yes
+USES= cmake
PORTDOCS= AUTHORS NEWS README.md
diff --git a/games/blinkensisters/Makefile b/games/blinkensisters/Makefile
index bf85c339960e..409a766db315 100644
--- a/games/blinkensisters/Makefile
+++ b/games/blinkensisters/Makefile
@@ -16,7 +16,7 @@ COMMENT= Parallax-style 2D scrolling platform game
USE_SDL= sdl image ttf
USE_PERL5_BUILD= yes
-USE_CMAKE= yes
+USES= cmake
CFLAGS+= -I${LOCALBASE}/include
CXXFLAGS+= -I${LOCALBASE}/include
diff --git a/games/blobby/Makefile b/games/blobby/Makefile
index 36a7279c85b2..dcecc29e170f 100644
--- a/games/blobby/Makefile
+++ b/games/blobby/Makefile
@@ -24,7 +24,7 @@ BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \
USE_XORG= ice x11 xext xxf86vm xdamage xfixes xau xdmcp xrandr xrender
USE_SDL= sdl
USE_GL= glu
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DDATADIR:PATH="${DATADIR}"
WRKSRC= ${WRKDIR}/blobby-1.0rc1
diff --git a/games/corsix-th/Makefile b/games/corsix-th/Makefile
index 713161ad8240..58e8dd64def7 100644
--- a/games/corsix-th/Makefile
+++ b/games/corsix-th/Makefile
@@ -16,7 +16,7 @@ LICENSE= MIT
LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2
-USE_CMAKE= yes
+USES= cmake
USE_LUA= yes
USE_SDL= mixer
diff --git a/games/flare/Makefile b/games/flare/Makefile
index f22c7dbd1549..26896e0e94f6 100644
--- a/games/flare/Makefile
+++ b/games/flare/Makefile
@@ -17,7 +17,7 @@ COMMENT= Free Libre Action Roleplaying Engine
LICENSE= GPLv3
-USE_CMAKE= yes
+USES= cmake
USE_SDL= sdl mixer image ttf
MAKE_JOBS_SAFE= yes
CMAKE_BUILD_TYPE= #empty
diff --git a/games/flightgear/Makefile b/games/flightgear/Makefile
index 4afd3d6e5b9a..3db2b92878c5 100644
--- a/games/flightgear/Makefile
+++ b/games/flightgear/Makefile
@@ -30,7 +30,7 @@ USE_BZIP2= yes
USE_XORG= ice sm x11 xext xft xi xinerama xt xmu
USE_GL= gl glu glut
USE_OPENAL= al alut
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DJPEG_FACTORY:BOOL=ON \
-DFG_DATA_DIR:PATH=${LOCALBASE}/share/${PORTNAME} \
-DCMAKE_INSTALL_MANDIR:PATH=${MANPREFIX}/man
diff --git a/games/freecell-solver/Makefile b/games/freecell-solver/Makefile
index 29fdf71250a6..3bf50ddcd8ef 100644
--- a/games/freecell-solver/Makefile
+++ b/games/freecell-solver/Makefile
@@ -17,7 +17,7 @@ TCMALLOC_DESC= Use Google's TCMalloc
USE_BZIP2= yes
USE_PERL5_BUILD=yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/games/gemrb/Makefile b/games/gemrb/Makefile
index a8d998d1eec5..785973467499 100644
--- a/games/gemrb/Makefile
+++ b/games/gemrb/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
vorbis:${PORTSDIR}/audio/libvorbis
-USE_CMAKE= yes
+USES= cmake
USE_SDL= sdl mixer ttf
USE_OPENAL= al alut
USE_LDCONFIG= yes
diff --git a/games/golly/Makefile b/games/golly/Makefile
index 1ca6c3b4eae4..2060416b3fb2 100644
--- a/games/golly/Makefile
+++ b/games/golly/Makefile
@@ -10,11 +10,10 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= makc@FreeBSD.org
COMMENT= Conway's Game of Life and other cellular automata
-USE_CMAKE= yes
+USES= cmake:outsource
USE_PERL5= yes
USE_PYTHON= 2.7+
USE_WX= 2.8+
-CMAKE_OUTSOURCE= yes
MAKE_JOBS_SAFE= yes
DESKTOP_ENTRIES= "Golly" "${COMMENT}" "${PREFIX}/share/pixmaps/golly.xpm" \
diff --git a/games/hedgewars/Makefile b/games/hedgewars/Makefile
index da0bf2dbd53e..95238bc1a831 100644
--- a/games/hedgewars/Makefile
+++ b/games/hedgewars/Makefile
@@ -20,7 +20,7 @@ ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= depends on fpc which is only available for i386 and amd64
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_SDL= sdl mixer image ttf net
USE_FPC= opengl
USE_LUA= 5.1+
diff --git a/games/intensityengine/Makefile b/games/intensityengine/Makefile
index e06f7cef4ea0..d9725bb912f7 100644
--- a/games/intensityengine/Makefile
+++ b/games/intensityengine/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo
USE_BZIP2= yes
USE_SDL= sdl mixer image
USE_GL= gl glu
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
SUB_FILES= intensity_client
USE_GCC= 4.2+
diff --git a/games/jvgs/Makefile b/games/jvgs/Makefile
index ab46429feccb..399ec4e51010 100644
--- a/games/jvgs/Makefile
+++ b/games/jvgs/Makefile
@@ -14,7 +14,7 @@ COMMENT= A minimalistic platform game
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
-USE_CMAKE= yes
+USES= cmake
USE_SDL= sdl mixer
USE_GL= gl glu
USE_LUA= 5.1+
diff --git a/games/kmancala/Makefile b/games/kmancala/Makefile
index c2f39ce4d539..e4fd6dfd0cfb 100644
--- a/games/kmancala/Makefile
+++ b/games/kmancala/Makefile
@@ -14,7 +14,7 @@ COMMENT= Board game for KDE, also known as Mancala or Kalah
LIB_DEPENDS= kdegames:${PORTSDIR}/games/kdegames4
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdelibs kdeprefix automoc4
USE_QT4= moc_build qmake_build rcc_build uic_build
diff --git a/games/knights-kde4/Makefile b/games/knights-kde4/Makefile
index 6bccdc8231db..63d05b64c80d 100644
--- a/games/knights-kde4/Makefile
+++ b/games/knights-kde4/Makefile
@@ -15,7 +15,7 @@ RUN_DEPENDS= ${LOCALBASE}/bin/gnuchess:${PORTSDIR}/games/gnuchess
LATEST_LINK= ${PORTNAME}-kde4
MAKE_JOBS_SAFE= yes
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdelibs kdehier kdeprefix automoc4 workspace
USE_QT4= qmake_build moc_build rcc_build uic_build
diff --git a/games/ksudoku/Makefile b/games/ksudoku/Makefile
index c9b15f66b314..b0b508b81748 100644
--- a/games/ksudoku/Makefile
+++ b/games/ksudoku/Makefile
@@ -20,6 +20,6 @@ EXPIRATION_DATE= 2013-07-01
USE_KDELIBS_VER=3
USE_GMAKE= yes
USE_GL= yes
-USE_CMAKE= yes
+USES= cmake
.include <bsd.port.mk>
diff --git a/games/meandmyshadow/Makefile b/games/meandmyshadow/Makefile
index 76591c3f7d6c..91fa46d61cb0 100644
--- a/games/meandmyshadow/Makefile
+++ b/games/meandmyshadow/Makefile
@@ -17,7 +17,7 @@ COMMENT= Me and My Shadow puzzle/platform game
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
-USE_CMAKE= yes
+USES= cmake
USE_SDL= sdl ttf image mixer image gfx
MAKE_JOBS_SAFE= yes
diff --git a/games/megaglest/Makefile b/games/megaglest/Makefile
index 8de4185d10a6..85d1350fe696 100644
--- a/games/megaglest/Makefile
+++ b/games/megaglest/Makefile
@@ -23,7 +23,7 @@ RUN_DEPENDS= ${DATADIR}/tutorials/2_basic_tutorial/2_basic_tutorial.xml:${PORTSD
SUB_FILES= pkg-message
USE_XZ= yes
-USE_CMAKE= yes
+USES= cmake
USE_DOS2UNIX= yes
USE_GL= glew gl glu
USE_LUA= 5.1
diff --git a/games/memonix/Makefile b/games/memonix/Makefile
index c160295b6be4..f9e4313c354d 100644
--- a/games/memonix/Makefile
+++ b/games/memonix/Makefile
@@ -27,7 +27,7 @@ LICENSE_DISTFILE_unknown= memx16.tar.gz
LICENSE_DISTFILE_GPLv2= ${DISTNAME}${EXTRACT_SUFX}
LICENSE_FILE_GPLv2= ${WRKSRC}/License.txt
-USE_CMAKE= yes
+USES= cmake
USE_ZIP= yes
USE_SDL= sdl mixer image
USE_GL= yes
diff --git a/games/minetest/Makefile b/games/minetest/Makefile
index 96164a7d0805..ad3fb3cec1d8 100644
--- a/games/minetest/Makefile
+++ b/games/minetest/Makefile
@@ -18,7 +18,7 @@ GH_ACCOUNT= celeron55
GH_TAGNAME= 0.4.4
GH_COMMIT= ab06fca
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DCUSTOM_MANDIR="${PREFIX}/man" \
-DCUSTOM_EXAMPLE_CONF_DIR="${EXAMPLESDIR}"
MAKE_JOBS_SAFE= yes
diff --git a/games/odamex/Makefile b/games/odamex/Makefile
index 06a709142432..f22c43c568bc 100644
--- a/games/odamex/Makefile
+++ b/games/odamex/Makefile
@@ -12,7 +12,7 @@ COMMENT= The Standard in Online Multiplayer Doom
USE_BZIP2= yes
USE_SDL= sdl mixer
-USE_CMAKE= yes
+USES= cmake
USE_DOS2UNIX= CMakeLists.txt odalaunch/CMakeLists.txt common/d_main.cpp
OPTIONS_DEFINE= LAUNCHER
diff --git a/games/openastromenace/Makefile b/games/openastromenace/Makefile
index 6f13f543d74c..1af806263ccc 100644
--- a/games/openastromenace/Makefile
+++ b/games/openastromenace/Makefile
@@ -27,7 +27,7 @@ USE_GL= gl glu
USE_OPENAL= al alut
WANT_SDL= yes
USE_SDL= sdl
-USE_CMAKE= yes
+USES= cmake
WRKSRC= ${WRKDIR}/OpenAstroMenaceSVN
USE_DOS2UNIX= yes
diff --git a/games/openlierox/Makefile b/games/openlierox/Makefile
index 414cdc72365e..8844516fb5c4 100644
--- a/games/openlierox/Makefile
+++ b/games/openlierox/Makefile
@@ -26,7 +26,7 @@ CFLAGS+= -I${LOCALBASE}/include
CXXFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DHAWKNL_BUILTIN=YES \
-DLIBZIP_BUILTIN=YES \
-DBREAKPAD=NO \
diff --git a/games/opensonic/Makefile b/games/opensonic/Makefile
index 2bd7daf18436..b2228f60bab5 100644
--- a/games/opensonic/Makefile
+++ b/games/opensonic/Makefile
@@ -22,7 +22,7 @@ DESKTOP_ENTRIES="${PORTNAME}" \
"Game;KidsGame;" \
"false"
-USE_CMAKE= yes
+USES= cmake
CMAKE_ENV+= OPENSNC_ALLEGRO_LIBS="`allegro-config --libs`" OPENSNC_ALLEGRO_VERSION="`allegro-config --version`"
CFLAGS+= -I${LOCALBASE}/include
diff --git a/games/palomino/Makefile b/games/palomino/Makefile
index 3f32c741fe7a..7a312ae52385 100644
--- a/games/palomino/Makefile
+++ b/games/palomino/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= osg:${PORTSDIR}/graphics/osg
USE_BZIP2= yes
USE_XZ= yes
USE_GL= gl
-USE_CMAKE= yes
+USES= cmake
USE_LUA= 5.1
LUA_COMPS= lua:build
MAKE_JOBS_SAFE= yes
diff --git a/games/plee-the-bear/Makefile b/games/plee-the-bear/Makefile
index 15514d1aa23f..2efaf95f1b3b 100644
--- a/games/plee-the-bear/Makefile
+++ b/games/plee-the-bear/Makefile
@@ -22,7 +22,7 @@ USE_GETTEXT= yes
MAKE_JOBS_SAFE= yes
USE_GCC= 4.6+
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -Dlibclaw_DIR="${LOCALBASE}/share/libclaw/cmake" \
-DBEAR_NO_EDITOR=YES
diff --git a/games/spring/Makefile b/games/spring/Makefile
index 11d3abea4824..6d3272303891 100644
--- a/games/spring/Makefile
+++ b/games/spring/Makefile
@@ -31,7 +31,7 @@ USE_XORG= x11 xcursor
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DDATADIR:STRING="share/${PORTNAME}" \
-DMARCH_FLAG:STRING= \
-DAI_TYPES:STRING="NATIVE" \
diff --git a/games/springlobby/Makefile b/games/springlobby/Makefile
index cd073da8826b..ef83efd7f68f 100644
--- a/games/springlobby/Makefile
+++ b/games/springlobby/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= spring:${PORTSDIR}/games/spring
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" \
-DENABLE_DEBUG_REPORT=FALSE
USE_WX= 2.8+
diff --git a/games/stratagus/Makefile b/games/stratagus/Makefile
index 69ed6d91fa0b..1db79643d36f 100644
--- a/games/stratagus/Makefile
+++ b/games/stratagus/Makefile
@@ -22,8 +22,7 @@ USE_SDL= sdl
USE_SQLITE= 3
USE_LUA= 5.0+
LUA_COMPS= toluaxx
-USE_CMAKE= yes
-CMAKE_OUTSOURCE= yes
+USES= cmake:outsource
CMAKE_ARGS= -DGAMEDIR:STRING="bin" \
-DTOLUA++_APP:STRING="${TOLUAXX_CMD}" \
-DTOLUA++_INCLUDE_DIR:STRING="${LUA_INCDIR}" \
diff --git a/games/sumwars/Makefile b/games/sumwars/Makefile
index 0355d2cdda02..3dfcde165acf 100644
--- a/games/sumwars/Makefile
+++ b/games/sumwars/Makefile
@@ -27,7 +27,7 @@ LIB_DEPENDS= CEGUIBase-0.7.9.0:${PORTSDIR}/graphics/cegui \
physfs.1:${PORTSDIR}/devel/physfs
USE_GMAKE= yes
-USE_CMAKE= yes
+USES= cmake
USE_GL= gl glu
USE_GETTEXT= yes
USE_BZIP2= yes
@@ -38,7 +38,6 @@ MAKE_JOBS_SAFE= yes
FETCH_ARGS?= -pRr
-CMAKE_VERBOSE= yes
CMAKE_ARGS+= -DGETTEXT_SEARCH_PATH=${LOCALBASE}/lib
post-patch:
diff --git a/games/supertux-devel/Makefile b/games/supertux-devel/Makefile
index 1c2584701e3a..20ea6cf57ff6 100644
--- a/games/supertux-devel/Makefile
+++ b/games/supertux-devel/Makefile
@@ -18,7 +18,7 @@ USE_BZIP2= yes
USE_SDL= image mixer
USE_OPENAL= al
USE_GL= glew
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
post-patch:
diff --git a/games/supertuxkart/Makefile b/games/supertuxkart/Makefile
index b96ebea7ed85..9d0b3aef4196 100644
--- a/games/supertuxkart/Makefile
+++ b/games/supertuxkart/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= vorbisfile:${PORTSDIR}/audio/libvorbis \
USE_BZIP2= yes
USE_GL= gl glu glut
USE_OPENAL= al alut
-USE_CMAKE= yes
+USES= cmake
USE_GMAKE= yes
USE_SDL= sdl
USE_GETTEXT= yes
diff --git a/games/tmw/Makefile b/games/tmw/Makefile
index 28d257d5d0ba..bc7364d5fb12 100644
--- a/games/tmw/Makefile
+++ b/games/tmw/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
BUILD_DEPENDS= guichan>=0.8.1:${PORTSDIR}/devel/guichan
RUN_DEPENDS= guichan>=0.8.1:${PORTSDIR}/devel/guichan
-USE_CMAKE= yes
+USES= cmake
USE_SDL= sdl gfx image mixer net ttf
USE_BZIP2= yes
USE_GETTEXT= yes
diff --git a/games/valyriatear/Makefile b/games/valyriatear/Makefile
index 436e3af9d661..5e2f1d9cca42 100644
--- a/games/valyriatear/Makefile
+++ b/games/valyriatear/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs \
png15:${PORTSDIR}/graphics/png \
jpeg:${PORTSDIR}/graphics/jpeg
-USE_CMAKE= yes
+USES= cmake
USE_SDL= sdl image ttf
USE_GL= gl
USE_OPENAL= yes
diff --git a/games/vavoom/Makefile b/games/vavoom/Makefile
index d6217f0f3851..6bb578f9d77b 100644
--- a/games/vavoom/Makefile
+++ b/games/vavoom/Makefile
@@ -14,7 +14,7 @@ LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
OPTIONS_SINGLE= HWAPI
OPTIONS_SINGLE_HWAPI= ALLEGRO SDL
diff --git a/games/violetland/Makefile b/games/violetland/Makefile
index a9941a07a4e6..be06985ef924 100644
--- a/games/violetland/Makefile
+++ b/games/violetland/Makefile
@@ -18,7 +18,7 @@ USE_ZIP= yes
USE_SDL= sdl mixer image ttf
USE_GL= gl glu
MAKE_JOBS_SAFE= yes
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
USE_DOS2UNIX= yes
CMAKE_ARGS= -DDATA_INSTALL_DIR="${DATADIR}"
diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile
index cc0aa487b0ac..991f4d2bcff1 100644
--- a/games/wesnoth/Makefile
+++ b/games/wesnoth/Makefile
@@ -22,7 +22,7 @@ USE_SDL= image mixer net ttf
USE_GNOME= pango desktopfileutils
MAKE_JOBS_SAFE= yes
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DMANDIR="man"
MAN6= wesnoth.6
diff --git a/games/widelands/Makefile b/games/widelands/Makefile
index 6f678ff9eb4e..31128f4ebe9c 100644
--- a/games/widelands/Makefile
+++ b/games/widelands/Makefile
@@ -18,9 +18,8 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake:outsource
USE_GETTEXT= yes
-CMAKE_OUTSOURCE=yes
CMAKE_ARGS= -DWL_INSTALL_PREFIX="${PREFIX}" \
-DWL_INSTALL_DATADIR="share/widelands" \
-DWL_INSTALL_BINDIR="bin" \
diff --git a/graphics/apvlv/Makefile b/graphics/apvlv/Makefile
index 3d56a1a26d8f..078a83cc3a64 100644
--- a/graphics/apvlv/Makefile
+++ b/graphics/apvlv/Makefile
@@ -19,7 +19,7 @@ LICENSE= GPLv2
LIB_DEPENDS= poppler-glib.8:${PORTSDIR}/graphics/poppler-glib
USE_GNOME= gtk20
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
CMAKE_ARGS+= -DSYSCONFDIR=${PREFIX}/etc \
-DMANDIR=${MANPREFIX}/man \
diff --git a/graphics/aqsis/Makefile b/graphics/aqsis/Makefile
index 6d77aeb18df6..6305b1c3ccd8 100644
--- a/graphics/aqsis/Makefile
+++ b/graphics/aqsis/Makefile
@@ -23,9 +23,7 @@ LIB_DEPENDS= IlmImf:${PORTSDIR}/graphics/OpenEXR \
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
-USE_CMAKE= yes
-CMAKE_OUTSOURCE= yes
-CMAKE_VERBOSE= yes
+USES= cmake:outsource
USE_QT4= opengl qmake_build moc_build rcc_build uic_build
PLIST_SUB+= LIBVERS=${PORTVERSION:R}
diff --git a/graphics/autopano-sift-c/Makefile b/graphics/autopano-sift-c/Makefile
index 28b6ed36bb28..711e9dbdef93 100644
--- a/graphics/autopano-sift-c/Makefile
+++ b/graphics/autopano-sift-c/Makefile
@@ -24,7 +24,7 @@ LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
CONFLICTS= autopano-sift-[0-9]*
USE_GNOME= libxml2
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
PLIST_FILES= bin/autopano bin/autopano-c-complete.sh \
diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile
index 750d9a0f4281..1642e230a2b4 100644
--- a/graphics/blender/Makefile
+++ b/graphics/blender/Makefile
@@ -17,13 +17,12 @@ LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
USE_XORG= x11 xext xmu
USE_GL= glew
-USE_CMAKE= yes
+USES= cmake:outsource
USE_PYTHON= 3.3
WANT_GNOME= yes
MAKE_JOBS_SAFE= yes
-CMAKE_OUTSOURCE= yes
CMAKE_ARGS+= -DWITH_PYTHON_INSTALL:BOOL=OFF \
-DWITH_PYTHON_INSTALL_NUMPY:BOOL=OFF
diff --git a/graphics/converseen/Makefile b/graphics/converseen/Makefile
index 41424aac84d0..014ce878ac22 100644
--- a/graphics/converseen/Makefile
+++ b/graphics/converseen/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
USE_BZIP2= yes
USE_AUTOTOOLS= libltdl
-USE_CMAKE= yes
+USES= cmake
USE_ICONV= yes
USE_GETTEXT= yes
USE_XORG= ice sm x11 xau xdmcp xext xrender xt
diff --git a/graphics/cuneiform/Makefile b/graphics/cuneiform/Makefile
index 25ff7910b3e8..ee561c718f9b 100644
--- a/graphics/cuneiform/Makefile
+++ b/graphics/cuneiform/Makefile
@@ -18,9 +18,8 @@ COMMENT= OCR system developed and open sourced by Cognitive technologies
ONLY_FOR_ARCHS= i386 amd64
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake:outsource
USE_LDCONFIG= yes
-CMAKE_OUTSOURCE= yes
CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS+= -I${LOCALBASE}/include
diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile
index d44a509f60f7..43ba1d36790c 100644
--- a/graphics/darktable/Makefile
+++ b/graphics/darktable/Makefile
@@ -23,8 +23,7 @@ ONLY_FOR_ARCHS_REASON= uses SSE extensions
MAKE_JOBS_SAFE= yes
-USE_CMAKE= yes
-CMAKE_OUTSOURCE= yes
+USES= cmake:outsource
USE_GNOME= librsvg2
USE_SQLITE= yes
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
diff --git a/graphics/digikam-kde4/Makefile.common b/graphics/digikam-kde4/Makefile.common
index bf7d6508d91f..d580dea6621d 100644
--- a/graphics/digikam-kde4/Makefile.common
+++ b/graphics/digikam-kde4/Makefile.common
@@ -15,7 +15,7 @@ DISTNAME= digikam-${DIGIKAM_VER}
LICENSE?= GPLv2
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4+= automoc4 kdehier kdeprefix kdelibs
USE_QT4+= qmake_build moc_build rcc_build uic_build
USE_LDCONFIG= yes
diff --git a/graphics/eos-movrec/Makefile b/graphics/eos-movrec/Makefile
index 0cc0a936eedc..9818882b1fa5 100644
--- a/graphics/eos-movrec/Makefile
+++ b/graphics/eos-movrec/Makefile
@@ -20,7 +20,7 @@ LICENSE= GPLv2
LIB_DEPENDS= gphoto2:${PORTSDIR}/graphics/libgphoto2
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_QT4= qmake_build moc_build rcc_build uic_build gui
PLIST_FILES= bin/eos_movrec \
diff --git a/graphics/glosm/Makefile b/graphics/glosm/Makefile
index 2381b5cccb31..f9b442459f0f 100644
--- a/graphics/glosm/Makefile
+++ b/graphics/glosm/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
expat.6:${PORTSDIR}/textproc/expat2
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_GL= gl
USE_SDL= sdl
MAKE_JOBS_SAFE= yes
diff --git a/graphics/graphite2/Makefile b/graphics/graphite2/Makefile
index a4d679335539..41b98ef4ed5b 100644
--- a/graphics/graphite2/Makefile
+++ b/graphics/graphite2/Makefile
@@ -9,7 +9,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= office@FreeBSD.org
COMMENT= Rendering capabilities for complex non-Roman writing systems
-USE_CMAKE= yes
+USES= cmake
USE_ICONV= yes
USE_LDCONFIG= yes
LDFLAGS+= -L${LOCALBASE}/lib -liconv
diff --git a/graphics/hugin-devel/Makefile b/graphics/hugin-devel/Makefile
index a7b331d32476..1a8456882163 100644
--- a/graphics/hugin-devel/Makefile
+++ b/graphics/hugin-devel/Makefile
@@ -36,10 +36,9 @@ USE_BZIP2= yes
OPTIONS= PANOMATIC "Install graphics/panomatic" on \
AUTOPANOSIFTC "Install graphics/autopano-sift-c" on
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG}
-CMAKE_VERBOSE= yes
USE_WX= 2.8+
WX_UNICODE= yes
diff --git a/graphics/hugin/Makefile b/graphics/hugin/Makefile
index 42ea0c9e90cc..2325e9c58d76 100644
--- a/graphics/hugin/Makefile
+++ b/graphics/hugin/Makefile
@@ -31,10 +31,9 @@ USE_BZIP2= yes
OPTIONS= PANOMATIC "Install graphics/panomatic" on \
AUTOPANOSIFTC "Install graphics/autopano-sift-c" on
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG}
-CMAKE_VERBOSE= yes
USE_WX= 2.8+
WX_UNICODE= yes
diff --git a/graphics/k3d/Makefile b/graphics/k3d/Makefile
index 27cb28848287..da9626faf21b 100644
--- a/graphics/k3d/Makefile
+++ b/graphics/k3d/Makefile
@@ -40,8 +40,7 @@ USE_DOS2UNIX= *.hpp
USE_GCC= 4.6+
USE_PYTHON= yes
USE_GETTEXT= yes
-USE_CMAKE= yes
-CMAKE_OUTSOURCE=yes
+USES= cmake:outsource
CMAKE_ARGS= -DK3D_INTL_INCLUDE_DIRS:STRING="-I${LOCALBASE}/include" \
-DK3D_INTL_LIBS:STRING="-L${LOCALBASE}/lib -lintl" \
-DK3D_BUILD_CARVE_MODULE:BOOL=OFF \
diff --git a/graphics/kcoloredit/Makefile b/graphics/kcoloredit/Makefile
index 080018aaa3fc..b43c0041244a 100644
--- a/graphics/kcoloredit/Makefile
+++ b/graphics/kcoloredit/Makefile
@@ -20,7 +20,7 @@ COMMENT= Palette files editor for KDE
USE_BZIP2= yes
USE_KDE4= kdelibs kdeprefix kdehier automoc4
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
APP_VER= 2.0.0
diff --git a/graphics/kgraphviewer/Makefile b/graphics/kgraphviewer/Makefile
index c72756acc1e9..e6fce3f46026 100644
--- a/graphics/kgraphviewer/Makefile
+++ b/graphics/kgraphviewer/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= gvc:${PORTSDIR}/graphics/graphviz
USE_BZIP2= yes
USE_KDE4= kdelibs pimlibs kdeprefix kdehier automoc4
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
APP_VER= 2.0.2
diff --git a/graphics/kiconedit/Makefile b/graphics/kiconedit/Makefile
index 60ee0dedf9a7..c08b61b5e4c7 100644
--- a/graphics/kiconedit/Makefile
+++ b/graphics/kiconedit/Makefile
@@ -19,7 +19,7 @@ COMMENT= A KDE icon editor
USE_BZIP2= yes
USE_KDE4= kdelibs kdeprefix kdehier automoc4
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
EXTRA_VER= 4.4.0
diff --git a/graphics/kphotoalbum-kde4/Makefile b/graphics/kphotoalbum-kde4/Makefile
index 76d686b62e90..29d2dbae92d1 100644
--- a/graphics/kphotoalbum-kde4/Makefile
+++ b/graphics/kphotoalbum-kde4/Makefile
@@ -18,7 +18,7 @@ USE_KDE4= kdehier kdelibs kdeprefix libkdcraw libkipi automoc4
USE_QT4= corelib qt3support \
qmake_build moc_build rcc_build uic_build
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
LATEST_LINK= ${PORTNAME}-kde4
diff --git a/graphics/kpovmodeler/Makefile b/graphics/kpovmodeler/Makefile
index 446cfdf250ff..f1d95a01c056 100644
--- a/graphics/kpovmodeler/Makefile
+++ b/graphics/kpovmodeler/Makefile
@@ -18,7 +18,7 @@ USE_BZIP2= yes
USE_GL= glu
USE_KDE4= kdelibs kdeprefix kdehier automoc4
USE_QT4= corelib opengl qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
MAKE_JOBS_SAFE= yes
diff --git a/graphics/kuickshow-kde4/Makefile b/graphics/kuickshow-kde4/Makefile
index b9364849548b..d001c1cba572 100644
--- a/graphics/kuickshow-kde4/Makefile
+++ b/graphics/kuickshow-kde4/Makefile
@@ -21,7 +21,7 @@ USE_BZIP2= yes
USE_GNOME= imlib
USE_KDE4= kdelibs kdeprefix kdehier automoc4
USE_QT4= corelib opengl qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
MAKE_JOBS_SAFE= yes
diff --git a/graphics/libprojectm/Makefile b/graphics/libprojectm/Makefile
index e8732ec82cf1..0ee21c4225cb 100644
--- a/graphics/libprojectm/Makefile
+++ b/graphics/libprojectm/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= ftgl:${PORTSDIR}/graphics/ftgl \
GLEW:${PORTSDIR}/graphics/glew \
freetype:${PORTSDIR}/print/freetype2
-USE_CMAKE= yes
+USES= cmake
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
USE_LDCONFIG= yes
diff --git a/graphics/lprof-devel/Makefile b/graphics/lprof-devel/Makefile
index c874e7ee07e1..20d6b7ee1fb3 100644
--- a/graphics/lprof-devel/Makefile
+++ b/graphics/lprof-devel/Makefile
@@ -24,7 +24,7 @@ LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms \
USE_BZIP2= yes
USE_XORG= x11 xext sm ice xxf86vm
USE_QT4= corelib gui qt3support assistantclient linguist_build qmake_build moc_build uic_build rcc_build
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
CMAKE_ARGS= -DQTTRANS_LRELEASE_EXECUTABLE="${LOCALBASE}/bin/lrelease-qt4"
diff --git a/graphics/luminance/Makefile b/graphics/luminance/Makefile
index e8f4b3f139ec..91b282ecdb2b 100644
--- a/graphics/luminance/Makefile
+++ b/graphics/luminance/Makefile
@@ -26,7 +26,7 @@ LIB_DEPENDS= fftw3f:${PORTSDIR}/math/fftw3-float \
raw_r:${PORTSDIR}/graphics/libraw
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_QT4= gui sql webkit xml linguist_build moc_build qmake_build \
rcc_build uic_build imageformats_run
INSTALLS_ICONS= yes
diff --git a/graphics/luxrender/Makefile b/graphics/luxrender/Makefile
index 57d44cee6f7d..832d6165fec1 100644
--- a/graphics/luxrender/Makefile
+++ b/graphics/luxrender/Makefile
@@ -26,9 +26,7 @@ LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs \
HG_NODEID= 9206b3ba7011
USE_BZIP2= yes
-USES= bison
-USE_CMAKE= yes
-CMAKE_VERBOSE= yes
+USES= bison cmake
WRKSRC= ${WRKDIR}/lux-${HG_NODEID}
MAKE_JOBS_SAFE= yes
diff --git a/graphics/nomacs/Makefile b/graphics/nomacs/Makefile
index f54531eaaaf2..29c037460168 100644
--- a/graphics/nomacs/Makefile
+++ b/graphics/nomacs/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= exiv2:${PORTSDIR}/graphics/exiv2 \
sysinfo:${PORTSDIR}/devel/libsysinfo
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_QT4= gui network linguist_build moc_build \
qmake_build rcc_build uic_build
LDFLAGS+= -lsysinfo -lkvm
diff --git a/graphics/nvidia-texture-tools/Makefile b/graphics/nvidia-texture-tools/Makefile
index 7f75d962be48..656cf7a36159 100644
--- a/graphics/nvidia-texture-tools/Makefile
+++ b/graphics/nvidia-texture-tools/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
IlmImf:${PORTSDIR}/graphics/OpenEXR
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DNVTT_SHARED=TRUE
MAKE_JOBS_SAFE= yes
diff --git a/graphics/ogre3d/Makefile b/graphics/ogre3d/Makefile
index 4a5bfc423940..b527f17f17b2 100644
--- a/graphics/ogre3d/Makefile
+++ b/graphics/ogre3d/Makefile
@@ -18,7 +18,7 @@ OPTIONS_DEFINE= BOOST
USE_LDCONFIG= YES
USE_BZIP2= YES
-USE_CMAKE= YES
+USES= cmake
USE_SDL= sdl
USE_XORG= xaw
MAKE_JOBS_SAFE= yes
diff --git a/graphics/opencolorio/Makefile b/graphics/opencolorio/Makefile
index 736b97070d76..9d81febb5519 100644
--- a/graphics/opencolorio/Makefile
+++ b/graphics/opencolorio/Makefile
@@ -22,9 +22,7 @@ USE_PYTHON= 2.6+
USE_LDCONFIG= yes
.endif
-USE_CMAKE= yes
-CMAKE_VERBOSE= yes
-CMAKE_OUTSOURCE= yes
+USES= cmake:outsource
CMAKE_ARGS?= -DOCIO_BUILD_APPS:BOOL=OFF \
-DOCIO_BUILD_JNIGLUE:BOOL=OFF \
-DOCIO_BUILD_NUKE:BOOL=OFF \
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile
index 3e3b06ec63af..3301843b071a 100644
--- a/graphics/opencv/Makefile
+++ b/graphics/opencv/Makefile
@@ -18,7 +18,7 @@ USE_GNOME= pkgconfig
WANT_GSTREAMER= yes
MAKE_JOBS_UNSAFE= yes
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/OpenCV-${DISTVERSION}
diff --git a/graphics/opengtl/Makefile b/graphics/opengtl/Makefile
index 749d8e78920b..baa585063785 100644
--- a/graphics/opengtl/Makefile
+++ b/graphics/opengtl/Makefile
@@ -17,7 +17,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_PERL5= yes
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
diff --git a/graphics/openimageio/Makefile b/graphics/openimageio/Makefile
index b6c5cf598107..da476a77435d 100644
--- a/graphics/openimageio/Makefile
+++ b/graphics/openimageio/Makefile
@@ -28,9 +28,7 @@ WRKSRC= ${WRKDIR}/OpenImageIO-oiio-${GH_COMMIT}/src
# fbm also installs bin/idiff
CONFLICTS= fbm-[0-9]*
-USE_CMAKE= yes
-CMAKE_VERBOSE= yes
-CMAKE_OUTSOURCE= yes
+USES= cmake:outsource
CMAKE_ARGS?= -DBUILDSTATIC:BOOL=OFF \
-DLINKSTATIC:BOOL=OFF \
-DNOTHREADS:BOOL=OFF \
diff --git a/graphics/openjpeg/Makefile b/graphics/openjpeg/Makefile
index 977d29da7a10..aaa4f97a694f 100644
--- a/graphics/openjpeg/Makefile
+++ b/graphics/openjpeg/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff \
lcms2:${PORTSDIR}/graphics/lcms2
GNU_CONFIGURE= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
MAN1= image_to_j2k.1 j2k_dump.1 j2k_to_image.1
diff --git a/graphics/openshadinglanguage/Makefile b/graphics/openshadinglanguage/Makefile
index e3a36ac3e3be..884a4ac4d07f 100644
--- a/graphics/openshadinglanguage/Makefile
+++ b/graphics/openshadinglanguage/Makefile
@@ -26,14 +26,11 @@ GH_COMMIT= d722707
WRKSRC= ${WRKDIR}/imageworks-OpenShadingLanguage-${GH_COMMIT}/src
-USE_CMAKE= yes
-CMAKE_VERBOSE= yes
-CMAKE_OUTSOURCE= yes
CMAKE_ARGS= -DFLEX_EXECUTABLE:STRING=${LOCALBASE}/bin/flex \
-DUSE_TBB:BOOL=OFF
CXXFLAGS+= -I${LOCALBASE}/include/flex
USE_LDCONFIG= yes
-USES= bison
+USES= bison cmake:outsource
MAKE_JOBS_SAFE= yes
.include <bsd.port.pre.mk>
diff --git a/graphics/osg-devel/Makefile b/graphics/osg-devel/Makefile
index fae9c96b0df2..63d322f68da7 100644
--- a/graphics/osg-devel/Makefile
+++ b/graphics/osg-devel/Makefile
@@ -24,7 +24,7 @@ LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
CONFLICTS= osg-[0-9]*
USE_ZIP= yes
-USE_CMAKE= yes
+USES= cmake
USE_GL= gl glu
USE_GNOME= pkgconfig
USE_XORG= x11
diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile
index fba5ee711537..311e5b27bec3 100644
--- a/graphics/osg/Makefile
+++ b/graphics/osg/Makefile
@@ -24,7 +24,7 @@ CONFLICTS= osg-devel-[0-9]*
USE_GCC= any
USE_ZIP= yes
-USE_CMAKE= yes
+USES= cmake
USE_GL= gl glu
USE_GNOME= pkgconfig
USE_XORG= x11
diff --git a/graphics/picviz/Makefile b/graphics/picviz/Makefile
index 9d6da1728234..efbee763129e 100644
--- a/graphics/picviz/Makefile
+++ b/graphics/picviz/Makefile
@@ -14,9 +14,8 @@ COMMENT= Parallel coordinates plotter
LIB_DEPENDS= pcre.3:${PORTSDIR}/devel/pcre \
cairo.2:${PORTSDIR}/graphics/cairo
-USE_CMAKE= yes
USE_LDCONFIG= yes
-USES= bison
+USES= bison cmake
MAN1= pcv.1
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
index ca98a5235f2f..9777a6d74d3d 100644
--- a/graphics/png/Makefile
+++ b/graphics/png/Makefile
@@ -15,7 +15,7 @@ MAKE_JOBS_SAFE= yes
USE_XZ= yes
GNU_CONFIGURE= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
CMAKE_ARGS+= -DPNG_MAN_DIR:STRING=man
diff --git a/graphics/podofo/Makefile b/graphics/podofo/Makefile
index f8b01b70bae9..f1408ee66fbc 100644
--- a/graphics/podofo/Makefile
+++ b/graphics/podofo/Makefile
@@ -20,7 +20,7 @@ OPTIONS_DEFINE= JPEG TIFF PNG IMPOSE
OPTIONS_DEFAULT= JPEG TIFF PNG
IMPOSE_DESC= Build impose tool (needs Lua)
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DPODOFO_BUILD_SHARED:BOOL=TRUE \
-DPODOFO_BUILD_STATIC:BOOL=FALSE \
-DOPENSSL_INCLUDE_DIR:PATH="${OPENSSLINC}" \
diff --git a/graphics/prison/Makefile b/graphics/prison/Makefile
index 2a8469cc36f8..b1cb54268b53 100644
--- a/graphics/prison/Makefile
+++ b/graphics/prison/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= dmtx.0:${PORTSDIR}/graphics/libdmtx \
qrencode.3:${PORTSDIR}/graphics/libqrencode
USE_QT4= corelib gui qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
diff --git a/graphics/projectm-libvisual/Makefile b/graphics/projectm-libvisual/Makefile
index c9800098c61f..545cc4961825 100644
--- a/graphics/projectm-libvisual/Makefile
+++ b/graphics/projectm-libvisual/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= projectM:${PORTSDIR}/graphics/libprojectm \
visual-${LIBVISUAL_VER}:${PORTSDIR}/graphics/libvisual${LIBVISUAL_VER:S/.//} \
SDL:${PORTSDIR}/devel/sdl12
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DLIBVISUAL_LIBRARIES=visual-${LIBVISUAL_VER}
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
USE_LDCONFIG= yes
diff --git a/graphics/qgis/Makefile b/graphics/qgis/Makefile
index 6e4bf32c49a0..29526f43f3bb 100644
--- a/graphics/qgis/Makefile
+++ b/graphics/qgis/Makefile
@@ -20,8 +20,7 @@ LIB_DEPENDS= geos:${PORTSDIR}/graphics/geos \
USE_BZIP2= yes
USE_PYTHON= yes
-USES= bison
-USE_CMAKE= yes
+USES= bison cmake
USE_SQLITE= yes
USE_QT4= gui svg xml network sql designer linguist_build \
qmake_build moc_build rcc_build uic_build
diff --git a/graphics/qtgtl/Makefile b/graphics/qtgtl/Makefile
index aec1068e6e2d..f371ad88b063 100644
--- a/graphics/qtgtl/Makefile
+++ b/graphics/qtgtl/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= GTLCore.0:${PORTSDIR}/graphics/opengtl
USE_PKGCONFIG= build
USE_QT4= gui moc_build qmake_build rcc_build uic_build
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
diff --git a/graphics/rawtherapee/Makefile b/graphics/rawtherapee/Makefile
index 855017e14819..484dd1ac7352 100644
--- a/graphics/rawtherapee/Makefile
+++ b/graphics/rawtherapee/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
tiff:${PORTSDIR}/graphics/tiff \
sigc-2.0:${PORTSDIR}/devel/libsigc++20
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
USE_XZ= yes
USE_GNOME= gtk20 glib20
diff --git a/graphics/scantailor/Makefile b/graphics/scantailor/Makefile
index b3e7f0cc0608..db60aa95cd31 100644
--- a/graphics/scantailor/Makefile
+++ b/graphics/scantailor/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
-USE_CMAKE= yes
+USES= cmake
USE_ICONV= yes
USE_GETTEXT= yes
USE_QT4= gui xml qmake_build uic_build moc_build rcc_build \
diff --git a/graphics/shiva-collections/Makefile b/graphics/shiva-collections/Makefile
index fc44f1d9004f..374cd1e93e82 100644
--- a/graphics/shiva-collections/Makefile
+++ b/graphics/shiva-collections/Makefile
@@ -14,7 +14,7 @@ MAINTAINER= avilla@FreeBSD.org
COMMENT= Collection of kernels for OpenGTL
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
NO_BUILD= yes
.include <bsd.port.mk>
diff --git a/graphics/showimage/Makefile b/graphics/showimage/Makefile
index 86d9d50c3f50..d6aa4623e8f4 100644
--- a/graphics/showimage/Makefile
+++ b/graphics/showimage/Makefile
@@ -12,7 +12,7 @@ MAINTAINER= rnejdl@ringofsaturn.com
COMMENT= ShowImage is a simple KDE based image viewer
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdeprefix kdelibs
USE_QT4= qmake_build moc_build rcc_build uic_build
MAKE_JOBS_SAFE= yes
diff --git a/graphics/skanlite/Makefile b/graphics/skanlite/Makefile
index 5d90f7e0a013..331565aec775 100644
--- a/graphics/skanlite/Makefile
+++ b/graphics/skanlite/Makefile
@@ -14,7 +14,7 @@ LIB_DEPENDS= ksane.0:${PORTSDIR}/graphics/libksane
USE_BZIP2= yes
USE_KDE4= kdelibs kdeprefix kdehier automoc4
USE_QT4= qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
# Fix build with no-default PREFIX
diff --git a/graphics/tulip/Makefile b/graphics/tulip/Makefile
index c9d26e73a539..5e897efa5cc7 100644
--- a/graphics/tulip/Makefile
+++ b/graphics/tulip/Makefile
@@ -27,8 +27,7 @@ USE_QT4= corelib moc_build uic_build rcc_build gui opengl xml network qmake_buil
USE_GL= glew glut
USE_GNOME= libxml2
USE_PYTHON= yes
-USE_CMAKE= yes
-CMAKE_OUTSOURCE=yes
+USES= cmake:outsource
CMAKE_ARGS+= -DLOCALBASE:PATH=${LOCALBASE} \
-DPYTHON_INCLUDEDIR:PATH=${PYTHON_INCLUDEDIR}
USE_LDCONFIG= ${PREFIX}/lib/tlp
diff --git a/graphics/vigra/Makefile b/graphics/vigra/Makefile
index 2aca42aa2753..8b10a591f3ac 100644
--- a/graphics/vigra/Makefile
+++ b/graphics/vigra/Makefile
@@ -15,7 +15,7 @@ LICENSE= MIT
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DDEPENDENCY_SEARCH_PREFIX:PATH=${LOCALBASE} \
-DDOCINSTALL:PATH=${DOCSDIR_REL}
diff --git a/graphics/yagf/Makefile b/graphics/yagf/Makefile
index 99a0e9ce3e6b..673968f8f74d 100644
--- a/graphics/yagf/Makefile
+++ b/graphics/yagf/Makefile
@@ -21,7 +21,7 @@ TESSERACT_DESC= Tesseract OCR engine
OPTIONS_DEFAULT= CUNEIFORM
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
USE_PKGCONFIG= build
diff --git a/graphics/zint/Makefile b/graphics/zint/Makefile
index dec670651a4e..7fa410c96310 100644
--- a/graphics/zint/Makefile
+++ b/graphics/zint/Makefile
@@ -18,7 +18,7 @@ LICENSE= GPLv3
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
USE_QT4= gui xml qmake_build uic_build moc_build rcc_build designer
MAKE_JOBS_SAFE= yes
diff --git a/irc/irssi-otr/Makefile b/irc/irssi-otr/Makefile
index 114338ce13bb..14274ec789b5 100644
--- a/irc/irssi-otr/Makefile
+++ b/irc/irssi-otr/Makefile
@@ -24,7 +24,7 @@ RUN_DEPENDS= irssi:${PORTSDIR}/irc/irssi
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
USE_GNOME= glib20
USE_PKGCONFIG= build
diff --git a/irc/konversation-kde4/Makefile b/irc/konversation-kde4/Makefile
index 8167aedae073..b9a9325c5001 100644
--- a/irc/konversation-kde4/Makefile
+++ b/irc/konversation-kde4/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= qca.2:${PORTSDIR}/devel/qca
LATEST_LINK= ${PORTNAME}-kde4
USE_XZ= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdeprefix pimlibs automoc4
USE_QT4= qmake_build moc_build rcc_build uic_build
MAKE_JOBS_SAFE= yes
diff --git a/irc/kvirc/Makefile b/irc/kvirc/Makefile
index a9f37fed30be..f73bdfe22246 100644
--- a/irc/kvirc/Makefile
+++ b/irc/kvirc/Makefile
@@ -31,7 +31,7 @@ USE_OPENSSL= yes
USE_PERL5_BUILD= yes
USE_QT4= moc_build qmake_build rcc_build uic_build \
dbus gui network sql xml
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DWANT_ESD=no -DWANT_DOXYGEN=no \
-DMANDIR=${MANPREFIX}
INSTALLS_ICONS= yes
diff --git a/irc/minbif/Makefile b/irc/minbif/Makefile
index 58e71510f543..09c1365d34ef 100644
--- a/irc/minbif/Makefile
+++ b/irc/minbif/Makefile
@@ -24,7 +24,7 @@ PLUGINS_DESC= Compile additional libpurple-plugins
USE_RC_SUBR= minbif
USE_GNOME= glib20
USE_EFL= imlib2
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DENABLE_IMLIB:BOOL=ON
MAKE_JOBS_SAFE= yes
diff --git a/irc/quassel/Makefile b/irc/quassel/Makefile
index 80223dc6973b..0347827eca05 100644
--- a/irc/quassel/Makefile
+++ b/irc/quassel/Makefile
@@ -17,7 +17,7 @@ COMMENT= Qt4 based distributed IRC client
LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_QT4= qmake_build moc_build rcc_build uic_build
MAKE_JOBS_SAFE= yes
diff --git a/irc/weechat-devel/Makefile b/irc/weechat-devel/Makefile
index 8e317846b10f..e82733de45a4 100644
--- a/irc/weechat-devel/Makefile
+++ b/irc/weechat-devel/Makefile
@@ -19,7 +19,7 @@ CONFLICTS= weechat-0.3*
USE_ICONV= yes
USE_LDCONFIG= yes
USE_NCURSES= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DENABLE_GUILE=no
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
WANT_PERL= yes
diff --git a/irc/weechat/Makefile b/irc/weechat/Makefile
index aadc02130f96..ee52d243c11b 100644
--- a/irc/weechat/Makefile
+++ b/irc/weechat/Makefile
@@ -17,7 +17,7 @@ CONFLICTS= weechat-devel-0.*
USE_ICONV= yes
USE_LDCONFIG= yes
USE_NCURSES= yes
-USE_CMAKE= yes
+USES= cmake
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
WANT_PERL= yes
diff --git a/japanese/fcitx-anthy/Makefile b/japanese/fcitx-anthy/Makefile
index 3280106288c6..342904a6717e 100644
--- a/japanese/fcitx-anthy/Makefile
+++ b/japanese/fcitx-anthy/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= fcitx-config:${PORTSDIR}/chinese/fcitx \
USE_XZ= yes
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
USE_GNOME= intltool
PROJECTHOST= fcitx
diff --git a/korean/fcitx-hangul/Makefile b/korean/fcitx-hangul/Makefile
index 2e447bf8569c..8bee3f64cd2c 100644
--- a/korean/fcitx-hangul/Makefile
+++ b/korean/fcitx-hangul/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= fcitx-config:${PORTSDIR}/chinese/fcitx \
USE_XZ= yes
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
USE_GNOME= intltool
INSTALLS_ICONS= yes
diff --git a/lang/clay/Makefile b/lang/clay/Makefile
index d8ad209c82f8..9d2559ee2f32 100644
--- a/lang/clay/Makefile
+++ b/lang/clay/Makefile
@@ -28,7 +28,7 @@ WRKSRC= ${WRKDIR}/jckarter-${PORTNAME}-${GITVERSION}
ONLY_FOR_ARCHS= i386 amd64
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -G "Unix Makefiles" -DBUILD_FIX=false
CC= clang
diff --git a/lang/hiphop-php/Makefile b/lang/hiphop-php/Makefile
index da843f284164..0c37b140116f 100644
--- a/lang/hiphop-php/Makefile
+++ b/lang/hiphop-php/Makefile
@@ -64,7 +64,7 @@ WRKSRC= ${WRKDIR}/facebook-hiphop-php-${GITVERSION}
MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes
-USE_CMAKE= yes
+USES= cmake
USE_MYSQL= yes
USE_GNOME= libxml2
USE_OPENSSL= yes
diff --git a/lang/io/Makefile b/lang/io/Makefile
index 308faca10063..721b4e638fcc 100644
--- a/lang/io/Makefile
+++ b/lang/io/Makefile
@@ -16,8 +16,7 @@ GH_ACCOUNT= stevedekorte
GH_COMMIT= 23afbcc
USE_LDCONFIG= yes
-USE_CMAKE= yes
-CMAKE_OUTSOURCE=yes
+USES= cmake:outsource
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=release
PORTDOCS= *
diff --git a/lang/ldc-devel/Makefile b/lang/ldc-devel/Makefile
index dc9794a662d1..ab6e2300f053 100644
--- a/lang/ldc-devel/Makefile
+++ b/lang/ldc-devel/Makefile
@@ -26,7 +26,7 @@ LICENSE= BSD ART10
ONLY_FOR_ARCHS= i386 amd64
USE_BZIP2= yes
USE_PERL5_BUILD=yes
-USE_CMAKE= 2.6+
+USES= cmake
MAKE_JOBS_SAFE= yes
PORTDOCS= LICENSE readme.txt tango/
diff --git a/lang/squeak/Makefile b/lang/squeak/Makefile
index 8c82eb4d7878..c043ced574ef 100644
--- a/lang/squeak/Makefile
+++ b/lang/squeak/Makefile
@@ -68,7 +68,7 @@ INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
CONFIGURE_SCRIPT= ../unix/cmake/configure
CONFIGURE_ARGS+= --prefix=${PREFIX}
-# USE_CMAKE= yes
+# USES+= cmake
CMAKE_SOURCE_PATH= ../unix
SUB_FILES= pkg-message
diff --git a/mail/kbiff/Makefile b/mail/kbiff/Makefile
index 97c3ab757730..a2b7a4ebf175 100644
--- a/mail/kbiff/Makefile
+++ b/mail/kbiff/Makefile
@@ -22,7 +22,7 @@ USE_QT4= corelib dbus gui network svg xml \
qmake_build uic_build rcc_build
USE_PERL5_BUILD=yes
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
MAN1= kbiff.1
diff --git a/mail/kshowmail/Makefile b/mail/kshowmail/Makefile
index edd722cf144d..c374556a3522 100644
--- a/mail/kshowmail/Makefile
+++ b/mail/kshowmail/Makefile
@@ -20,7 +20,7 @@ USE_QT4= corelib dbus gui network svg xml \
qmake_build uic_build rcc_build
USE_PERL5_BUILD=yes
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
.include <bsd.port.mk>
diff --git a/mail/rspamd/Makefile b/mail/rspamd/Makefile
index 6489fd6d6748..6ffe79e58ffa 100644
--- a/mail/rspamd/Makefile
+++ b/mail/rspamd/Makefile
@@ -25,7 +25,7 @@ PLIST_SUB+= ETCDIR=etc/rspamd \
CMAKE_ARGS+= -DETC_PREFIX=${PREFIX}/etc -DPREFIX=${PREFIX} \
-DBUILD_PORT=yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
USE_GNOME= glib20
diff --git a/mail/spmfilter-clamav/Makefile b/mail/spmfilter-clamav/Makefile
index 2f4e08cd7326..ef5468510e14 100644
--- a/mail/spmfilter-clamav/Makefile
+++ b/mail/spmfilter-clamav/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= spmfilter>=0.4:${PORTSDIR}/mail/spmfilter
RUN_DEPENDS= spmfilter>=0.4:${PORTSDIR}/mail/spmfilter
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
-DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib"
diff --git a/mail/spmfilter-spamassassin/Makefile b/mail/spmfilter-spamassassin/Makefile
index cab3c523d223..5f1de1fbacd5 100644
--- a/mail/spmfilter-spamassassin/Makefile
+++ b/mail/spmfilter-spamassassin/Makefile
@@ -17,7 +17,7 @@ COMMENT= Spamassassin plugin for spmfilter
BUILD_DEPENDS= spmfilter>=0.4:${PORTSDIR}/mail/spmfilter
RUN_DEPENDS= spmfilter>=0.4:${PORTSDIR}/mail/spmfilter
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
-DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib"
diff --git a/mail/spmfilter/Makefile b/mail/spmfilter/Makefile
index a466eee109cc..4f9b57579d98 100644
--- a/mail/spmfilter/Makefile
+++ b/mail/spmfilter/Makefile
@@ -24,7 +24,7 @@ RUN_DEPENDS= gmime-24>=2.4:${PORTSDIR}/mail/gmime24 \
LICENSE= LGPL3
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
-DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib"
USE_PKGCONFIG= build
diff --git a/math/abakus/Makefile b/math/abakus/Makefile
index 8435e65996db..9a7cae1a8dc6 100644
--- a/math/abakus/Makefile
+++ b/math/abakus/Makefile
@@ -17,8 +17,7 @@ LIB_DEPENDS= mpfr:${PORTSDIR}/math/mpfr
USE_BZIP2= yes
USE_KDE4= automoc4 kdehier kdelibs kdeprefix
USE_QT4= moc_build qmake_build rcc_build uic_build
-USES= bison
-USE_CMAKE= yes
+USES= bison cmake
CMAKE_ARGS= -DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include" \
-DCMAKE_REQUIRED_FLAGS:STRING="${LDFLAGS}" \
-DFLEX_EXECUTABLE:FILEPATH=${LOCALBASE}/bin/flex
diff --git a/math/carve/Makefile b/math/carve/Makefile
index 54730398a202..4354da09c74d 100644
--- a/math/carve/Makefile
+++ b/math/carve/Makefile
@@ -15,8 +15,7 @@ LIB_DEPENDS= boost_filesystem:${PORTSDIR}/devel/boost-libs
OPTIONS_DEFINE= GUI
-USE_CMAKE= yes
-CMAKE_OUTSOURCE=yes
+USES= cmake:outsource
USE_GL= glut
USE_LDCONFIG= yes
diff --git a/math/cgal/Makefile b/math/cgal/Makefile
index 34f385250c9c..8857838525d3 100644
--- a/math/cgal/Makefile
+++ b/math/cgal/Makefile
@@ -29,7 +29,7 @@ LIB_DEPENDS= GLU.1:${PORTSDIR}/graphics/libGLU \
FETCH_ARGS= -pRr
USE_LDCONFIG= yes
-USE_CMAKE= yes
+USES= cmake
USE_QT4= corelib opengl qmake_build gui moc_build rcc_build
HAS_CONFIGURE= yes
DOCSDIR= ${PREFIX}/share/doc/CGAL-3.4
diff --git a/math/clipper/Makefile b/math/clipper/Makefile
index 8083898fdda9..eb7a7f1b2b4b 100644
--- a/math/clipper/Makefile
+++ b/math/clipper/Makefile
@@ -15,6 +15,6 @@ WRKSRC= ${WRKDIR}/cpp
USE_LDCONFIG= yes
USE_ZIP= yes
-USE_CMAKE= yes
+USES= cmake
.include <bsd.port.mk>
diff --git a/math/eigen2/Makefile b/math/eigen2/Makefile
index 835fd5336673..559351ffb43d 100644
--- a/math/eigen2/Makefile
+++ b/math/eigen2/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= kde@FreeBSD.org
COMMENT= Lightweight library for vector and matrix math
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
LATEST_LINK= ${PORTNAME}2
diff --git a/math/eigen3/Makefile b/math/eigen3/Makefile
index 2b2816c97215..99287581cf46 100644
--- a/math/eigen3/Makefile
+++ b/math/eigen3/Makefile
@@ -14,8 +14,7 @@ LICENSE= LGPL21 MPL
LICENSE_COMB= multi
USE_BZIP2= yes
-USE_CMAKE= yes
-CMAKE_OUTSOURCE=yes
+USES= cmake:outsource
CMAKE_ENV+= PKG_CONFIG_LIBDIR="${PREFIX}/libdata"
NO_BUILD= yes
diff --git a/math/fann/Makefile b/math/fann/Makefile
index 46b9efb0c272..a7911c43f9af 100644
--- a/math/fann/Makefile
+++ b/math/fann/Makefile
@@ -12,7 +12,7 @@ COMMENT= Free open source neural network library
WRKSRC= ${WRKDIR}/FANN-2.2.0-Source
-USE_CMAKE= yes
+USES= cmake
USE_ZIP= yes
USE_LDCONFIG= yes
diff --git a/math/freemat/Makefile b/math/freemat/Makefile
index e7ba6f0c6677..134c01580079 100644
--- a/math/freemat/Makefile
+++ b/math/freemat/Makefile
@@ -35,7 +35,7 @@ FFLAGS+= -O2
USE_GL= yes
USE_PKGCONFIG= yes
-USE_CMAKE= yes
+USES= cmake
USE_QT4= gui network opengl moc_build rcc_build uic_build \
qmake_build xml svg
CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include ${AMDINC}
diff --git a/math/labplot/Makefile b/math/labplot/Makefile
index 9337233fb434..a2f52bff7a25 100644
--- a/math/labplot/Makefile
+++ b/math/labplot/Makefile
@@ -22,7 +22,7 @@ USE_BZIP2= yes
USE_XORG= xft xpm
USE_KDE4= automoc4 kdelibs kdeprefix
USE_QT4= moc_build qmake_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DOPJ_LIBRARY:STRING=""
MAKE_JOBS_SAFE= yes
diff --git a/math/metis/Makefile b/math/metis/Makefile
index 034006aca188..4bb9732d31ca 100644
--- a/math/metis/Makefile
+++ b/math/metis/Makefile
@@ -13,7 +13,7 @@ LICENSE= AL2
CONFLICTS= metis-4* metis-edf-[0-9]*
-USE_CMAKE= yes
+USES= cmake
OPTIONS_DEFINE = OPENMP SHARED STATIC
diff --git a/math/parmetis/Makefile b/math/parmetis/Makefile
index b342345827ea..b959e00c8e90 100644
--- a/math/parmetis/Makefile
+++ b/math/parmetis/Makefile
@@ -20,7 +20,7 @@ LICENSE_PERMS= auto-accept
OPTIONS_DEFINE= OPENMPI DOCS
OPENMPI_DESC= Use openmpi instead of mpich2
-USE_CMAKE= yes
+USES= cmake
USE_GMAKE= yes
PORTDOCS= manual.pdf
diff --git a/math/plplot/Makefile b/math/plplot/Makefile
index 8f6fd85f0c29..bf756e00cff0 100644
--- a/math/plplot/Makefile
+++ b/math/plplot/Makefile
@@ -26,7 +26,7 @@ OPTIONS_DEFAULT= THREADS X11
USE_GNOME= pango
USE_PERL5_BUILD=yes
USE_GHOSTSCRIPT=yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DENABLE_java:BOOL=OFF -DENABLE_octave:BOOL=OFF \
-DENABLE_pdl:BOOL=OFF -DENABLE_ada:BOOL=OFF \
-DENABLE_d:BOOL=OFF -DENABLE_ocaml:BOOL=OFF \
diff --git a/math/qhull/Makefile b/math/qhull/Makefile
index 2b20c728bc44..5471a92c15aa 100644
--- a/math/qhull/Makefile
+++ b/math/qhull/Makefile
@@ -11,7 +11,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= stephen@FreeBSD.org
COMMENT= Qhull computes convex hulls, Delaunay triangulations, and halfspaces
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/math/qtoctave/Makefile b/math/qtoctave/Makefile
index e93bd7437311..f6b1090ef292 100644
--- a/math/qtoctave/Makefile
+++ b/math/qtoctave/Makefile
@@ -13,7 +13,7 @@ RUN_DEPENDS= octave:${PORTSDIR}/math/octave
USE_QT4= designer gui network script svg xml \
qmake_build moc_build rcc_build uic_build \
linguist_build
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DWITH_UseRPMTools:Bool=Off
MAKE_JOBS_SAFE= yes
diff --git a/math/rkward-kde4/Makefile b/math/rkward-kde4/Makefile
index d1fdac2a2efa..77b10a650249 100644
--- a/math/rkward-kde4/Makefile
+++ b/math/rkward-kde4/Makefile
@@ -25,7 +25,7 @@ USE_KDE4= kdehier kdeprefix automoc4 kdelibs
USE_PHP= yes
WANT_PHP_CLI= yes
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
INSTALLS_ICONS= yes
CFLAGS+= -I${LOCALBASE}/include
diff --git a/math/speedcrunch/Makefile b/math/speedcrunch/Makefile
index b6eee279f036..3604d00a2674 100644
--- a/math/speedcrunch/Makefile
+++ b/math/speedcrunch/Makefile
@@ -15,7 +15,7 @@ MAINTAINER= makc@FreeBSD.org
COMMENT= A desktop calculator for power users
USE_QT4= qmake_build moc_build rcc_build uic_build gui xml
-USE_CMAKE= yes
+USES= cmake
CMAKE_SOURCE_PATH= src
MAKE_JOBS_SAFE= yes
diff --git a/math/ufc/Makefile b/math/ufc/Makefile
index 615eed3a950c..6550cd64242f 100644
--- a/math/ufc/Makefile
+++ b/math/ufc/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= boost_math_c99:${PORTSDIR}/devel/boost-libs
# LICENSE= public domain
-USE_CMAKE= yes
+USES= cmake
USE_PYTHON= -2.7
PYDISTUTILS_PKGNAME= ufc
diff --git a/math/vtk5/Makefile b/math/vtk5/Makefile
index 934916c79493..3a38308648b7 100644
--- a/math/vtk5/Makefile
+++ b/math/vtk5/Makefile
@@ -23,7 +23,7 @@ CONFLICTS= vtk-4*
SUB_FILES= vtk.3
-USE_CMAKE= yes
+USES= cmake:outsource
USE_XORG= xt
USE_LDCONFIG= ${PREFIX}/lib/vtk-${PORTVERSION:R}
CXXFLAGS+= -DUSE_INTERP_ERRORLINE
@@ -47,7 +47,6 @@ PLIST_SUB+= VER1="${PORTVERSION}" \
MAN3= vtk.3
PORTDOCS= README.html
-CMAKE_OUTSOURCE= yes
CMAKE_ARGS+= -DBUILD_DOCUMENTATION:BOOL=ON \
-DBUILD_TESTING:BOOL=OFF \
diff --git a/misc/bibletime/Makefile b/misc/bibletime/Makefile
index 6fe4f1086dc6..76abeba37cbd 100644
--- a/misc/bibletime/Makefile
+++ b/misc/bibletime/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= clucene-core:${PORTSDIR}/textproc/clucene
USE_BZIP2= yes
USE_OPENSSL= yes
-USE_CMAKE= yes
+USES= cmake
USE_QT4= corelib dbus gui iconengines network phonon qtestlib script \
svg webkit xml linguist_build moc_build qmake_build \
rcc_build uic_build
diff --git a/misc/katalog/Makefile b/misc/katalog/Makefile
index 0f4ae7c836d9..91668c32fd6c 100644
--- a/misc/katalog/Makefile
+++ b/misc/katalog/Makefile
@@ -23,7 +23,7 @@ EXPIRATION_DATE= 2013-07-01
USE_KDEBASE_VER= 3
USE_SQLITE= yes
-USE_CMAKE= yes
+USES= cmake
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g' \
diff --git a/misc/kbfx/Makefile b/misc/kbfx/Makefile
index e0573cb4a1c9..9d2140669076 100644
--- a/misc/kbfx/Makefile
+++ b/misc/kbfx/Makefile
@@ -18,7 +18,7 @@ COMMENT= A new K-menu for KDE
DEPRECATED= Depends on QT3; unmaintained
EXPIRATION_DATE= 2013-07-01
-USE_CMAKE= yes
+USES= cmake
USE_BZIP2= yes
USE_GETTEXT= yes
USE_KDELIBS_VER=3
diff --git a/misc/kde-thumbnailer-chm/Makefile b/misc/kde-thumbnailer-chm/Makefile
index c11f080a5b9d..7359b23b2079 100644
--- a/misc/kde-thumbnailer-chm/Makefile
+++ b/misc/kde-thumbnailer-chm/Makefile
@@ -11,7 +11,7 @@ COMMENT= KDE thumbnail generator for CHM files
LIB_DEPENDS= chm.0:${PORTSDIR}/misc/chmlib
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdeprefix kdelibs automoc4
USE_QT4= moc_build qmake_build rcc_build uic_build
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/misc/kde4-l10n/files/bsd.l10n.mk b/misc/kde4-l10n/files/bsd.l10n.mk
index 720254d1af9c..7520fd6bc33e 100644
--- a/misc/kde4-l10n/files/bsd.l10n.mk
+++ b/misc/kde4-l10n/files/bsd.l10n.mk
@@ -8,7 +8,7 @@ USE_XZ= yes
USE_QT4= uic_build moc_build qmake_build rcc_build xml
USE_GETTEXT= yes
USE_KDE4= kdelibs kdehier kdeprefix automoc4
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
diff --git a/misc/krecipes-kde4/Makefile b/misc/krecipes-kde4/Makefile
index 072e16adf131..f9c480e4fff0 100644
--- a/misc/krecipes-kde4/Makefile
+++ b/misc/krecipes-kde4/Makefile
@@ -22,7 +22,7 @@ OPTIONS_MULTI= DB
OPTIONS_MULTI_DB= SQLITE MYSQL PGSQL
OPTIONS_DEFAULT= SQLITE
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
USE_QT4= moc_build qmake_build rcc_build uic_build
USE_KDE4= automoc4 kdeprefix kdelibs qimageblitz sharedmime
diff --git a/misc/tellico-kde4/Makefile b/misc/tellico-kde4/Makefile
index f3eeb5a69750..4785f566069e 100644
--- a/misc/tellico-kde4/Makefile
+++ b/misc/tellico-kde4/Makefile
@@ -24,7 +24,7 @@ USE_BZIP2= yes
USE_KDE4= kdehier kdelibs kdeprefix libksane pimlibs \
automoc4 qimageblitz libkcddb
USE_QT4= qmake_build moc_build uic_build rcc_build
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
MAKE_JOBS_SAFE= yes
diff --git a/multimedia/assimp/Makefile b/multimedia/assimp/Makefile
index 5dac001f9323..35aff40d23bd 100644
--- a/multimedia/assimp/Makefile
+++ b/multimedia/assimp/Makefile
@@ -17,7 +17,7 @@ LICENSE= BSD
LIB_DEPENDS= boost_filesystem:${PORTSDIR}/devel/boost-libs
USE_ZIP= yes
-USE_CMAKE= yes
+USES= cmake
USE_PKGCONFIG= build
USE_GCC= 4.6+ # 4.2+ causes compiler warnings
USE_LDCONFIG= yes
diff --git a/multimedia/avidemux2/Makefile.common b/multimedia/avidemux2/Makefile.common
index b24af8724605..6de9f5f718b0 100644
--- a/multimedia/avidemux2/Makefile.common
+++ b/multimedia/avidemux2/Makefile.common
@@ -26,10 +26,9 @@ USE_GMAKE= yes
USE_ICONV= yes
USE_PKGCONFIG= build
WANT_SDL= yes
-USE_CMAKE= yes
+USES= cmake:outsource
CMAKE_USE_PTHREAD=yes
CMAKE_ARGS+= -DTHREADS_HAVE_PTHREAD_ARG:STRING="${PTHREAD_LIBS}"
-CMAKE_OUTSOURCE= yes
MAKE_JOBS_UNSAFE= yes
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
diff --git a/multimedia/bangarang/Makefile b/multimedia/bangarang/Makefile
index b4fa5061453b..d369a938af73 100644
--- a/multimedia/bangarang/Makefile
+++ b/multimedia/bangarang/Makefile
@@ -18,7 +18,7 @@ LICENSE= GPLv3
LIB_DEPENDS= tag.1:${PORTSDIR}/audio/taglib
PROJECTHOST= bangarangissuetracking
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
USE_QT4= qmake_build moc_build rcc_build uic_build
USE_KDE4= automoc4 kdelibs kdeprefix
diff --git a/multimedia/dvbcut/Makefile b/multimedia/dvbcut/Makefile
index b9ce62cb8561..72856fc43138 100644
--- a/multimedia/dvbcut/Makefile
+++ b/multimedia/dvbcut/Makefile
@@ -46,7 +46,7 @@ MAKEFILE= makefile
QTCPPFLAGS+= ${PTHREAD_CFLAGS}
QTCFGLIBS+= ${PTHREAD_LIBS}
.else
-USE_CMAKE= yes
+USES= cmake
USE_QT4= gui qt3support xml moc_build qmake_build rcc_build uic_build
CXXFLAGS+= -I${PREFIX}/include \
-I${PREFIX}/include/libavcodec \
diff --git a/multimedia/gstreamer-qt4/Makefile b/multimedia/gstreamer-qt4/Makefile
index 8bb8d4c5e1be..6d9316e6f66d 100644
--- a/multimedia/gstreamer-qt4/Makefile
+++ b/multimedia/gstreamer-qt4/Makefile
@@ -16,9 +16,8 @@ LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs
-USES= bison
+USES= bison cmake
USE_BZIP2= yes
-USE_CMAKE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
USE_GSTREAMER= yes
diff --git a/multimedia/k9copy-kde4/Makefile b/multimedia/k9copy-kde4/Makefile
index 547d129d4a69..abc30b486fdb 100644
--- a/multimedia/k9copy-kde4/Makefile
+++ b/multimedia/k9copy-kde4/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= xine:${PORTSDIR}/multimedia/libxine \
mpeg2:${PORTSDIR}/multimedia/libmpeg2 \
avcodec:${PORTSDIR}/multimedia/ffmpeg
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdeprefix kdelibs automoc4
USE_QT4= moc_build qmake_build rcc_build uic_build
MAKE_JOBS_SAFE= yes
diff --git a/multimedia/kaffeine/Makefile b/multimedia/kaffeine/Makefile
index 0c398d2cfbb0..0a855bc268c5 100644
--- a/multimedia/kaffeine/Makefile
+++ b/multimedia/kaffeine/Makefile
@@ -25,8 +25,7 @@ USE_GETTEXT= yes
USE_KDE4= kdehier kdeprefix automoc4 kdelibs
USE_QT4= corelib gui phonon svg network dbus xml sql \
qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
-CMAKE_VERBOSE= yes
+USES= cmake
USE_LDCONFIG= yes
USE_XORG= xscrnsaver
diff --git a/multimedia/kdenlive/Makefile b/multimedia/kdenlive/Makefile
index c62b8ab18fa5..88e62299ef1f 100644
--- a/multimedia/kdenlive/Makefile
+++ b/multimedia/kdenlive/Makefile
@@ -26,7 +26,7 @@ USE_QT4= dbus gui opengl script svg xml \
moc_build qmake_build rcc_build uic_build
USE_XORG= x11
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
MAN1= kdenlive.1 kdenlive_render.1
diff --git a/multimedia/kmplayer-kde4/Makefile b/multimedia/kmplayer-kde4/Makefile
index 24ca2f7c9a11..c1ff48ab68f9 100644
--- a/multimedia/kmplayer-kde4/Makefile
+++ b/multimedia/kmplayer-kde4/Makefile
@@ -22,7 +22,7 @@ RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
USE_GNOME= gtk20
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdehier kdeprefix kdelibs
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
diff --git a/multimedia/kplayer-kde4/Makefile b/multimedia/kplayer-kde4/Makefile
index 68fc5a3ad0ab..d30a63efd62e 100644
--- a/multimedia/kplayer-kde4/Makefile
+++ b/multimedia/kplayer-kde4/Makefile
@@ -20,7 +20,7 @@ LATEST_LINK= ${PORTNAME}-kde4
USE_BZIP2= yes
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
USE_KDE4= kdehier kdeprefix kdelibs automoc4
MAKE_JOBS_SAFE= yes
diff --git a/multimedia/oggvideotools/Makefile b/multimedia/oggvideotools/Makefile
index 293bf4b6dff8..ce83b9992c01 100644
--- a/multimedia/oggvideotools/Makefile
+++ b/multimedia/oggvideotools/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd \
USE_SDL= sdl
USE_PKGCONFIG= build
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/multimedia/phonon-gstreamer/Makefile b/multimedia/phonon-gstreamer/Makefile
index 0928381e21e1..86b55837791f 100644
--- a/multimedia/phonon-gstreamer/Makefile
+++ b/multimedia/phonon-gstreamer/Makefile
@@ -28,7 +28,7 @@ USE_QT4= gui phonon xml \
qmake_build moc_build rcc_build uic_build
USE_XORG= x11
USE_XZ= yes
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
PLIST_SUB+= QT_PREFIX=${QT_PREFIX}
diff --git a/multimedia/phonon-vlc/Makefile b/multimedia/phonon-vlc/Makefile
index 354dfd98d2fa..d8681d61f4ef 100644
--- a/multimedia/phonon-vlc/Makefile
+++ b/multimedia/phonon-vlc/Makefile
@@ -21,7 +21,7 @@ USE_KDE4= kdehier kdeprefix automoc4
USE_QT4= gui phonon \
qmake_build moc_build rcc_build uic_build
USE_XZ= yes
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
PHONON_BRANCH= stable
diff --git a/multimedia/phonon-xine/Makefile b/multimedia/phonon-xine/Makefile
index 8fe81cc803ac..a96f045661dd 100644
--- a/multimedia/phonon-xine/Makefile
+++ b/multimedia/phonon-xine/Makefile
@@ -23,7 +23,7 @@ CONFLICTS= phonon-4.3.0*
PHONON_BRANCH= stable
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdehier automoc4 kdeprefix
USE_QT4= gui dbus xml phonon \
qmake_build moc_build rcc_build uic_build
diff --git a/multimedia/phonon/Makefile b/multimedia/phonon/Makefile
index 846001701b3b..f372bb06806f 100644
--- a/multimedia/phonon/Makefile
+++ b/multimedia/phonon/Makefile
@@ -22,7 +22,7 @@ USE_KDE4= kdehier kdeprefix automoc4
USE_QT4= dbus gui \
qmake_build moc_build rcc_build uic_build
USE_XZ= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT:BOOL=TRUE \
-DPHONON_NO_PLATFORMPLUGIN:BOOL=TRUE \
-DPHONON_BUILD_DESIGNER_PLUGIN:BOOL=OFF
diff --git a/multimedia/podcastdl/Makefile b/multimedia/podcastdl/Makefile
index 3cec1400d513..8ee9e51a264d 100644
--- a/multimedia/podcastdl/Makefile
+++ b/multimedia/podcastdl/Makefile
@@ -14,7 +14,7 @@ LICENSE= BSD
LIB_DEPENDS= mrss:${PORTSDIR}/textproc/libmrss
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
PLIST_FILES= bin/podcastdl
diff --git a/multimedia/qmmp-plugin-pack/Makefile b/multimedia/qmmp-plugin-pack/Makefile
index 96bdf4d78400..25ae614b1f50 100644
--- a/multimedia/qmmp-plugin-pack/Makefile
+++ b/multimedia/qmmp-plugin-pack/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= qmmpui:${PORTSDIR}/multimedia/qmmp
BUILD_DEPENDS= qmmp>=0.6.0:${PORTSDIR}/multimedia/qmmp
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake:outsource
USE_QT4= corelib gui qmake_build rcc_build moc_build linguist_build
USE_LDCONFIG= yes
USE_PKGCONFIG= build
@@ -79,7 +79,6 @@ USE_QT4+= uic_build
CMAKE_ARGS+= ${PLUGIN_OPTIONS_CMAKE} \
-DCMAKE_REQUIRED_INCLUDES:PATH=${LOCALBASE}/include
-CMAKE_OUTSOURCE=yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/multimedia/qmmp/Makefile b/multimedia/qmmp/Makefile
index 949264cc51d0..e9ce84b39ac0 100644
--- a/multimedia/qmmp/Makefile
+++ b/multimedia/qmmp/Makefile
@@ -17,7 +17,7 @@ COMMENT= A Qt4-based multimedia player
LICENSE= GPLv2
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake:outsource
USE_QT4= corelib gui network xml \
qmake_build rcc_build uic_build moc_build linguist_build
USE_LDCONFIG= yes
@@ -485,7 +485,6 @@ INSTALLS_ICONS= yes
CMAKE_ARGS+= ${PLUGIN_OPTIONS_CMAKE} \
-DCMAKE_REQUIRED_INCLUDES:PATH=${LOCALBASE}/include
-CMAKE_OUTSOURCE=yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/multimedia/subtitlecomposer-kde4/Makefile b/multimedia/subtitlecomposer-kde4/Makefile
index de515fad8524..008d2d43ff3e 100644
--- a/multimedia/subtitlecomposer-kde4/Makefile
+++ b/multimedia/subtitlecomposer-kde4/Makefile
@@ -15,7 +15,7 @@ MAINTAINER= makc@FreeBSD.org
COMMENT= Subtitle editor for KDE
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdeprefix kdelibs automoc4
USE_QT4= gui qmake_build moc_build rcc_build uic_build
diff --git a/multimedia/vtkmpeg2encode/Makefile b/multimedia/vtkmpeg2encode/Makefile
index 9eccb497592d..3cc70ecf09a2 100644
--- a/multimedia/vtkmpeg2encode/Makefile
+++ b/multimedia/vtkmpeg2encode/Makefile
@@ -14,7 +14,7 @@ COMMENT= VTK MPEG2 encoding library
NO_CDROM= the MPEG2 format and all software that uses it is subject to patent restrictions
NO_PACKAGE= ${NO_CDROM}
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
CMAKE_ARGS?= -DBUILD_SHARED_LIBS:BOOL=ON
VTK_VERSION= 5.10.1
diff --git a/net-im/decibel/Makefile b/net-im/decibel/Makefile
index d14be2d0d060..0a69edb92f78 100644
--- a/net-im/decibel/Makefile
+++ b/net-im/decibel/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= QtTapioca.0:${PORTSDIR}/net-im/tapioca-qt
USE_QT4= xml dbus gui qtestlib qmake_build moc_build uic_build rcc_build
USE_LDCONFIG= yes
-USE_CMAKE= yes
+USES= cmake
post-patch:
${REINPLACE_CMD} -e \
diff --git a/net-im/hotot/Makefile b/net-im/hotot/Makefile
index b492fce6eb7f..e8a8a8446a38 100644
--- a/net-im/hotot/Makefile
+++ b/net-im/hotot/Makefile
@@ -16,7 +16,7 @@ GH_PROJECT= Hotot
GH_TAGNAME= master
GH_COMMIT= e0c78bf
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
USE_PYTHON= yes
USE_GNOME= intltool
diff --git a/net-im/kmess-kde4/Makefile b/net-im/kmess-kde4/Makefile
index 45251be8a0fc..b5d6f831bd22 100644
--- a/net-im/kmess-kde4/Makefile
+++ b/net-im/kmess-kde4/Makefile
@@ -24,7 +24,7 @@ USE_BZIP2= yes
USE_GNOME= libxml2 libxslt
USE_KDE4= kdehier kdeprefix kdelibs libkonq automoc4
USE_QT4= qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
.include <bsd.port.mk>
diff --git a/net-im/libjreen/Makefile b/net-im/libjreen/Makefile
index 6f278091783e..2753f16d93a7 100644
--- a/net-im/libjreen/Makefile
+++ b/net-im/libjreen/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= qca.2:${PORTSDIR}/devel/qca \
USE_BZIP2= yes
USE_QT4= network moc_build qmake_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/net-im/libmsn/Makefile b/net-im/libmsn/Makefile
index 67d7d37a13b6..564390cadb42 100644
--- a/net-im/libmsn/Makefile
+++ b/net-im/libmsn/Makefile
@@ -12,7 +12,7 @@ COMMENT= A library for connecting to MSN Messenger service
LICENSE= GPLv2
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_OPENSSL= yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/net-im/licq-console/Makefile b/net-im/licq-console/Makefile
index 82c6893bf1d6..70999d828507 100644
--- a/net-im/licq-console/Makefile
+++ b/net-im/licq-console/Makefile
@@ -14,7 +14,7 @@ LIB_DEPENDS= cdk:${PORTSDIR}/devel/cdk \
LICENSE= GPLv2
-USE_CMAKE= yes
+USES= cmake
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
DOCFILES= README
diff --git a/net-im/licq-jabber/Makefile b/net-im/licq-jabber/Makefile
index 98cfdc497666..cffe4b0657d8 100644
--- a/net-im/licq-jabber/Makefile
+++ b/net-im/licq-jabber/Makefile
@@ -13,7 +13,7 @@ LIB_DEPENDS= gloox:${PORTSDIR}/net-im/gloox \
LICENSE= GPLv2
-USE_CMAKE= yes
+USES= cmake
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
DOCFILES= README
diff --git a/net-im/licq-osd/Makefile b/net-im/licq-osd/Makefile
index 43d577175963..2f4a6bbc6ab1 100644
--- a/net-im/licq-osd/Makefile
+++ b/net-im/licq-osd/Makefile
@@ -17,7 +17,7 @@ RUN_DEPENDS= ${LOCALBASE}/lib/licq/licq_qt4-gui.so:${PORTSDIR}/${LICQ_PORT}-qt-g
# plugin (gtk+) and wish run osd with it. i've not tested with
# plugins other than qt-gui
-USE_CMAKE= yes
+USES= cmake
LOCALES= be de cs es fr pt pt_BR ro ru sv sk
PLIST_FILES= lib/licq/licq_osd.so \
diff --git a/net-im/licq-qt-gui/Makefile b/net-im/licq-qt-gui/Makefile
index 8da92e37fab8..ac042ee1adea 100644
--- a/net-im/licq-qt-gui/Makefile
+++ b/net-im/licq-qt-gui/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= boost_regex:${PORTSDIR}/devel/boost-libs
LICENSE= GPLv2
USE_XORG= x11 xext ice xscrnsaver
-USE_CMAKE= yes
+USES= cmake
USE_QT4= qmake_build moc_build rcc_build uic_build linguist_build
.if defined(WITH_KDE)
diff --git a/net-im/licq/Makefile b/net-im/licq/Makefile
index a78566018491..30a18d6a4d44 100644
--- a/net-im/licq/Makefile
+++ b/net-im/licq/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= boost_regex:${PORTSDIR}/devel/boost-libs
LICENSE= GPLv2
USE_ICONV= yes
-USE_CMAKE= yes
+USES= cmake
WRKSRC= ${WRKDIR}/${DISTNAME}
LICQ_PORT?= net-im/licq
diff --git a/net-im/qutim/Makefile b/net-im/qutim/Makefile
index 184e4101c386..d109ff70cf02 100644
--- a/net-im/qutim/Makefile
+++ b/net-im/qutim/Makefile
@@ -32,8 +32,7 @@ USE_XORG= xscrnsaver
MAKE_JOBS_SAFE= yes
-USE_CMAKE= yes
-CMAKE_VERBOSE= yes
+USES= cmake
CMAKE_ARGS+= -DUNIX:BOOL=1 -DBSD:BOOL=1
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/net-im/tapioca-qt/Makefile b/net-im/tapioca-qt/Makefile
index 8200edd309a6..a9196b05df36 100644
--- a/net-im/tapioca-qt/Makefile
+++ b/net-im/tapioca-qt/Makefile
@@ -20,7 +20,7 @@ LICENSE_FILE= ${WRKSRC}/../COPYING
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/build
-USE_CMAKE= yes
+USES= cmake
CMAKE_SOURCE_PATH= ..
USE_QT4= corelib qmake_build uic_build moc_build rcc_build
USE_LDCONFIG= yes
diff --git a/net-im/telepathy-qt/Makefile b/net-im/telepathy-qt/Makefile
index 49488c535872..d8281e08bbcb 100644
--- a/net-im/telepathy-qt/Makefile
+++ b/net-im/telepathy-qt/Makefile
@@ -16,7 +16,7 @@ COMMENT= Framework for VoIP and IP applications
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/../COPYING
-USE_CMAKE= yes
+USES= cmake
CMAKE_SOURCE_PATH= ..
USE_QT4= corelib qmake_build uic_build moc_build rcc_build xml dbus
USE_LDCONFIG= yes
diff --git a/net-im/telepathy-qt4/Makefile b/net-im/telepathy-qt4/Makefile
index c8d5992f2a7b..78b2e4996dc5 100644
--- a/net-im/telepathy-qt4/Makefile
+++ b/net-im/telepathy-qt4/Makefile
@@ -20,7 +20,7 @@ USE_PKGCONFIG= yes
USE_PYTHON_BUILD= 2.5+
USE_QT4= dbus gui network qtestlib_build xml \
moc_build qmake_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DENABLE_FARSIGHT:BOOL=True \
-DENABLE_TESTS:BOOL=False
MAKE_JOBS_SAFE= yes
diff --git a/net-im/vacuum-im/Makefile b/net-im/vacuum-im/Makefile
index 8587e87d22ba..9966792e9a9d 100644
--- a/net-im/vacuum-im/Makefile
+++ b/net-im/vacuum-im/Makefile
@@ -16,7 +16,7 @@ LICENSE= GPLv3
PROJECTHOST= ${PORTNAME}${PKGNAMESUFFIX}
USE_XZ= yes
-USE_CMAKE= yes
+USES= cmake
USE_XORG= xscrnsaver
USE_LDCONFIG= yes
USE_QT4= gui xml qmake_build uic_build moc_build rcc_build \
diff --git a/net-mgmt/macroscope/Makefile b/net-mgmt/macroscope/Makefile
index 8fe5a9d01608..283d2744138a 100644
--- a/net-mgmt/macroscope/Makefile
+++ b/net-mgmt/macroscope/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= lzo2:${PORTSDIR}/archivers/lzo2 \
USE_RC_SUBR= ${PORTNAME}
USE_BZIP2= yes
USE_DOS2UNIX= yes
-USE_CMAKE= yes
+USES= cmake
OPTIONS= MYSQL "With MySQL support" on \
FIREBIRD "With Firebird support" off
diff --git a/net-mgmt/vidalia/Makefile b/net-mgmt/vidalia/Makefile
index 5983a9fa2e3a..caedbb252845 100644
--- a/net-mgmt/vidalia/Makefile
+++ b/net-mgmt/vidalia/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= https://archive.torproject.org/tor-package-archive/vidalia/ \
MAINTAINER= fk@fabiankeil.de
COMMENT= Graphical Tor controller based on Qt 4.x
-USE_CMAKE= yes
+USES= cmake
INSTALLS_ICONS= yes
USE_QT4= gui moc_build qmake_build rcc_build uic_build network xml linguist_build
MAKE_JOBS_SAFE= yes
diff --git a/net-p2p/eiskaltdcpp-daemon/Makefile b/net-p2p/eiskaltdcpp-daemon/Makefile
index ce029f08336f..3d5236563483 100644
--- a/net-p2p/eiskaltdcpp-daemon/Makefile
+++ b/net-p2p/eiskaltdcpp-daemon/Makefile
@@ -27,7 +27,7 @@ PROJECTHOST= eiskaltdc
USE_XZ= yes
USE_GCC= 4.6+
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
USE_OPENSSL= yes
MAKE_JOBS_SAFE= yes
diff --git a/net-p2p/eiskaltdcpp-gtk/Makefile b/net-p2p/eiskaltdcpp-gtk/Makefile
index d3cc116bf28e..9be1749f3190 100644
--- a/net-p2p/eiskaltdcpp-gtk/Makefile
+++ b/net-p2p/eiskaltdcpp-gtk/Makefile
@@ -28,7 +28,7 @@ PROJECTHOST= eiskaltdc
USE_XZ= yes
USE_GCC= 4.6+
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
USE_OPENSSL= yes
MAKE_JOBS_SAFE= yes
diff --git a/net-p2p/eiskaltdcpp-lib/Makefile b/net-p2p/eiskaltdcpp-lib/Makefile
index 9b2a2db59265..2473ddf20ca4 100644
--- a/net-p2p/eiskaltdcpp-lib/Makefile
+++ b/net-p2p/eiskaltdcpp-lib/Makefile
@@ -20,7 +20,7 @@ PROJECTHOST= eiskaltdc
USE_XZ= yes
USE_GCC= 4.6+
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
USE_OPENSSL= yes
USE_LDCONFIG= yes
diff --git a/net-p2p/eiskaltdcpp-qt/Makefile b/net-p2p/eiskaltdcpp-qt/Makefile
index 86ed3abbb86f..8385930d780e 100644
--- a/net-p2p/eiskaltdcpp-qt/Makefile
+++ b/net-p2p/eiskaltdcpp-qt/Makefile
@@ -30,7 +30,7 @@ PROJECTHOST= eiskaltdc
USE_XZ= yes
USE_GCC= 4.6+
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
USE_OPENSSL= yes
MAKE_JOBS_SAFE= yes
diff --git a/net-p2p/ktorrent/Makefile b/net-p2p/ktorrent/Makefile
index d04db0b66528..9dfcb82548ec 100644
--- a/net-p2p/ktorrent/Makefile
+++ b/net-p2p/ktorrent/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= tag:${PORTSDIR}/audio/taglib \
USE_BZIP2= yes
USE_KDE4= kdelibs kdehier kdeprefix automoc4 pimlibs workspace
USE_QT4= qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/net-p2p/libktorrent/Makefile b/net-p2p/libktorrent/Makefile
index 192227be248c..29e7b0a46a2d 100644
--- a/net-p2p/libktorrent/Makefile
+++ b/net-p2p/libktorrent/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt \
USE_BZIP2= yes
USE_KDE4= kdelibs kdehier kdeprefix automoc4
USE_QT4= qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/net/cagibi/Makefile b/net/cagibi/Makefile
index ffd194ed8ad4..cdaa8890308c 100644
--- a/net/cagibi/Makefile
+++ b/net/cagibi/Makefile
@@ -14,7 +14,7 @@ MAINTAINER= kde@FreeBSD.org
COMMENT= KDE SSDP/uPNP proxy
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4
USE_QT4= corelib network xml dbus \
qmake_build moc_build rcc_build uic_build
diff --git a/net/crtmpserver/Makefile b/net/crtmpserver/Makefile
index b20afe944b56..407cc77b885c 100644
--- a/net/crtmpserver/Makefile
+++ b/net/crtmpserver/Makefile
@@ -15,9 +15,8 @@ WRKSRC= ${WRKDIR}/crtmpserver-545
BROKEN= fails to build
-USE_CMAKE= yes
+USES= cmake:outsource
CMAKE_ENV= "COMPILE_STATIC=1"
-CMAKE_OUTSOURCE= yes
CMAKE_SOURCE_PATH= ${WRKSRC}/builders/cmake
CMAKE_ARGS= -DCRTMPSERVER_INSTALL_PREFIX:STRING=${PREFIX} -DTEMP_FRAMEWORK_VER=0.545
diff --git a/net/freerdp/Makefile b/net/freerdp/Makefile
index f48e2b6093ec..e0c8817987de 100644
--- a/net/freerdp/Makefile
+++ b/net/freerdp/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USE_PKGCONFIG= build
USE_OPENSSL= yes
USE_LDCONFIG= yes
-USE_CMAKE= yes
+USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= FreeRDP
GH_PROJECT= FreeRDP
diff --git a/net/kio-upnp-ms/Makefile b/net/kio-upnp-ms/Makefile
index 9e52b76927e0..dffd18710733 100644
--- a/net/kio-upnp-ms/Makefile
+++ b/net/kio-upnp-ms/Makefile
@@ -20,7 +20,7 @@ COMMENT= KIO slave to access UPnP MediaServers
LIB_DEPENDS= HUpnp.1:${PORTSDIR}/net/hupnp
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdehier kdeprefix kdelibs
USE_QT4= corelib network xml dbus gui \
qmake_build moc_build rcc_build uic_build
diff --git a/net/knemo-kde4/Makefile b/net/knemo-kde4/Makefile
index 92bce24c5ac2..7095f572d956 100644
--- a/net/knemo-kde4/Makefile
+++ b/net/knemo-kde4/Makefile
@@ -12,7 +12,7 @@ COMMENT= KDE network monitor
LATEST_LINK= ${PORTNAME}-kde4
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_QT4= qmake_build moc_build uic_build rcc_build
USE_KDE4= kdeprefix kdelibs workspace automoc4
diff --git a/net/kwooty/Makefile b/net/kwooty/Makefile
index c9e7fa77c454..75a1ec21288c 100644
--- a/net/kwooty/Makefile
+++ b/net/kwooty/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${LOCALBASE}/bin/unrar:${PORTSDIR}/archivers/unrar \
USE_KDE4= kdelibs kdehier kdeprefix automoc4 workspace
USE_QT4= qmake_build moc_build rcc_build uic_build
MAKE_JOBS_SAFE= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
post-patch:
diff --git a/net/libmxp/Makefile b/net/libmxp/Makefile
index b854d5bbf335..4a0fd2295499 100644
--- a/net/libmxp/Makefile
+++ b/net/libmxp/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= http://www.kmuddy.com/libmxp/files/
MAINTAINER= johans@FreeBSD.org
COMMENT= Parser for the MUD eXtension protocol
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
post-patch:
diff --git a/net/libproxy/Makefile b/net/libproxy/Makefile
index d9e867cc9174..126cc2b0caaf 100644
--- a/net/libproxy/Makefile
+++ b/net/libproxy/Makefile
@@ -14,7 +14,7 @@ MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= gnome@FreeBSD.org
COMMENT?= Library that provides automatic proxy configuration management
-USE_CMAKE= yes
+USES= cmake
PLIST_SUB+= VERSION=${PORTVERSION}
diff --git a/net/qtweetlib/Makefile b/net/qtweetlib/Makefile
index 74b2c0a466c2..9cb3a30bb71b 100644
--- a/net/qtweetlib/Makefile
+++ b/net/qtweetlib/Makefile
@@ -18,7 +18,7 @@ GH_COMMIT= 2af0b78
GH_PROJECT= QTweetLib
GH_TAGNAME= ${PORTVERSION}
-USE_CMAKE= yes
+USES= cmake
USE_GITHUB= yes
USE_LDCONFIG= yes
USE_QT4= gui moc_build network qmake_build rcc_build uic_build
diff --git a/net/smb4k-kde4/Makefile b/net/smb4k-kde4/Makefile
index 07fdacc65c98..1cf3ec240793 100644
--- a/net/smb4k-kde4/Makefile
+++ b/net/smb4k-kde4/Makefile
@@ -21,7 +21,7 @@ RUN_DEPENDS= sudo:${PORTSDIR}/security/sudo \
SAMBA_PORT?= net/samba36
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
USE_BZIP2= yes
USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/lib/kde4
diff --git a/net/userfw/Makefile b/net/userfw/Makefile
index 00fabe458beb..0d9536d50fb2 100644
--- a/net/userfw/Makefile
+++ b/net/userfw/Makefile
@@ -19,9 +19,8 @@ COMMENT= Modular packet filter
LICENSE= BSD
USE_XZ= yes
-USE_CMAKE= yes
+USES= cmake:outsource
USE_LDCONFIG= yes
-CMAKE_OUTSOURCE= yes
KMODDIR?= /boot/modules
PLIST_SUB+= KMODDIR=${KMODDIR}
diff --git a/polish/kadu/Makefile b/polish/kadu/Makefile
index 15d1ec05cdd5..dc70a328e5bf 100644
--- a/polish/kadu/Makefile
+++ b/polish/kadu/Makefile
@@ -44,7 +44,7 @@ GG6_EMOTS_DISTFILE= kompatybilne_z_GG6.tar.gz
GG7_EMOTS_DISTFILE= dodatkowe_emoty_GG7.tar.gz
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_PKGCONFIG= build
USE_ICONV= yes
USE_GETTEXT= yes
diff --git a/ports-mgmt/kpackagekit/Makefile b/ports-mgmt/kpackagekit/Makefile
index 18cf53b92663..7ce69331ebe1 100644
--- a/ports-mgmt/kpackagekit/Makefile
+++ b/ports-mgmt/kpackagekit/Makefile
@@ -25,7 +25,7 @@ USE_GNOME= pkgconfig
USE_KDE4= automoc4 kdehier kdelibs kdeprefix
USE_QT4= moc_build qmake_build rcc_build uic_build
MAKE_JOBS_SAFE= yes
-USE_CMAKE= yes
+USES= cmake
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
diff --git a/print/kover/Makefile b/print/kover/Makefile
index a064f4d869c0..ece8f379363c 100644
--- a/print/kover/Makefile
+++ b/print/kover/Makefile
@@ -20,7 +20,7 @@ USE_QT4= corelib dbus gui network svg xml \
qmake_build uic_build rcc_build
USE_PERL5_BUILD=yes
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
MAN1= kover.1
diff --git a/print/scribus-devel/Makefile b/print/scribus-devel/Makefile
index 425dfd091b63..705bbc6791d6 100644
--- a/print/scribus-devel/Makefile
+++ b/print/scribus-devel/Makefile
@@ -39,7 +39,7 @@ USE_QT4= gui linguist_build moc_build qmake_build rcc_build uic_build xml networ
USE_GNOME= desktopfileutils libartlgpl2 libxml2
USE_GHOSTSCRIPT_RUN= yes
USE_PYTHON= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
MAN1= scribus.1
diff --git a/print/scribus/Makefile b/print/scribus/Makefile
index 64ef58f2647e..4370731f81a3 100644
--- a/print/scribus/Makefile
+++ b/print/scribus/Makefile
@@ -34,7 +34,7 @@ USE_QT4= gui linguist_build moc_build qmake_build rcc_build uic_build xml networ
USE_GNOME= desktopfileutils libartlgpl2 libxml2 pkgconfig
USE_GHOSTSCRIPT_RUN= yes
USE_PYTHON= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/Scribus
diff --git a/science/InsightToolkit/Makefile b/science/InsightToolkit/Makefile
index 8353481dbd83..84886baec099 100644
--- a/science/InsightToolkit/Makefile
+++ b/science/InsightToolkit/Makefile
@@ -20,7 +20,7 @@ OPTIONS= EXAMPLES "Build examples (very time consuming)" off \
USE_LDCONFIG= ${PREFIX}/lib/InsightToolkit
NO_PACKAGE= License does not allow redistribution of binaries
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON
SUB_FILES= pkg-message
diff --git a/science/avogadro/Makefile b/science/avogadro/Makefile
index 47e78bf71778..c0e24228a53b 100644
--- a/science/avogadro/Makefile
+++ b/science/avogadro/Makefile
@@ -18,7 +18,7 @@ USE_BZIP2= yes
USE_GL= glu
USE_QT4= gui opengl network linguist_build \
qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DENABLE_GLSL=OFF \
-DQT_MKSPECS_RELATIVE=share/qt4/mkspecs
USE_GCC= 4.4+
diff --git a/science/cgnslib/Makefile b/science/cgnslib/Makefile
index fb7a5f82d42a..63a119c6b436 100644
--- a/science/cgnslib/Makefile
+++ b/science/cgnslib/Makefile
@@ -15,7 +15,7 @@ LICENSE_NAME= AS-IS
LICENSE_FILE= ${WRKSRC}/license.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-USE_CMAKE= yes
+USES= cmake
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
USE_LDCONFIG= yes
diff --git a/science/gromacs/Makefile b/science/gromacs/Makefile
index af2158243ac5..97a8b6c0dc7b 100644
--- a/science/gromacs/Makefile
+++ b/science/gromacs/Makefile
@@ -25,7 +25,7 @@ OMPI_DESC= MPI support using net/openmpi
USE_FORTRAN= yes
USE_PERL5= yes
USE_PKGCONFIG= build
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DBLAS_LIBRARIES:FILEPATH="${BLAS_LIBS}" \
-DLAPACK_LIBRARIES:FILEPATH="${LAPACK_LIBS}"
USE_LDCONFIG= yes
diff --git a/science/kst2/Makefile b/science/kst2/Makefile
index e64b356d829e..529248afabe7 100644
--- a/science/kst2/Makefile
+++ b/science/kst2/Makefile
@@ -13,7 +13,7 @@ LIB_DEPENDS= gsl.16:${PORTSDIR}/math/gsl
LATEST_LINK= kst2
-USE_CMAKE= yes
+USES= cmake
USE_QT4= gui xml designer svg opengl \
qmake_build moc_build rcc_build uic_build
USE_LDCONFIG= yes
diff --git a/science/massxpert/Makefile b/science/massxpert/Makefile
index 11475072da8c..62b9d9fb3689 100644
--- a/science/massxpert/Makefile
+++ b/science/massxpert/Makefile
@@ -21,7 +21,7 @@ LICENSE= GPLv3
USE_GCC= any
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
USE_ICONV= yes
USE_XORG= ice sm x11 xau xdmcp xext xrender
diff --git a/science/openbabel/Makefile b/science/openbabel/Makefile
index f373a784adb3..dd8c2575d28c 100644
--- a/science/openbabel/Makefile
+++ b/science/openbabel/Makefile
@@ -14,9 +14,8 @@ BUILD_DEPENDS= ${LOCALBASE}/include/eigen3/Eigen/Eigen:${PORTSDIR}/math/eigen3
CONFLICTS_INSTALL= babel-*
USE_GNOME= libxml2
-USE_CMAKE= yes
+USES= cmake:outsource
CMAKE_ARGS= -DBUILD_GUI=off
-CMAKE_OUTSOURCE= yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/science/paraview/Makefile b/science/paraview/Makefile
index 9458adcba4f8..c833c4c78937 100644
--- a/science/paraview/Makefile
+++ b/science/paraview/Makefile
@@ -27,7 +27,7 @@ USE_XORG= x11 xt
USE_GMAKE= yes
USE_LDCONFIG= yes
USE_PYTHON= yes
-USE_CMAKE= yes
+USES= cmake:outsource
USE_GCC= any
#CONFLICTS= vtk-5.*
CMAKE_ARGS+= -DPARAVIEW_USE_SYSTEM_HDF5=1 \
@@ -82,7 +82,6 @@ PLIST_SUB+= GL2PS="@comment "
.endif
MAKE_JOBS_SAFE= yes
-CMAKE_OUTSOURCE= yes
PLIST_SUB+= VERMAJORMINOR=${VERMAJORMINOR}
CMAKE2INST= ParaViewConfig.cmake \
diff --git a/security/bro/Makefile b/security/bro/Makefile
index fbca9812ea60..a4a61ea8b8f8 100644
--- a/security/bro/Makefile
+++ b/security/bro/Makefile
@@ -14,7 +14,7 @@ BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison \
LIB_DEPENDS= GeoIP:${PORTSDIR}/net/GeoIP
USE_PERL5= yes
-USE_CMAKE= yes
+USES= cmake
CONFIGURE_WRKSRC= ${WRKSRC}/build
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
diff --git a/security/ike/Makefile b/security/ike/Makefile
index 290eef91476e..bc5c8f922789 100644
--- a/security/ike/Makefile
+++ b/security/ike/Makefile
@@ -15,9 +15,8 @@ COMMENT= Shrew Soft IKE daemon and client tools
ONLY_FOR_ARCHS= i386 amd64
USE_RC_SUBR= iked
-USES= bison
+USES= bison cmake
USE_OPENSSL= yes
-USE_CMAKE= yes
USE_BZIP2= yes
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/security/libssh/Makefile b/security/libssh/Makefile
index e492f5dd923b..42e2a87a5bb7 100644
--- a/security/libssh/Makefile
+++ b/security/libssh/Makefile
@@ -15,7 +15,7 @@ GCRYPT_DESC= Build with libgcrypt
SSH1_DESC= Build with SSH1 support
MAKE_JOBS_SAFE= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_SOURCE_PATH= ${WRKSRC}
CONFIGURE_WRKSRC= ${CMAKE_SOURCE_PATH}/build
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
diff --git a/security/nmapsi4/Makefile b/security/nmapsi4/Makefile
index a62142e09c7f..49747e47e982 100644
--- a/security/nmapsi4/Makefile
+++ b/security/nmapsi4/Makefile
@@ -18,7 +18,7 @@ LICENSE= GPLv2
RUN_DEPENDS= ${LOCALBASE}/bin/nmap:${PORTSDIR}/security/nmap
-USE_CMAKE= yes
+USES= cmake
USE_BZIP2= yes
INSTALLS_ICONS= yes
USE_QT4= gui xml qmake_build uic_build moc_build rcc_build network \
diff --git a/security/quantis/Makefile b/security/quantis/Makefile
index b58c184e34c8..ac23ea8db106 100644
--- a/security/quantis/Makefile
+++ b/security/quantis/Makefile
@@ -29,7 +29,7 @@ GUI_DESC= Build QT4 GUI for EasyQuantis application
USE_ZIP= yes
EXTRACT_BEFORE_ARGS= -aqo
-USE_CMAKE= yes
+USES= cmake
USE_QT4= # empty but required
USE_LDCONFIG= yes
diff --git a/security/spass/Makefile b/security/spass/Makefile
index c98feed49535..4f8a7350efc9 100644
--- a/security/spass/Makefile
+++ b/security/spass/Makefile
@@ -19,7 +19,7 @@ GH_ACCOUNT= guyru
GH_TAGNAME= cb0de64
GH_COMMIT= cb0de64
-USE_CMAKE= yes
+USES= cmake
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/sysutils/cdrkit/Makefile b/sysutils/cdrkit/Makefile
index c0f5d6879696..d85b2db49ec2 100644
--- a/sysutils/cdrkit/Makefile
+++ b/sysutils/cdrkit/Makefile
@@ -14,7 +14,7 @@ MASTER_SITES= http://cdrkit.org/releases/ \
MAINTAINER= pav@FreeBSD.org
COMMENT= Command-line CD/DVD writing suite
-USE_CMAKE= yes
+USES= cmake
USE_ICONV= yes
MAN1= cdda2ogg.1 devdump.1 dirsplit.1 genisoimage.1 icedax.1 \
diff --git a/sysutils/condor/Makefile b/sysutils/condor/Makefile
index ff3c6e2aa99c..838b09c03f41 100644
--- a/sysutils/condor/Makefile
+++ b/sysutils/condor/Makefile
@@ -18,7 +18,7 @@ RESTRICTED= Requires manual distfile fetch
WRKSRC= ${WRKDIR}/condor-${PORTVERSION}
USE_GMAKE= yes
USE_LDCONFIG= yes
-USE_CMAKE= yes
+USES= cmake
USE_PERL5= yes
USE_PGSQL= server
CXXFLAGS+= -I${LOCALBASE}/include
diff --git a/sysutils/dfc/Makefile b/sysutils/dfc/Makefile
index ca0732841d6a..ec670754f173 100644
--- a/sysutils/dfc/Makefile
+++ b/sysutils/dfc/Makefile
@@ -17,7 +17,7 @@ LICENSE= BSD
OPTIONS_DEFINE= NLS
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DMAN_PATH=${MANPREFIX}/man -DDFC_DOC_PATH=${DOCSDIR}
MANLANG= "" fr
MAN1= dfc.1
diff --git a/sysutils/k3b-kde4/Makefile b/sysutils/k3b-kde4/Makefile
index 89c58fe1ebfc..5348a9a50b29 100644
--- a/sysutils/k3b-kde4/Makefile
+++ b/sysutils/k3b-kde4/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= cdda_paranoia:${PORTSDIR}/audio/cdparanoia \
LATEST_LINK= ${PORTNAME}-kde4
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DK3B_BUILD_K3BSETUP:BOOL=OFF \
-DK3B_ENABLE_MUSICBRAINZ:BOOL=OFF
USE_KDE4= automoc4 kdeprefix kdelibs libkcddb
diff --git a/sysutils/kcm-polkit-kde/Makefile b/sysutils/kcm-polkit-kde/Makefile
index d12329eb1d2f..0ce4953d2d3c 100644
--- a/sysutils/kcm-polkit-kde/Makefile
+++ b/sysutils/kcm-polkit-kde/Makefile
@@ -17,7 +17,7 @@ USE_KDE4= kdehier kdelibs kdeprefix automoc4
USE_PKGCONFIG= build
USE_QT4= dbus xml moc_build qmake_build rcc_build uic_build
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
diff --git a/sysutils/kgrubeditor/Makefile b/sysutils/kgrubeditor/Makefile
index 4c59a7b32d85..2cf4014a3b78 100644
--- a/sysutils/kgrubeditor/Makefile
+++ b/sysutils/kgrubeditor/Makefile
@@ -18,7 +18,7 @@ COMMENT= GRUB configuration utility for KDE
RUN_DEPENDS= grub:${PORTSDIR}/sysutils/grub
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdeprefix kdelibs
USE_QT4= gui qmake_build moc_build rcc_build uic_build
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/sysutils/kgtk/Makefile b/sysutils/kgtk/Makefile
index 1f136dcd29d8..f21f66f19464 100644
--- a/sysutils/kgtk/Makefile
+++ b/sysutils/kgtk/Makefile
@@ -23,7 +23,7 @@ OPTIONS= UNICODE "System locale is utf-8" off
USE_BZIP2= yes
USE_GNOME= gtk20
USE_KDEBASE_VER=3
-USE_CMAKE= yes
+USES= cmake
WRKSRC= ${WRKDIR}/${DISTNAME}/build
CMAKE_SOURCE_PATH= ..
diff --git a/sysutils/knutclient-kde4/Makefile b/sysutils/knutclient-kde4/Makefile
index d51a5fd32a5c..c401ab57a529 100644
--- a/sysutils/knutclient-kde4/Makefile
+++ b/sysutils/knutclient-kde4/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= qimageblitz.4:${PORTSDIR}/x11/qimageblitz
CONFLICTS= knutclient-0.*
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdehier kdeprefix kdelibs automoc4
USE_QT4= corelib gui qmake_build moc_build rcc_build uic_build
MAKE_JOBS_SAFE= yes
diff --git a/sysutils/krename-kde4/Makefile b/sysutils/krename-kde4/Makefile
index 23a29256887d..f6b5683fc36a 100644
--- a/sysutils/krename-kde4/Makefile
+++ b/sysutils/krename-kde4/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= tag.1:${PORTSDIR}/audio/taglib \
LATEST_LINK= ${PORTNAME}-kde4
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdeprefix kdelibs automoc4
USE_QT4= qmake_build moc_build rcc_build uic_build
MAKE_JOBS_SAFE= yes
diff --git a/sysutils/kshutdown-kde4/Makefile b/sysutils/kshutdown-kde4/Makefile
index d3de7133a180..ab74c7d65d23 100644
--- a/sysutils/kshutdown-kde4/Makefile
+++ b/sysutils/kshutdown-kde4/Makefile
@@ -10,7 +10,7 @@ MAINTAINER= kde@FreeBSD.org
COMMENT= Advanced shutdown utility for KDE
USE_ZIP= yes
-USE_CMAKE= yes
+USES= cmake
USE_QT4= moc_build qmake_build rcc_build uic_build
USE_KDE4= automoc4 kdehier kdeprefix workspace
diff --git a/sysutils/libpcbsd/Makefile b/sysutils/libpcbsd/Makefile
index bff7b4ad6f1e..2b62918198af 100644
--- a/sysutils/libpcbsd/Makefile
+++ b/sysutils/libpcbsd/Makefile
@@ -16,7 +16,7 @@ COMMENT= PC-BSD Support Library
WRKSRC= ${WRKDIR}/libpcbsd
-USE_CMAKE= yes
+USES= cmake
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
PLIST_FILES= lib/libpcbsd.so \
diff --git a/sysutils/plasma-applet-apcups/Makefile b/sysutils/plasma-applet-apcups/Makefile
index 93bce4b254c7..6660cc641fca 100644
--- a/sysutils/plasma-applet-apcups/Makefile
+++ b/sysutils/plasma-applet-apcups/Makefile
@@ -12,7 +12,7 @@ COMMENT= Plasma applet to monitor the status of APC UPS
PROJECTHOST= plasma-apcups
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdeprefix kdelibs
USE_QT4= qmake_build moc_build rcc_build uic_build
MAKE_JOBS_SAFE= yes
diff --git a/sysutils/policykit-qt/Makefile b/sysutils/policykit-qt/Makefile
index e3d2a715321d..f0de90f71010 100644
--- a/sysutils/policykit-qt/Makefile
+++ b/sysutils/policykit-qt/Makefile
@@ -20,7 +20,7 @@ USE_LDCONFIG= yes
USE_KDE4= automoc4
USE_QT4= corelib dbus gui network svg xml \
qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
PORTSCOUT= limit:^0
diff --git a/sysutils/polkit-qt/Makefile b/sysutils/polkit-qt/Makefile
index 0c015cae6b99..8355c1f33a92 100644
--- a/sysutils/polkit-qt/Makefile
+++ b/sysutils/polkit-qt/Makefile
@@ -27,7 +27,7 @@ USE_LDCONFIG= yes
USE_KDE4= automoc4
USE_QT4= corelib dbus gui network svg xml \
qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
# TODO: the next release (post-0.103.0) should have commit 56883bd, which
# syncs FindGObject.cmake with kdelibs' and should find GObject without
# requiring us to explicitly set LDFLAGS.
diff --git a/sysutils/qzeitgeist/Makefile b/sysutils/qzeitgeist/Makefile
index e7c1d7757643..6e5ecfeea716 100644
--- a/sysutils/qzeitgeist/Makefile
+++ b/sysutils/qzeitgeist/Makefile
@@ -25,7 +25,7 @@ USE_PYTHON_BUILD= yes
USE_QT4= dbus declarative qtestlib \
moc_build qmake_build rcc_build uic_build
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
diff --git a/sysutils/synergy-devel/Makefile b/sysutils/synergy-devel/Makefile
index 0620547d4952..5795337e3d1c 100644
--- a/sysutils/synergy-devel/Makefile
+++ b/sysutils/synergy-devel/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= gnn@FreeBSD.org
COMMENT= Mouse and keyboard sharing utility
CONFLICTS= synergy-[0-9]*
-USE_CMAKE= yes
+USES= cmake
USE_XORG= ice xtst x11 sm
USE_DOS2UNIX= yes
diff --git a/sysutils/synergy/Makefile b/sysutils/synergy/Makefile
index ae1aa83e8ae6..19325a459695 100644
--- a/sysutils/synergy/Makefile
+++ b/sysutils/synergy/Makefile
@@ -14,7 +14,7 @@ MASTER_SITES= GOOGLE_CODE
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Mouse and keyboard sharing utility
-USE_CMAKE= yes
+USES= cmake
USE_XORG= ice xtst x11 sm
CFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include
diff --git a/textproc/clucene/Makefile b/textproc/clucene/Makefile
index b7c311d0052a..7508a57c2058 100644
--- a/textproc/clucene/Makefile
+++ b/textproc/clucene/Makefile
@@ -15,7 +15,7 @@ LICENSE_COMB= dual
BUILD_DEPENDS= ${LOCALBASE}/lib/libboost_regex.a:${PORTSDIR}/devel/boost-libs
-USE_CMAKE= yes
+USES= cmake
USE_ICONV= yes
USE_LDCONFIG= yes
diff --git a/textproc/ctpp2/Makefile b/textproc/ctpp2/Makefile
index 1c5d5c35aaa3..7093142d5789 100644
--- a/textproc/ctpp2/Makefile
+++ b/textproc/ctpp2/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= http://ctpp.havoc.ru/download/
MAINTAINER= reki@reki.ru
COMMENT= C++ library to use templates in C/C++ projects, version 2
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
USE_GETTEXT= yes
USE_ICONV= yes
diff --git a/textproc/dikt/Makefile b/textproc/dikt/Makefile
index 3082e508b53c..f219d54de9e0 100644
--- a/textproc/dikt/Makefile
+++ b/textproc/dikt/Makefile
@@ -18,7 +18,7 @@ USE_XZ= yes
USE_KDE4= kdelibs kdeprefix kdehier automoc4
USE_QT4= corelib gui network svg xml \
qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
PLIST_FILES= bin/dikt \
share/applications/kde4/dikt.desktop \
diff --git a/textproc/ebook-tools/Makefile b/textproc/ebook-tools/Makefile
index 675708a4f148..62fb7b98da77 100644
--- a/textproc/ebook-tools/Makefile
+++ b/textproc/ebook-tools/Makefile
@@ -11,7 +11,7 @@ COMMENT= Accesses and converts various ebook file formats
LIB_DEPENDS= zip:${PORTSDIR}/archivers/libzip
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
USE_GNOME= libxml2
diff --git a/textproc/fcitx-m17n/Makefile b/textproc/fcitx-m17n/Makefile
index 9be53d281bc6..e242b9470c1e 100644
--- a/textproc/fcitx-m17n/Makefile
+++ b/textproc/fcitx-m17n/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= fcitx-config:${PORTSDIR}/chinese/fcitx \
USE_XZ= yes
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
USE_GNOME= intltool
.include <bsd.port.mk>
diff --git a/textproc/ibus-qt/Makefile b/textproc/ibus-qt/Makefile
index 6b6e0c881dd8..b8300d83d4a3 100644
--- a/textproc/ibus-qt/Makefile
+++ b/textproc/ibus-qt/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/ibus-1.0.pc:${PORTSDIR}/textproc/ibu
${LOCALBASE}/bin/icu-config:${PORTSDIR}/devel/icu
USE_QT4= gui dbus moc_build qmake_build moc_build uic_build rcc_build
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DDOCDIR=${PREFIX}/share/doc/ibus-qt
USE_LDCONFIG= yes
CFLAGS+= -I${LOCALBASE}/include
diff --git a/textproc/kdiff3/Makefile b/textproc/kdiff3/Makefile
index 93da7eb647e2..9032a91a52b0 100644
--- a/textproc/kdiff3/Makefile
+++ b/textproc/kdiff3/Makefile
@@ -15,7 +15,7 @@ MAINTAINER= brucec@FreeBSD.org
COMMENT= A KDE4 graphical frontend for diff
USE_KDE4= kdelibs libkonq kdeprefix kdehier automoc4
-USE_CMAKE= yes
+USES= cmake
USE_QT4= moc_build qmake_build rcc_build uic_build
USE_GETTEXT= yes
MAKE_JOBS_SAFE= yes
diff --git a/textproc/lemmatizer2/Makefile b/textproc/lemmatizer2/Makefile
index bf50ca0e5f5b..b0b5ac1b9546 100644
--- a/textproc/lemmatizer2/Makefile
+++ b/textproc/lemmatizer2/Makefile
@@ -21,7 +21,7 @@ COMMENT= Russian / German / English lemmatizer library
LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
-USE_CMAKE= yes
+USES= cmake
DB_DIR?= /var/db/lemmatizer
diff --git a/textproc/libkolabxml/Makefile b/textproc/libkolabxml/Makefile
index 70d6ccd94775..454cc0c431f4 100644
--- a/textproc/libkolabxml/Makefile
+++ b/textproc/libkolabxml/Makefile
@@ -27,7 +27,7 @@ CMAKE_ARGS= -DBUILD_TESTS:BOOL=OFF \
-DPHP_BINDINGS:BOOL=OFF \
-DPYTHON_BINDINGS:BOOL=OFF
MAKE_JOBS_SAFE= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/textproc/sigil/Makefile b/textproc/sigil/Makefile
index 414d53569a1e..6ac951308fc9 100644
--- a/textproc/sigil/Makefile
+++ b/textproc/sigil/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs \
LICENCE= GPLv3
USE_ZIP= yes
-USE_CMAKE= yes
+USES= cmake
USE_DOS2UNIX= CMakeLists.txt DirEnumerator.cpp ZipFile_stl.cpp ZipPlatform_lnx.cpp
NO_WRKSUBDIR= yes
USE_QT4= qmake gui svg webkit xml moc uic rcc imageformats linguist
diff --git a/textproc/simplexml/Makefile b/textproc/simplexml/Makefile
index a01f86f224a8..ce4410b223da 100644
--- a/textproc/simplexml/Makefile
+++ b/textproc/simplexml/Makefile
@@ -17,7 +17,7 @@ COMMENT= C++ XML parser library
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
-USE_CMAKE= yes
+USES= cmake
USE_ICONV= yes
USE_LDCONFIG= yes
diff --git a/textproc/soprano/Makefile b/textproc/soprano/Makefile
index ceb9b9158e8f..5dc6d3bf9749 100644
--- a/textproc/soprano/Makefile
+++ b/textproc/soprano/Makefile
@@ -17,7 +17,7 @@ USE_QT4= corelib dbus qtestlib network \
qmake_build moc_build uic_build rcc_build
USE_PKGCONFIG= both
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DSOPRANO_DISABLE_CLUCENE_INDEX=yes \
-DSOPRANO_DISABLE_SESAME2_BACKEND=yes
MAKE_JOBS_SAFE= yes
diff --git a/textproc/wbxml2/Makefile b/textproc/wbxml2/Makefile
index 5985ce826d48..7db9e0e01337 100644
--- a/textproc/wbxml2/Makefile
+++ b/textproc/wbxml2/Makefile
@@ -23,7 +23,7 @@ BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_SOURCE_PATH= ..
USE_LDCONFIG= yes
diff --git a/textproc/wv2/Makefile b/textproc/wv2/Makefile
index c54ce30361c7..adde29e3e8b6 100644
--- a/textproc/wv2/Makefile
+++ b/textproc/wv2/Makefile
@@ -17,7 +17,7 @@ COMMENT= A library providing routines to access Microsoft Word files
USE_GNOME= libgsf
USE_ICONV= yes
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/textproc/zorba/Makefile b/textproc/zorba/Makefile
index 6fc42d15953b..778f2e852cdb 100644
--- a/textproc/zorba/Makefile
+++ b/textproc/zorba/Makefile
@@ -31,10 +31,9 @@ CONFLICTS= xqilla-[0-9]*
USE_GNOME= libxml2 libxslt
USE_ICONV= yes
USE_LDCONFIG= yes
-USE_CMAKE= yes
+USES= cmake:outsource
CXXFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-CMAKE_OUTSOURCE=yes
CMAKE_ARGS= -DCMAKE_REQUIRED_FLAGS:STRING="-I${LOCALBASE}/include -L${LOCALBASE}/lib"
DOCSDIR= ${PREFIX}/share/doc/${PKGNAME}
diff --git a/www/cas/Makefile b/www/cas/Makefile
index ad3569a2ceeb..b9dfe472dc06 100644
--- a/www/cas/Makefile
+++ b/www/cas/Makefile
@@ -13,7 +13,7 @@ LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 \
pcre:${PORTSDIR}/devel/pcre \
ctpp2:${PORTSDIR}/textproc/ctpp2
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
USE_ICONV= yes
WITHOUT_NLS= yes
diff --git a/www/choqok/Makefile b/www/choqok/Makefile
index 534e6da56bec..7a41f3121a36 100644
--- a/www/choqok/Makefile
+++ b/www/choqok/Makefile
@@ -27,7 +27,7 @@ USE_KDE4= kdehier kdelibs kdeprefix automoc4
USE_QT4= gui imageformats_run network \
moc_build qmake_build rcc_build uic_build
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/www/hiawatha/Makefile b/www/hiawatha/Makefile
index 83db471ad5cb..e4b6d7a6bb78 100644
--- a/www/hiawatha/Makefile
+++ b/www/hiawatha/Makefile
@@ -21,7 +21,7 @@ MAN1= cgi-wrapper.1 hiawatha.1 ssi-cgi.1 wigwam.1
MAKE_JOBS_SAFE= yes
SUB_FILES= pkg-message
-USE_CMAKE= yes
+USES= cmake
USE_LDCONFIG= yes
USE_RC_SUBR= hiawatha
WANT_GNOME= yes
diff --git a/www/khtml2png/Makefile b/www/khtml2png/Makefile
index 08cec3d9965e..4fa223624cdf 100644
--- a/www/khtml2png/Makefile
+++ b/www/khtml2png/Makefile
@@ -15,7 +15,7 @@ MAINTAINER= rafan@FreeBSD.org
COMMENT= Command line program to create screenshots of webpages
USE_KDELIBS_VER= 3
-USE_CMAKE= yes
+USES= cmake
PLIST_FILES= bin/khtml2png2
diff --git a/www/kpartsplugin/Makefile b/www/kpartsplugin/Makefile
index 519d9a85c52d..1b8839cc32d3 100644
--- a/www/kpartsplugin/Makefile
+++ b/www/kpartsplugin/Makefile
@@ -13,7 +13,7 @@ COMMENT= Browser file viewer using KDE technology
USE_KDE4= kdehier kdelibs kdeprefix automoc4
USE_QT4= gui moc_build qmake_build rcc_build uic_build
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DNSPLUGIN_INSTALL_DIR:PATH="${WEBPLUGINS_DIR}"
MAKE_JOBS_SAFE= yes
diff --git a/www/kwebkitpart/Makefile b/www/kwebkitpart/Makefile
index 9f9ce1c3224e..0a8313c7ee5a 100644
--- a/www/kwebkitpart/Makefile
+++ b/www/kwebkitpart/Makefile
@@ -12,7 +12,7 @@ USE_KDE4= kdehier kdelibs kdeprefix automoc4
USE_QT4= designer gui webkit \
moc_build qmake_build rcc_build uic_build
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/x11-clocks/plasma-applet-adjustableclock/Makefile b/x11-clocks/plasma-applet-adjustableclock/Makefile
index 3cf25de46e80..2b65c438034b 100644
--- a/x11-clocks/plasma-applet-adjustableclock/Makefile
+++ b/x11-clocks/plasma-applet-adjustableclock/Makefile
@@ -19,7 +19,7 @@ COMMENT= Highly configurable clock plasmoid for KDE4
LICENSE= GPLv2
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_GETTEXT= yes
USE_KDE4= automoc4 kdeprefix workspace
USE_QT4= qmake_build moc_build rcc_build uic_build
diff --git a/x11-clocks/plasma-applet-geekclock/Makefile b/x11-clocks/plasma-applet-geekclock/Makefile
index 2c31a6ebbf31..314435ca77d0 100644
--- a/x11-clocks/plasma-applet-geekclock/Makefile
+++ b/x11-clocks/plasma-applet-geekclock/Makefile
@@ -16,7 +16,7 @@ DISTNAME= geek-clock-plasmoid-${PORTVERSION}-src
MAINTAINER= jhale@FreeBSD.org
COMMENT= Geeky analog clock plasma applet for KDE4
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= automoc4 kdeprefix kdelibs workspace
USE_QT4= gui dbus network opengl svg webkit xml \
qmake_build moc_build rcc_build uic_build
diff --git a/x11-fm/krusader2/Makefile b/x11-fm/krusader2/Makefile
index b7eb5b54b1dc..1c00bd3dcc51 100644
--- a/x11-fm/krusader2/Makefile
+++ b/x11-fm/krusader2/Makefile
@@ -10,12 +10,11 @@ MAINTAINER= fluffy@FreeBSD.org
COMMENT= Twin panel file manager for KDE, like midnight or norton commander
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake:outsource
USE_GETTEXT= yes
USE_KDE4= kdelibs kdeprefix kdehier automoc4
USE_QT4= moc_build qmake_build rcc_build uic_build
-CMAKE_OUTSOURCE= yes
MAKE_JOBS_SAFE= yes
LATEST_LINK= ${PORTNAME}2
diff --git a/x11-fm/ultracopier/Makefile b/x11-fm/ultracopier/Makefile
index 3795e768e8ae..358488aa05f0 100644
--- a/x11-fm/ultracopier/Makefile
+++ b/x11-fm/ultracopier/Makefile
@@ -24,7 +24,7 @@ USE_KDE4= automoc4 kdelibs
USE_QT4= corelib dbus gui moc_build network qmake_build rcc_build svg \
uic_build xml xmlpatterns
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DCMAKE_BUILD_KDE4:bool=true
MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/x11-fonts/fontmatrix/Makefile b/x11-fonts/fontmatrix/Makefile
index a553ce1122b1..95e885efc7d4 100644
--- a/x11-fonts/fontmatrix/Makefile
+++ b/x11-fonts/fontmatrix/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicol
USE_QT4= gui svg network moc_build uic_build rcc_build qmake_build linguist_build
INSTALLS_ICONS= yes
-USE_CMAKE= yes
+USES= cmake
OPTIONS_DEFINE= FONTFORGE
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
diff --git a/x11-themes/gtk-oxygen-engine/Makefile b/x11-themes/gtk-oxygen-engine/Makefile
index ee44b23ba504..ae3f94cb7408 100644
--- a/x11-themes/gtk-oxygen-engine/Makefile
+++ b/x11-themes/gtk-oxygen-engine/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo \
USE_BZIP2= yes
USE_GNOME= gtk20
-USE_CMAKE= yes
+USES= cmake
USE_PKGCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/x11-themes/gtk-qt4-engine/Makefile b/x11-themes/gtk-qt4-engine/Makefile
index 6fe3d72b2a2e..75098c200930 100644
--- a/x11-themes/gtk-qt4-engine/Makefile
+++ b/x11-themes/gtk-qt4-engine/Makefile
@@ -14,7 +14,7 @@ USE_BZIP2= yes
USE_GETTEXT= yes
USE_GNOME= gtk20
USE_QT4= moc_build rcc_build uic_build qmake_build
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdelibs kdeprefix automoc4
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_JOBS_SAFE= yes
diff --git a/x11-themes/gtk3-oxygen-engine/Makefile b/x11-themes/gtk3-oxygen-engine/Makefile
index c0d2e6bc9ad4..d2adf481fc29 100644
--- a/x11-themes/gtk3-oxygen-engine/Makefile
+++ b/x11-themes/gtk3-oxygen-engine/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo \
USE_BZIP2= yes
USE_GNOME= gtk30
-USE_CMAKE= yes
+USES= cmake
USE_PKGCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/x11-themes/kde-gtk-config/Makefile b/x11-themes/kde-gtk-config/Makefile
index 78e791e91203..afd17937cb70 100644
--- a/x11-themes/kde-gtk-config/Makefile
+++ b/x11-themes/kde-gtk-config/Makefile
@@ -10,11 +10,10 @@ MAINTAINER= kde@FreeBSD.org
COMMENT= GTK2 and GTK3 Configurator for KDE
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake:outsource
USE_GNOME= gtk20 gtk30
USE_KDE4= automoc4 kdelibs kdeprefix
USE_QT4= moc_build qmake_build rcc_build uic_build
-CMAKE_OUTSOURCE= yes
post-patch:
cd ${WRKSRC}/src && \
diff --git a/x11-themes/kde4-style-bespin/Makefile b/x11-themes/kde4-style-bespin/Makefile
index 4a7cd8ebb6d4..f0d9670f9968 100644
--- a/x11-themes/kde4-style-bespin/Makefile
+++ b/x11-themes/kde4-style-bespin/Makefile
@@ -20,6 +20,6 @@ IGNORE= does not build with KDE SC 4.8
WRKSRC= ${WRKDIR}/cloudcity
USE_KDE4= kdelibs kdehier kdeprefix automoc4 workspace
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
.include <bsd.port.mk>
diff --git a/x11-themes/kde4-style-nitrogen/Makefile b/x11-themes/kde4-style-nitrogen/Makefile
index b810cffed3ea..72602727543a 100644
--- a/x11-themes/kde4-style-nitrogen/Makefile
+++ b/x11-themes/kde4-style-nitrogen/Makefile
@@ -19,6 +19,6 @@ COMMENT= KDE style with animations
WRKSRC= ${WRKDIR}/kde4-kstyle-nitrogen-${PORTVERSION}-Source
USE_KDE4= kdelibs kdehier kdeprefix automoc4
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
.include <bsd.port.mk>
diff --git a/x11-themes/kde4-style-oxygen-transparent/Makefile b/x11-themes/kde4-style-oxygen-transparent/Makefile
index ae72bdc33d5a..65a792e847de 100644
--- a/x11-themes/kde4-style-oxygen-transparent/Makefile
+++ b/x11-themes/kde4-style-oxygen-transparent/Makefile
@@ -12,7 +12,7 @@ COMMENT= KDE oxygen style with transparency
USE_KDE4= kdelibs kdehier kdeprefix workspace automoc4
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
USE_XZ= yes
.include <bsd.port.mk>
diff --git a/x11-themes/kde4-style-polyester/Makefile b/x11-themes/kde4-style-polyester/Makefile
index 796fbd8f9664..7c030eca2c81 100644
--- a/x11-themes/kde4-style-polyester/Makefile
+++ b/x11-themes/kde4-style-polyester/Makefile
@@ -18,6 +18,6 @@ COMMENT= KDE style and window decoration
USE_BZIP2= yes
USE_KDE4= kdelibs kdehier kdeprefix automoc4
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
.include <bsd.port.mk>
diff --git a/x11-themes/kde4-style-skulpture/Makefile b/x11-themes/kde4-style-skulpture/Makefile
index 4a3e1dccfbf8..9a3bc0146e77 100644
--- a/x11-themes/kde4-style-skulpture/Makefile
+++ b/x11-themes/kde4-style-skulpture/Makefile
@@ -19,6 +19,6 @@ COMMENT= KDE style featuring 3D artwork and enhanced the visual experience
USE_BZIP2= yes
USE_KDE4= kdelibs kdehier kdeprefix automoc4 workspace
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
.include <bsd.port.mk>
diff --git a/x11-themes/kde4-windeco-crystal/Makefile b/x11-themes/kde4-windeco-crystal/Makefile
index 8d7c24850e0b..4cf5ffca4020 100644
--- a/x11-themes/kde4-windeco-crystal/Makefile
+++ b/x11-themes/kde4-windeco-crystal/Makefile
@@ -21,7 +21,7 @@ LICENSE= GPLv2
USE_BZIP2= yes
USE_KDE4= kdelibs kdehier kdeprefix automoc4 workspace
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.include <bsd.port.mk>
diff --git a/x11-themes/kde4-windeco-dekorator/Makefile b/x11-themes/kde4-windeco-dekorator/Makefile
index d37c5242a654..ab9c85689c07 100644
--- a/x11-themes/kde4-windeco-dekorator/Makefile
+++ b/x11-themes/kde4-windeco-dekorator/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= qimageblitz.4:${PORTSDIR}/x11/qimageblitz
USE_BZIP2= yes
USE_KDE4= kdelibs kdehier kdeprefix automoc4 workspace
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.include <bsd.port.mk>
diff --git a/x11-themes/kde4-windeco-nitrogen/Makefile b/x11-themes/kde4-windeco-nitrogen/Makefile
index 39e714b6ea85..03a623aea5ac 100644
--- a/x11-themes/kde4-windeco-nitrogen/Makefile
+++ b/x11-themes/kde4-windeco-nitrogen/Makefile
@@ -14,7 +14,7 @@ COMMENT= KDE4 window decoration
USE_KDE4= kdelibs kdehier kdeprefix automoc4 workspace
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
-USE_CMAKE= yes
+USES= cmake
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}-Source
.include <bsd.port.mk>
diff --git a/x11-themes/qtcurve-gtk2/Makefile b/x11-themes/qtcurve-gtk2/Makefile
index dea8b13ab6fc..aef31c65e538 100644
--- a/x11-themes/qtcurve-gtk2/Makefile
+++ b/x11-themes/qtcurve-gtk2/Makefile
@@ -13,7 +13,7 @@ MAINTAINER= makc@FreeBSD.org
COMMENT= QtCurve GTK2 Theme Engine
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_GNOME= gtk20
.include <bsd.port.pre.mk>
diff --git a/x11-themes/qtcurve-kde3/Makefile b/x11-themes/qtcurve-kde3/Makefile
index d5a0c8eb6962..0fce4f69e4ea 100644
--- a/x11-themes/qtcurve-kde3/Makefile
+++ b/x11-themes/qtcurve-kde3/Makefile
@@ -17,7 +17,7 @@ MAINTAINER= 5u623l20@gmail.com
COMMENT= QtCurve KDE3 widget style
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_QT_VER= 3
CMAKE_ARGS= -DQT_PLUGINS_DIR=${PREFIX}/lib/plugins
diff --git a/x11-themes/qtcurve-kde4/Makefile b/x11-themes/qtcurve-kde4/Makefile
index 2093312041b2..207ce069b1bd 100644
--- a/x11-themes/qtcurve-kde4/Makefile
+++ b/x11-themes/qtcurve-kde4/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= makc@FreeBSD.org
COMMENT= QtCurve KDE4 widget style
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_QT4= corelib qmake_build uic_build moc_build rcc_build
USE_KDE4= kdelibs workspace kdehier kdeprefix automoc4
diff --git a/x11-themes/qtcurve-qt4/Makefile b/x11-themes/qtcurve-qt4/Makefile
index ef21de0e8482..5d06431282fc 100644
--- a/x11-themes/qtcurve-qt4/Makefile
+++ b/x11-themes/qtcurve-qt4/Makefile
@@ -14,7 +14,7 @@ CONFLICTS_BUILD= qt-3.* qt-copy-3.*
USE_BZIP2= yes
USE_GCC= 4.2+
-USE_CMAKE= yes
+USES= cmake
USE_QT4= dbus gui svg imageformats_run \
qmake_build uic_build moc_build rcc_build
CFLAGS+= -I${LOCALBASE}/include
diff --git a/x11-toolkits/attica/Makefile b/x11-toolkits/attica/Makefile
index 66f4d1c303c7..a76da3d1e229 100644
--- a/x11-toolkits/attica/Makefile
+++ b/x11-toolkits/attica/Makefile
@@ -15,7 +15,7 @@ USE_QT4= network qtestlib_build xml \
moc_build qmake_build rcc_build uic_build
USE_BZIP2= yes
USE_LDCONFIG= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DATTICA_ENABLE_TESTS:BOOL=OFF
MAKE_JOBS_SAFE= yes
diff --git a/x11-toolkits/gigi/Makefile b/x11-toolkits/gigi/Makefile
index 1180820ab532..79b657c0ec40 100644
--- a/x11-toolkits/gigi/Makefile
+++ b/x11-toolkits/gigi/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= IL.2:${PORTSDIR}/graphics/devil \
freetype.9:${PORTSDIR}/print/freetype2
USE_GCC= 4.4+
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DBUILD_TUTORIALS:BOOL=OFF
USE_BZIP2= yes
USE_SDL= sdl
diff --git a/x11-toolkits/sakura/Makefile b/x11-toolkits/sakura/Makefile
index 13eeb911908e..d9e60e8c0f2f 100644
--- a/x11-toolkits/sakura/Makefile
+++ b/x11-toolkits/sakura/Makefile
@@ -16,7 +16,7 @@ COMMENT= A terminal emulator based on GTK and VTE
USE_GNOME= vte
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
USE_BZIP2= yes
USE_PKGCONFIG= build
diff --git a/x11-toolkits/shared-desktop-ontologies/Makefile b/x11-toolkits/shared-desktop-ontologies/Makefile
index c120dc265440..7e441fcf9417 100644
--- a/x11-toolkits/shared-desktop-ontologies/Makefile
+++ b/x11-toolkits/shared-desktop-ontologies/Makefile
@@ -17,7 +17,7 @@ CMAKE_ARGS+= -DPKGCONFIG_INSTALL_DIR:PATH="libdata/pkgconfig/"
INSTALL_TARGET= install
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_GNOME= pkgconfig
post-patch:
diff --git a/x11-toolkits/termit/Makefile b/x11-toolkits/termit/Makefile
index c8db9827ab20..c5d39bc25629 100644
--- a/x11-toolkits/termit/Makefile
+++ b/x11-toolkits/termit/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
xcb:${PORTSDIR}/x11/libxcb
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_PKGCONFIG= build
USE_ICONV= yes
USE_LUA= yes
diff --git a/x11-toolkits/vtkfox/Makefile b/x11-toolkits/vtkfox/Makefile
index 8b770436fe9a..7c43d381d0d4 100644
--- a/x11-toolkits/vtkfox/Makefile
+++ b/x11-toolkits/vtkfox/Makefile
@@ -33,8 +33,7 @@ LIB_DEPENDS+= FOX-1.7:${PORTSDIR}/x11-toolkits/fox17
CMAKE_ARGS+= -DFOX17:BOOL=TRUE
.endif
-USE_CMAKE= yes
-CMAKE_OUTSOURCE=yes
+USES= cmake:outsource
USE_LDCONFIG= yes
PLIST_FILES= include/vtkfox/FXVTKCanvas.h \
diff --git a/x11-wm/awesome/Makefile b/x11-wm/awesome/Makefile
index 2b808c82a686..6e87dc263ccd 100644
--- a/x11-wm/awesome/Makefile
+++ b/x11-wm/awesome/Makefile
@@ -34,7 +34,7 @@ LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo \
USE_XZ= yes
USE_ICONV= yes
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS+= -DSYSCONFDIR=${PREFIX}/etc
USE_EFL= imlib2
USE_GNOME= glib20 pango
diff --git a/x11-wm/pawm/Makefile b/x11-wm/pawm/Makefile
index 92b0d399f8a0..3dbb11e6d623 100644
--- a/x11-wm/pawm/Makefile
+++ b/x11-wm/pawm/Makefile
@@ -11,7 +11,7 @@ COMMENT= The Puto Amo Window Manager
USE_BZIP2= yes
USE_XORG= x11 xft xrandr xrender xpm
-USE_CMAKE= yes
+USES= cmake
CMAKE_ARGS= -DCMAKE_CONFIG_PREFIX:STRING="${PREFIX}/etc" \
-DX11_LIBRARY_DIRS:STRING="${LOCALBASE}/lib"
diff --git a/x11/bmpanel2/Makefile b/x11/bmpanel2/Makefile
index 1d6db733d487..d9b346ebd319 100644
--- a/x11/bmpanel2/Makefile
+++ b/x11/bmpanel2/Makefile
@@ -11,7 +11,7 @@ COMMENT= Nice, lightweight NETWM compliant panel for X11
LICENSE= MIT
-USE_CMAKE= yes
+USES= cmake
USE_GNOME= pango
USE_XORG= x11 xext
diff --git a/x11/gnome-pie/Makefile b/x11/gnome-pie/Makefile
index 81590b514254..0415f194f1b8 100644
--- a/x11/gnome-pie/Makefile
+++ b/x11/gnome-pie/Makefile
@@ -60,7 +60,7 @@ REINPLACE_ARGS= -e 's,%%DATADIR%%,${DATADIR},1' \
SUB_FILES= pkg-message
SUB_LIST= PORTSDIR=${PORTSDIR}
-USE_CMAKE= yes
+USES= cmake
USE_GITHUB= yes
USE_GNOME= gconf2 gnomemenus gtk20 libwnck
USE_PKGCONFIG= build
diff --git a/x11/qimageblitz/Makefile b/x11/qimageblitz/Makefile
index 804f11731432..d81f1531307f 100644
--- a/x11/qimageblitz/Makefile
+++ b/x11/qimageblitz/Makefile
@@ -18,7 +18,7 @@ COMMENT= Graphical effects and filters library for KDE4
USE_BZIP2= yes
USE_LDCONFIG= yes
USE_QT4= gui qmake_build moc_build uic_build rcc_build
-USE_CMAKE= yes
+USES= cmake
post-patch:
${REINPLACE_CMD} -e \
diff --git a/x11/qxkb/Makefile b/x11/qxkb/Makefile
index b6a0130bc792..d87c1b8a2d2c 100644
--- a/x11/qxkb/Makefile
+++ b/x11/qxkb/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv3
LIB_DEPENDS= xkbfile:${PORTSDIR}/x11/libxkbfile
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_QT4= qmake_build linguist_build moc_build rcc_build uic_build \
corelib gui svg
diff --git a/x11/rsibreak-kde4/Makefile b/x11/rsibreak-kde4/Makefile
index aafe9e6470e9..28695ace8f44 100644
--- a/x11/rsibreak-kde4/Makefile
+++ b/x11/rsibreak-kde4/Makefile
@@ -18,7 +18,7 @@ LATEST_LINK= ${PORTNAME}-kde4
USE_BZIP2= yes
USE_GETTEXT= yes
-USE_CMAKE= yes
+USES= cmake
USE_QT4= qmake_build moc_build rcc_build uic_build
USE_KDE4= kdehier kdeprefix kdelibs automoc4
INSTALLS_ICONS= yes
diff --git a/x11/slim/Makefile b/x11/slim/Makefile
index 1022e54211c1..1f0911f0fee4 100644
--- a/x11/slim/Makefile
+++ b/x11/slim/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= dbus-1:${PORTSDIR}/devel/dbus \
xcb:${PORTSDIR}/x11/libxcb \
fontconfig:${PORTSDIR}/x11-fonts/fontconfig
-USE_CMAKE= yes
+USES= cmake
USE_XORG= ice sm x11 xau xdmcp xext xft xmu xorg-server xrender xt
USE_PKGCONFIG= build
USE_RC_SUBR= slim
diff --git a/x11/tint/Makefile b/x11/tint/Makefile
index be0923b94c18..e2173e257b82 100644
--- a/x11/tint/Makefile
+++ b/x11/tint/Makefile
@@ -15,7 +15,7 @@ MAKE_JOBS_SAFE= yes
PROJECTHOST= tint2
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_GNOME= pango glib20
USE_XORG= xinerama xrandr xdamage xcomposite
USE_EFL= imlib2
diff --git a/x11/yakuake-kde4/Makefile b/x11/yakuake-kde4/Makefile
index fd3116b40025..14296730384e 100644
--- a/x11/yakuake-kde4/Makefile
+++ b/x11/yakuake-kde4/Makefile
@@ -15,7 +15,7 @@ COMMENT= Drop-down terminal emulator for KDE
LICENSE= GPLv2
USE_BZIP2= yes
-USE_CMAKE= yes
+USES= cmake
USE_KDE4= kdelibs kdeprefix automoc4
.include <bsd.port.options.mk>