freebsd-ports/net-im/licq-qt-gui/Makefile

58 lines
1.3 KiB
Makefile
Raw Normal View History

# 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}
CATEGORIES= net-im
PKGNAMESUFFIX?= ${KDE_SUFFIX}${PKGNAMESUFFIX2}
MAINTAINER= dinoex@FreeBSD.org
2003-02-20 19:26:42 +01:00
COMMENT= Qt plugin for licq
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
LIBS="${PTHREAD_LIBS}"
LICQ_PORT?= net-im/licq
.if defined(WITH_KDE)
KDE_SUFFIX= -kde
USE_KDELIBS_VER=3
CONFIGURE_ARGS+=--with-kde
2003-01-22 20:14:08 +01:00
CONFIGURE_ENV+= KDEDIR="${LOCALBASE}"
PLIST_SUB+= GUI_NAME=kde
2007-12-11 21:30:25 +01:00
PLIST_SUB+= WITH_KDE=""
PLIST_SUB+= WITH_QT="@comment "
.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=""
.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
post-install:
2004-10-12 06:15:58 +02:00
# ${RM} -rf ${PREFIX}/share/licq/qt-gui/locale
.if exists(${X11BASE}/bin/XFree86)
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc"
.include <bsd.port.post.mk>