aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/eiskaltdcpp-qt
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2012-06-06 06:44:37 +0000
committerMartin Wilke <miwi@FreeBSD.org>2012-06-06 06:44:37 +0000
commit9c2f65e3958e906d7f49ce94318d22defb3fffb2 (patch)
treebc087bd13fb3e313884021b8e0a5e2046e75d491 /net-p2p/eiskaltdcpp-qt
parent7db146587f345a51482b4b1c314fe71cfeb37e6c (diff)
downloadports-9c2f65e3958e906d7f49ce94318d22defb3fffb2.tar.gz
ports-9c2f65e3958e906d7f49ce94318d22defb3fffb2.zip
Notes
Diffstat (limited to 'net-p2p/eiskaltdcpp-qt')
-rw-r--r--net-p2p/eiskaltdcpp-qt/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/net-p2p/eiskaltdcpp-qt/Makefile b/net-p2p/eiskaltdcpp-qt/Makefile
index ef7d0a15ca89..c37850f0d63e 100644
--- a/net-p2p/eiskaltdcpp-qt/Makefile
+++ b/net-p2p/eiskaltdcpp-qt/Makefile
@@ -45,8 +45,7 @@ OPTIONS= ASPELL "Build with aspell support" off \
SQLITE "SQLite support (experimental)" off \
MINIUPNP "UPnP support" on
-USE_QT_VER= 4
-QT_COMPONENTS= gui xml network qmake_build uic_build \
+USE_QT4= gui xml network qmake_build uic_build \
moc_build rcc_build linguist_build
CMAKE_ARGS+= -DUSE_QT:BOOL=ON
CMAKE_ARGS+= -DUSE_GTK:BOOL=OFF
@@ -75,14 +74,14 @@ CMAKE_ARGS+= -DFREE_SPACE_BAR_C:BOOL=OFF
.if defined(WITH_DBUS_NOTIFY) && !defined(WITHOUT_DBUS)
CMAKE_ARGS+= -DDBUS_NOTIFY:BOOL=ON
-QT_COMPONENTS+= dbus
+USE_QT4+= dbus
.else
CMAKE_ARGS+= -DDBUS_NOTIFY:BOOL=OFF
.endif
.if defined(WITH_QTSCRIPT)
CMAKE_ARGS+= -DUSE_JS:BOOL=ON
-QT_COMPONENTS+= script
+USE_QT4+= script
RUN_DEPENDS+= ${LOCALBASE}/lib/qt4/plugins/script/libqtscript_core.so:${PORTSDIR}/devel/qtscriptgenerator
PLIST_SUB+= QTSCRIPT=""
.else
@@ -92,14 +91,14 @@ PLIST_SUB+= QTSCRIPT="@comment "
.if defined(WITH_QML)
CMAKE_ARGS+= -DUSE_QT_QML:BOOL=ON
-QT_COMPONENTS+= declarative
+USE_QT4+= declarative
.else
CMAKE_ARGS+= -DUSE_QT_QML:BOOL=OFF
.endif
.if defined(WITH_SQLITE) && !defined(WITHOUT_SQLITE)
CMAKE_ARGS+= -DUSE_QT_SQLITE:BOOL=ON
-QT_COMPONENTS+= sql-sqlite3
+USE_QT4+= sql-sqlite3
.else
CMAKE_ARGS+= -DUSE_QT_SQLITE:BOOL=OFF
.endif