diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2013-12-17 13:20:40 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2013-12-17 13:20:40 +0000 |
commit | 79104f9813359bb1e98e9b0858f97db7d98dfed0 (patch) | |
tree | 30b6170ceaa010665a36341527b64e803316d370 /net-im/licq-qt-gui | |
parent | 042a5028e8ead2f04f7f83838beb06b6d31cfe45 (diff) |
- use STAGEDIR
- use OPTIONS_DEFINE
Notes
Notes:
svn path=/head/; revision=336722
Diffstat (limited to 'net-im/licq-qt-gui')
-rw-r--r-- | net-im/licq-qt-gui/Makefile | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/net-im/licq-qt-gui/Makefile b/net-im/licq-qt-gui/Makefile index 9d4c1b743051..7638505abcf2 100644 --- a/net-im/licq-qt-gui/Makefile +++ b/net-im/licq-qt-gui/Makefile @@ -14,13 +14,20 @@ LICENSE= GPLv2 LIB_DEPENDS= libboost_regex.so:${PORTSDIR}/devel/boost-libs RUN_DEPENDS= ${LOCALBASE}/lib/licq/protocol_icq.so:${PORTSDIR}/${LICQ_PORT}-icq -NO_STAGE= yes - USE_XORG= x11 xext ice xscrnsaver USES= cmake USE_QT4= qmake_build moc_build rcc_build uic_build linguist_build -.if defined(WITH_KDE) +OPTIONS_DEFINE= KDE4 +OPTIONS_DEFAULT= + +LICQ_PORT?= net-im/licq + +.include <bsd.port.options.mk> + +.include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc" + +.if ${PORT_OPTIONS:MKDE4} KDE_SUFFIX= -kde USE_KDE4= kdelibs automoc4 CMAKE_ARGS+= -DWITH_KDE:BOOL=ON @@ -34,21 +41,4 @@ PLIST_SUB+= WITH_KDE="@comment " PLIST_SUB+= WITH_QT="" .endif -LICQ_PORT?= net-im/licq - -pre-fetch: -.if defined(WITH_KDE) - @${ECHO_MSG} "" - @${ECHO_MSG} "Build with KDE support" - @${ECHO_MSG} "" -.else - @${ECHO_MSG} "" - @${ECHO_MSG} "You could define WITH_KDE if you want KDE support" - @${ECHO_MSG} "" -.endif - -.include <bsd.port.pre.mk> - -.include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc" - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |