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}
|
2004-02-04 06:10:27 +01:00
|
|
|
PORTREVISION= 2
|
2001-04-10 22:09:53 +02:00
|
|
|
CATEGORIES= net
|
2003-01-02 05:06:58 +01:00
|
|
|
.if defined(WITH_KDE)
|
|
|
|
PKGNAMESUFFIX= -kde
|
|
|
|
.endif
|
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
|
|
|
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
|
|
|
|
LIBS="${PTHREAD_LIBS}"
|
2003-02-04 21:07:03 +01:00
|
|
|
LICQ_PORT?= ${PORTSDIR}/net/licq
|
2001-04-10 22:09:53 +02:00
|
|
|
|
2003-01-02 05:06:58 +01:00
|
|
|
.if defined(WITH_KDE)
|
|
|
|
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
|
|
|
|
.else
|
|
|
|
USE_QT_VER= 3
|
|
|
|
PLIST_SUB+= GUI_NAME=qt
|
|
|
|
.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
|
|
|
|
|
2001-04-13 17:38:44 +02:00
|
|
|
post-install:
|
|
|
|
${RM} -rf ${PREFIX}/share/licq/qt-gui/locale
|
2002-02-13 05:00:56 +01:00
|
|
|
.if exists(${X11BASE}/bin/XFree86)
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.endif
|
2001-04-13 17:38:44 +02:00
|
|
|
|
2001-04-10 22:09:53 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2003-02-04 21:07:03 +01:00
|
|
|
.include "${LICQ_PORT}/Makefile.inc"
|
2001-04-10 22:09:53 +02:00
|
|
|
.include <bsd.port.post.mk>
|