2001-04-10 22:09:53 +02:00
|
|
|
# New ports collection makefile for: qt-gui-licq
|
|
|
|
# Date created: 18 October 2000
|
|
|
|
# Whom: Jeremy Norris <ishmael272home.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= qt-gui
|
|
|
|
PORTVERSION= ${QT_LICQ_VER}
|
2005-11-09 09:28:43 +01:00
|
|
|
CATEGORIES= net-im
|
2004-03-26 18:49:07 +01:00
|
|
|
PKGNAMESUFFIX?= ${KDE_SUFFIX}${PKGNAMESUFFIX2}
|
2001-04-10 22:09:53 +02:00
|
|
|
|
2002-01-27 07:23:22 +01:00
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
2003-02-20 19:26:42 +01:00
|
|
|
COMMENT= Qt plugin for licq
|
2001-04-10 22:09:53 +02:00
|
|
|
|
2009-07-28 13:45:08 +02:00
|
|
|
LIB_DEPENDS= boost_regex.4:${PORTSDIR}/devel/boost-libs
|
2008-11-09 09:10:33 +01:00
|
|
|
|
2001-04-10 22:09:53 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
|
|
|
|
LIBS="${PTHREAD_LIBS}"
|
2005-11-09 09:28:43 +01:00
|
|
|
LICQ_PORT?= net-im/licq
|
2001-04-10 22:09:53 +02:00
|
|
|
|
2003-01-02 05:06:58 +01:00
|
|
|
.if defined(WITH_KDE)
|
2004-03-26 18:49:07 +01:00
|
|
|
KDE_SUFFIX= -kde
|
2003-01-02 05:06:58 +01:00
|
|
|
USE_KDELIBS_VER=3
|
|
|
|
CONFIGURE_ARGS+=--with-kde
|
2003-01-22 20:14:08 +01:00
|
|
|
CONFIGURE_ENV+= KDEDIR="${LOCALBASE}"
|
2003-01-02 05:06:58 +01:00
|
|
|
PLIST_SUB+= GUI_NAME=kde
|
2007-12-11 21:30:25 +01:00
|
|
|
PLIST_SUB+= WITH_KDE=""
|
|
|
|
PLIST_SUB+= WITH_QT="@comment "
|
2003-01-02 05:06:58 +01:00
|
|
|
.else
|
|
|
|
USE_QT_VER= 3
|
|
|
|
PLIST_SUB+= GUI_NAME=qt
|
2007-12-11 21:30:25 +01:00
|
|
|
PLIST_SUB+= WITH_KDE="@comment "
|
|
|
|
PLIST_SUB+= WITH_QT=""
|
2003-01-02 05:06:58 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2004-10-12 06:15:58 +02:00
|
|
|
post-patch:
|
|
|
|
${RM} -f ${WRKDIR}/share/qt-gui/icons.thomas/icons.thomas.tar.bz2
|
|
|
|
|
2001-04-13 17:38:44 +02:00
|
|
|
post-install:
|
2004-10-12 06:15:58 +02:00
|
|
|
# ${RM} -rf ${PREFIX}/share/licq/qt-gui/locale
|
2008-03-30 11:36:46 +02:00
|
|
|
.if exists(${LOCALBASE}/bin/XFree86)
|
2002-02-13 05:00:56 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.endif
|
2001-04-13 17:38:44 +02:00
|
|
|
|
2001-04-10 22:09:53 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2004-03-26 18:49:07 +01:00
|
|
|
.include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc"
|
2001-04-10 22:09:53 +02:00
|
|
|
.include <bsd.port.post.mk>
|