aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/eiskaltdcpp-qt
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2016-07-01 04:02:43 +0800
committeradamw <adamw@FreeBSD.org>2016-07-01 04:02:43 +0800
commite2c38d6eca246ad91055de2bdaebfe5cff447454 (patch)
tree8b3e22b054d084e34040e8656cb76f2f6fb806d0 /net-p2p/eiskaltdcpp-qt
parentd90aa13c71b179143abbc37e521b47c33b9077c9 (diff)
downloadfreebsd-ports-gnome-e2c38d6eca246ad91055de2bdaebfe5cff447454.tar.gz
freebsd-ports-gnome-e2c38d6eca246ad91055de2bdaebfe5cff447454.tar.zst
freebsd-ports-gnome-e2c38d6eca246ad91055de2bdaebfe5cff447454.zip
Convert a couple ports that use both _CMAKE_ON and _CMAKE_OFF to _CMAKE_BOOL.
Use options helpers all the way in math/carve, because I couldn't help myself.
Diffstat (limited to 'net-p2p/eiskaltdcpp-qt')
-rw-r--r--net-p2p/eiskaltdcpp-qt/Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/net-p2p/eiskaltdcpp-qt/Makefile b/net-p2p/eiskaltdcpp-qt/Makefile
index c0f468f0da96..e04a78915081 100644
--- a/net-p2p/eiskaltdcpp-qt/Makefile
+++ b/net-p2p/eiskaltdcpp-qt/Makefile
@@ -38,27 +38,21 @@ BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}
INSTALL_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}
ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell
-ASPELL_CMAKE_ON= -DUSE_ASPELL:BOOL=ON
-ASPELL_CMAKE_OFF= -DUSE_ASPELL:BOOL=OFF
+ASPELL_CMAKE_BOOL= USE_ASPELL
-FREE_SPACE_CMAKE_ON= -DFREE_SPACE_BAR_C:BOOL=ON
-FREE_SPACE_CMAKE_OFF= -DFREE_SPACE_BAR_C:BOOL=OFF
+FREE_SPACE_CMAKE_BOOL= FREE_SPACE_BAR_C
DBUS_NOTIFY_USE= QT4=dbus
-DBUS_NOTIFY_CMAKE_ON= -DDBUS_NOTIFY:BOOL=ON
-DBUS_NOTIFY_CMAKE_OFF= -DDBUS_NOTIFY:BOOL=OFF
+DBUS_NOTIFY_CMAKE_BOOL= DBUS_NOTIFY
QTSCRIPT_USE= QT4=script
QTSCRIPT_RUN_DEPENDS= ${LOCALBASE}/lib/qt4/plugins/script/libqtscript_core.so:devel/qtscriptgenerator
-QTSCRIPT_CMAKE_ON= -DUSE_JS:BOOL=ON
-QTSCRIPT_CMAKE_OFF= -DUSE_JS:BOOL=OFF
+QTSCRIPT_CMAKE_BOOL= USE_JS
QML_USE= QT4=declarative
-QML_CMAKE_ON= -DUSE_QT_QML:BOOL=ON
-QML_CMAKE_OFF= -DUSE_QT_QML:BOOL=OFF
+QML_CMAKE_BOOL= USE_QT_QML
SQLITE_USE= QT4=sql-sqlite3
-SQLITE_CMAKE_ON= -DUSE_QT_SQLITE:BOOL=ON
-SQLITE_CMAKE_OFF= -DUSE_QT_SQLITE:BOOL=OFF
+SQLITE_CMAKE_BOOL= USE_QT_SQLITE
.include "${MASTERDIR}/Makefile"