summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-03-22 20:06:14 +0000
committermakc <makc@FreeBSD.org>2013-03-22 20:06:14 +0000
commit071186fd6d22f1abd16554cae92bf26af9d1cb4e (patch)
treeb368198f913179c06dafd19ac72527fcf9836f6d
parenteda1ae8e7cf50659cf0b55fefdcae532e6ad0405 (diff)
downloadFreeBSD-ports-071186fd6d22f1abd16554cae92bf26af9d1cb4e.zip
FreeBSD-ports-071186fd6d22f1abd16554cae92bf26af9d1cb4e.tar.gz
- convert USE_CMAKE to USES
- while here clean up some ports from CMAKE_VERBOSE, which is intended for users Approved by: portmgr (miwi)
-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 a79d37a..7df7e34 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 f3aba03..af289bb 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 a95b694..2b9a0c1 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 6919c18..2c15c2c 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 b3caa95..2b32bfb 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 876ecac..2e38b0e 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 b916143..77e42bc 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 d43a34f..4380a7f 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 ad5c90c..7dd9465 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 2683622..3493e5d 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 412034f..e2c0ee3 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 b735395..3a4a3c5 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 535f2e6..8fa9096 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 ed74987..e7dc820 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 fa0a46e..e33f55f 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 10f08e7..4273bdc 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 f766a83..200eefa 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 0e8f2a0..a72c1e8 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 bd055fa..8aa5730 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 b6f3af2..69060265 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 fb7c5e1..9ae81f3 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 ea61ab3..5d26b77 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 b792e4b..62007ef 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 b7981aa..10de8fe 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 dab8d70..db59455 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 215e8c2..ad72f26 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 b1e6715..f07dbbf 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 5418272..5c1b203 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 d9e7acc..ecad5b3 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 ed962ef..38b9fd1 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 efaca9d..bec8dec 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 5baf37a..13bb0a1 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 70e847f..608e47a 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 77dbb5e..6216dce 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 82686c2..3b40a98 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 733bb95..7a32b86 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 5fabc1d..eb03591 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 928e5f36..1293fb5 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 489a238..288ca47 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 327205e..f166fb9 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 84bbb89..db1d664 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 514213d..6321ae5 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 81220fe..709b756 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 2057049..d123cee 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 e1877b4..6789efd 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 374ebfa..d2f9a47 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 979c898..82bed0d 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 afdf1d8..6f788df 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 c501a8c..9e67fed 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 b1c4d3c..b018b3f 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 930cf3f..f002b1e 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 bc61181..a34f295 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 79b53b3..a89400a 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 cc67e44..e97362a 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 e5bf46f..620acaf 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 81f9cd2..c2d7812 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 1e2a9ca..7b37f94 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 ba21ac2..c8c4a10 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 173465c..9f5d1ec 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 58d4378..16ba5fc 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 3100976..93b0a8e 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 f9fabd4..c0a997f 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 2abe263..7e6c261 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 209a524..ece1545 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 71f961f..ac62397 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 52d30de..b2e0719 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 5940895..5fb2caa 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 e53ce5a..f2fbf32 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 d12b9e0..284071b 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 ccba337..bd65f2b 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 35d19c6..aa40e4f 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 7f0c083..960500b 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 e4aac3d..5abd998 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 a2d9061..13d2b52 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 edc7167..c4428b0 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 a400105..235a7a0 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 d2ccacc..a8ca545 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 d2e24ed..a5e2026 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 03bb57a..1e4acfd 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 435362b..0fa447b 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 2f8803f..9d9a3f4 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 03b8d17..87a4d4d 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 f3d9ab9..8788a90 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 3c412da..c9cbd15 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 007bde3..9bbf935 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 d208a45..d90ab96 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 d143d79..13f0480 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 982aebf..8a60f69 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 105a72a..b2d8c0b 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 ba4454c..4f12b93 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 a047e53..9607d18 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 e97e0e2..9d2b210 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 ff20abb..a047d4f 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 d4827b0..3f35c80 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 d2dda5f..25c82ed 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 aa0fc7d..636b107 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 707f929..360cbad 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 bea5454..c7e2bd9 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 05f45a8..0270340 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 eb0f52b..99ab022 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 688b02c..7aaf8de 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 a056059..e00f369 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 7b2b756..d894f77 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 a3c35a1..14094fd 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 e058fd7..399ed6c 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 d5cf52a..fcf111d 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 42369a9..d201b0e 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 6c7713d..8666242 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 a53cfa4..4abf1b4 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 ba0ce68..0ea05d9 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 98438d6..be95471 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 bdad339..42f3745 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 bcd7c85..094ab00 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 17eb2d82..ba00725 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 32d5a6c..ceabe4a 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 295f425..9428b3d 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 77c5ed2..76faa93 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 468055b..f85c3e7 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 66f4e49..cc7dbdb 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 14538a8..90dccb7 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 5f110c5..c13b776 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 a9533f8..8f7808a 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 1a1a921..71f1319 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 2656104..10a5005 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 8a3cae5..b1c9fad 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 5fcfcfb..f22e067 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 92dc584..c33dac9 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 a9b032d..ace9d54 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 5f01eaa..0a37b87 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 06f7b51..3a3496b 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 3fd799d..f1d66b8 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 88bdc96..1403e43 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 0cbaaab..16c7b9d 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 a293011..a5f6870 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 2bb1589..607b601 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 56cd6e7..061026e 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 0335353..2866c91 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 597ebc9..da75da1 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 1c2824a..5baacee 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 6ac416e..db1df93 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 8fb035b..85f6109 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 d053c2a..4350e6e 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 d1b8417..6dceda0 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 7ec9714..6b63323 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 ba14704..a5ab360 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 84f6ce1..8bc891e 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 ef05b3d..11d75b4 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 43de432..0b7e4a0 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 16c82b8..05d4d79 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 a704ed6..11903d5 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 ae4a5e2..5c28a94 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 e37b3df..2c724cc 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 8d9e036..38760b1 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 cef1920..8f6d90e 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 aa69de4..26b49a3 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 3270e8f..0f285cd 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 19f8710..1b11f98 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 0980866a..4af935f 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 bd23095..7f13edc 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 6110d5c..c48d3f3 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 092340a..41509f3 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 9e56f54..efea39d 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 fbc5d20..4e17a52 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 36dbd5a..725a45d 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 c75d056..e97e503 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 3d01e79..7b6ffc3 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 bf7caf9..ff603c2 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 4083bb8..e498ea0 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 10e53b4..1690fc9 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 e3277b4..2141777 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 5a00c9a..c2426dc 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 927c170..7ef7498 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 87fd3a7..9348b31 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 06029ab..ec39141 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 f7cac8b..de9b46f 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 3d4b686..3723695 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 00fd26a..051b43c 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 d571d9a..b599a46 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 a3a90c7..6d0c2c7 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 8bae1ff..1648896 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 9deb1b5..53cb667 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 1bc85bf..bb32998 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 550bdab..e805603 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 cccd6ab..ed89840 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 bf85c33..409a766 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 36a7279..dcecc29 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 713161a..58e8dd6 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 f22c7db..26896e0 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 4afd3d6..3db2b92 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 29fdf71..3bf50dd 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 a8d998d..7859734 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 1ca6c3b..2060416 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 da0bf2d..95238bc 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 e06f7ce..d9725bb 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 ab46429..399ec4e 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 c2f39ce..e4fd6df 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 6bccdc8..63d05b6 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 c9b15f6..b0b508b 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 76591c3..91fa46d 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 8de4185..85d1350 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 c160295..f9e4313 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 96164a7..ad3fb3c 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 06a7091..f22c43c 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 6f13f54..1af8062 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 414cdc7..8844516 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 2bd7daf..b2228f6 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 3f32c74..7a312ae 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 15514d1..2efaf95 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 11d3abe..6d32723 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 cd073da..ef83efd 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 69ed6d9..1db7964 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 0355d2c..3dfcde1 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 1c25847..20ea6cf 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 b96ebea..9d0b3ae 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 28d257d..bc7364d 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 436e3af..5e2f1d9 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 d6217f0..6bb578f 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 a9941a0..be06985 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 cc0aa48..991f4d2 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 6f678ff..31128f4 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 3d56a1a..078a83c 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 6d77aeb..6305b1c 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 28b6ed3..711e9db 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 750d9a0..1642e23 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 41424aa..014ce87 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 25ff791..ee561c7 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 d44a509..43ba1d3 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 bf7d650..d580dea 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 0cc0a93..9818882 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 2381b5c..f9b4424 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 a4d6793..41b98ef 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 a7b331d..1a84568 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 42ea0c9..2325e9c 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 27cb288..da9626f 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 080018a..b43c004 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 c72756a..e6fce3f 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 60ee0de..c08b61b 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 76d686b..29d2dba 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 446cfdf..f1d95a0 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 b936484..d001c1c 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 e8732ec..0ee21c4 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 c874e7e..20d6b7e 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 e8f4b3f..91b282e 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 57d44ce..832d616 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 f54531e..29c0374 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 7f75d96..656cf7a 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 4a5bfc4..b527f17 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 736b970..9d81feb 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 3e3b06e..3301843 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 749d8e7..baa5850 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 b6c5cf5..da476a7 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 977d29d..aaa4f97 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 e3a36ac..884a4ac 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 fae9c96..63d322f 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 fba5ee7..311e5b2 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 9d6da17..efbee76 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 ca98a52..9777a6d 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 f8b01b7..f1408ee 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 2a8469c..b1cb542 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 c980009..545cc49 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 6e4bf32..29526f4 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 aec1068..f371ad8 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 855017e..484dd1a 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 b3e7f0c..db60aa9 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 fc44f1d..374cd1e 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 86d9d50..d6aa462 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 5d90f7e..331565a 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 c9d26e7..5e897ef 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 2aca42a..8b10a59 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 99a0e9c..673968f 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 dec6706..7fa410c 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 114338c..14274ec 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 8167aed..b9a9325 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 a9f37fe..f73bdfe 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 58e7151..09c1365 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 80223dc..0347827 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 8e31784..e82733d 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 aadc021..ee52d24 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 3280106..342904a 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 2e447bf..8bee3f6 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 d8ad209..9d2559e 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 da843f2..0c37b14 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 308faca..721b4e6 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 dc9794a..ab6e230 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 8c82eb4..c043ced 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 97c3ab7..a2b7a4e 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 edd722c..c374556 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 6489fd6..6ffe79e 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 2f4e08c..ef54685 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 cab3c52..5f1de1f 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 a466eee..4f9b575 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 8435e65..9a7cae1 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 5473039..4354da0 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 34f3852..8857838 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 8083898..eb7a7f1 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 835fd53..559351f 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 2b2816c..9928758 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 46b9efb..a7911c43 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 e7ba6f0..134c015 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 9337233..a2f52bf 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 034006a..4bb9732 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 b342345..b959e00 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 8f6fd85..bf756e0 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 2b20c72..5471a92 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 e93bd743..f6b1090 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 d1fdac2..77b10a6 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 b6eee27..3604d00 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 615eed3..6550cd6 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 934916c..3a38308 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 6fe4f10..76abeba 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 0f4ae7c..91668c3 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 e0573cb..9d21406 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 c11f080..7359b23 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 720254d..7520fd6 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 072e16a..f9c480e 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 f3eeb5a..4785f56 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 5dac001..35aff40 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 b24af87..6de9f5f 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 b4fa506..d369a93 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 b9ce62c..72856fc 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 8bb8d4c..6d9316e 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 547d129..abc30b4 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 0c398d2..0a855bc 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 c62b8ab..88e6229 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 24ca2f7..c1ff48a 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 68fc5a3..d30a63e 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 293bf4b..ce83b99 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 0928381..86b5583 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 354dfd9..d8681d6 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 8fe81cc..a96f045 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 8460017..f372bb0 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 3cec140..8ee9e51 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 96bdf4d..25ae614 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 949264c..e9ce84b 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 de515fa..008d2d4 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 9eccb49..3cc70ec 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 d14be2d..0a69edb 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 b492fce..e8a8a84 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 45251be..b5d6f83 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 6f27809..2753f16 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 67d7d37..564390c 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 82c6893..70999d8 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 98cfdc4..cffe4b0 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 43d5771..2f4a6bb 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 8da92e3..ac042ee 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 a785660..30a18d6 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 184e410..d109ff7 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 8200edd..a9196b0 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 49488c5..d8281e0 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 c8d5992..78b2e49 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 8587e87..9966792 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 8fe5a9d..283d274 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 5983a9f..caedbb2 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 ce029f0..3d52365 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 d3cc116..9be1749 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 9b2a2db..2473ddf 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 86ed3ab..8385930 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 d04db0b..9dfcb82 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 192227b..29e7b0a 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 ffd194e..cdaa889 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 b20afe9..407cc77 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 f48e2b6..e0c8817 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 9e52b76..dffd187 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 92bce24..7095f57 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 c9e7fa7..75a1ec2 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 b854d5b..4a0fd22 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 d9e867c..126cc2b 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 74b2c0a..9cb3a30 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 07fdacc..1cf3ec2 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 00fabe4..0d9536d 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 15d1ec0..dc70a32 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 18cf53b..7ce6933 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 a064f4d..ece8f37 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 425dfd0..705bbc6 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 64ef58f..4370731 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 8353481..84886ba 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 47e78bf..c0e2422 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 fb7a5f8..63a119c 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 af21582..97a8b6c 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 e64b356..529248a 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 1147507..62b9d9f 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 f373a78..dd8c257 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 9458adc..c833c4c 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 fbca981..a4a61ea 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 290eef9..bc5c8f9 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 e492f5d..42e2a87 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 a62142e..49747e4 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 b58c184..ac23ea8 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 c98feed..4f8a735 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 c0f5d68..d85b2db 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 ff3c6e2..838b09c 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 ca07328..ec67075 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 89c58fe..5348a9a 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 d12329e..0ce4953 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 4c59a7b..2cf4014 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 1f136dc..f21f66f 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 d51a5fd..c401ab5 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 23a2925..f6b5683 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 d3de713..ab74c7d 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 bff7b4a..2b62918 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 93bce4b..6660cc6 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 e3d2a7153..f0de90f 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 0c015ca..8355c1f 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 e7c1d77..6e5ecfe 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 0620547..5795337 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 ae1aa83..19325a4 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 b7c311d..7508a57 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 1c5d5c3..7093142 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 3082e50..f219d54 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 675708a..62fb7b9 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 9be53d2..e242b94 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 6b6e0c8..b8300d8 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 93da7eb..9032a91 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 bf50ca0..b0b5ac1 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 70d6ccd..454cc0c 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 414d535..6ac9513 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 a01f86f..ce4410b 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 ceb9b91..5dc6d3b 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 5985ce8..7db9e0e 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 c54ce30..adde29e 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 6fc42d1..778f2e8 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 ad3569a..b9dfe47 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 534e6da..7a41f31 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 83db471a..e4b6d7a 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 08cec3d..4fa2236 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 519d9a8..1b8839c 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 9f9ce1c..0a8313c 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 3cf25de..2b65c43 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 2c31a6e..314435c 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 b7eb5b5..1c00bd3 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 3795e76..358488a 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 a553ce1..95e885e 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 ee44b23..ae3f94c 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 6fe3d72..75098c2 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 c0d2e6b..d2adf48 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 78e791e..afd1793 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 4a7cd8e..f0d9670 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 b810cff..7260272 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 ae72bdc..65a792e 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 796fbd8..7c030ec 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 4a3e1dc..9a3bc01 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 8d7c248..4cf5ffc 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 d37c524..ab9c856 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 39e714b..03a623a 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 dea8b13..aef31c6 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 d5a0c8e..0fce4f6 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 2093312..207ce06 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 ef21de0..5d06431 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 66f4d1c..a76da3d 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 1180820..79b657c 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 13eeb91..d9e60e8 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 c120dc2..7e441fc 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 c8db982..c5d39bc 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 8b77043..7c43d38 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 2b808c8..6e87dc2 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 92b0d39..3dbb11e 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 1d6db73..d9b346e 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 81590b5..0415f19 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 804f117..d81f153 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 b6a0130..d87c1b8 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 aafe9e6..28695ac 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 1022e54..1f0911f 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 be0923b..e2173e2 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 fd3116b..1429673 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>
OpenPOWER on IntegriCloud