freebsd-ports/net-im/licq-qt-gui/Makefile
Dirk Meyer 671a716876 - update KDE definitions
Suggested by:	Max Brazhnikov
2010-11-27 22:58:13 +00:00

57 lines
1.3 KiB
Makefile

# New ports collection makefile for: qt-gui-licq
# Date created: 18 October 2000
# Whom: Jeremy Norris <ishmael272home.com>
#
# $FreeBSD$
#
PORTNAME= qt4-gui
PORTVERSION= ${QT_LICQ_VER}
CATEGORIES= net-im
PKGNAMESUFFIX?= ${KDE_SUFFIX}${PKGNAMESUFFIX2}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Qt plugin for licq
LIB_DEPENDS= boost_regex.4:${PORTSDIR}/devel/boost-libs
#BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
LICENSE= GPLv2
USE_XORG= x11 xext ice xscrnsaver
USE_CMAKE= yes
USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build rcc_build uic_build linguist_build
.if defined(WITH_KDE)
KDE_SUFFIX= -kde
USE_KDE4= kdelibs automoc4
CMAKE_ARGS+= -DWITH_KDE:BOOL=ON
PLIST_SUB+= GUI_NAME=kde4
PLIST_SUB+= WITH_KDE=""
PLIST_SUB+= WITH_QT="@comment "
.else
QT_COMPONENTS+= xml gui
PLIST_SUB+= GUI_NAME=qt4
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>