diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2011-10-05 22:59:55 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2011-10-05 22:59:55 +0000 |
commit | dbf80a46695ad7ab3c11bc9c6757ad94e6259c44 (patch) | |
tree | 7117c59c75461349f3adaf19c65b50fb355693b5 /net-p2p/eiskaltdcpp-qt/Makefile | |
parent | 8d5da2b0aecd1d11ba48c2d5b8f8b10f0f697345 (diff) | |
download | ports-dbf80a46695ad7ab3c11bc9c6757ad94e6259c44.tar.gz ports-dbf80a46695ad7ab3c11bc9c6757ad94e6259c44.zip |
Notes
Diffstat (limited to 'net-p2p/eiskaltdcpp-qt/Makefile')
-rw-r--r-- | net-p2p/eiskaltdcpp-qt/Makefile | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/net-p2p/eiskaltdcpp-qt/Makefile b/net-p2p/eiskaltdcpp-qt/Makefile index 1c17f54519af..994873afea57 100644 --- a/net-p2p/eiskaltdcpp-qt/Makefile +++ b/net-p2p/eiskaltdcpp-qt/Makefile @@ -6,7 +6,7 @@ # PORTNAME= eiskaltdcpp-qt -PORTVERSION= 2.1.1 +PORTVERSION= 2.2.1 CATEGORIES= net-p2p MASTER_SITES= GOOGLE_CODE DISTNAME= eiskaltdcpp-${DISTVERSION} @@ -14,14 +14,17 @@ DISTNAME= eiskaltdcpp-${DISTVERSION} MAINTAINER= gelraen.ua@gmail.com COMMENT= EiskaltDC++ Direct Connect client Qt GUI +LICENSE= GPLv3 + RUN_DEPENDS= ${LOCALBASE}/share/eiskaltdcpp/keep_me:${PORTSDIR}/net-p2p/eiskaltdcpp-data -LIB_DEPENDS+= eiskaltdcpp:${PORTSDIR}/net-p2p/eiskaltdcpp-lib +LIB_DEPENDS+= eiskaltdcpp:${PORTSDIR}/net-p2p/eiskaltdcpp-lib \ + execinfo:${PORTSDIR}/devel/libexecinfo CMAKE_ARGS+= -DBUILD_LIB:BOOL=OFF PROJECTHOST= eiskaltdc -USE_BZIP2= yes +USE_XZ= yes USE_GCC= 4.2+ USE_GETTEXT= yes USE_CMAKE= yes @@ -35,6 +38,8 @@ OPTIONS= ASPELL "Build with aspell support" off \ FREE_SPACE "Free space bar in status panel" on \ DBUS_NOTIFY "DBus notification support" on \ QTSCRIPT "QtScript support" off \ + QML "Qt Declarative ui support" off \ + SQLITE "SQLite support (experimental)" off \ MINIUPNP "UPnP support" on USE_QT_VER= 4 @@ -74,12 +79,27 @@ CMAKE_ARGS+= -DDBUS_NOTIFY:BOOL=OFF .if defined(WITH_QTSCRIPT) CMAKE_ARGS+= -DUSE_JS:BOOL=ON QT_COMPONENTS+= script +RUN_DEPENDS+= ${LOCALBASE}/lib/qt4/plugins/script/libqtscript_core.so:${PORTSDIR}/devel/qtscriptgenerator PLIST_SUB+= QTSCRIPT="" .else CMAKE_ARGS+= -DUSE_JS:BOOL=OFF PLIST_SUB+= QTSCRIPT="@comment " .endif +.if defined(WITH_QML) +CMAKE_ARGS+= -DUSE_QT_QML:BOOL=ON +QT_COMPONENTS+= 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 +.else +CMAKE_ARGS+= -DUSE_QT_SQLITE:BOOL=OFF +.endif + .if defined(WITH_MINIUPNP) LIB_DEPENDS+= miniupnpc:${PORTSDIR}/net/miniupnpc CMAKE_ARGS+= -DUSE_MINIUPNP:BOOL=ON -DLOCAL_MINIUPNP:BOOL=OFF |