mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
0538e0c5f9
- Adapt one port to USE_LIBTOOL while here - Mark licq-jons-gtk-gui as BROKEN: It's based on licq-1.2.4 which makes it incompatible with 1.3.0 (builds fine but doesn't run) Approved by: dinoex
55 lines
1.2 KiB
Makefile
55 lines
1.2 KiB
Makefile
# 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}
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
PKGNAMESUFFIX?= ${KDE_SUFFIX}${PKGNAMESUFFIX2}
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
COMMENT= Qt plugin for licq
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
|
|
LIBS="${PTHREAD_LIBS}"
|
|
LICQ_PORT?= net/licq
|
|
|
|
.if defined(WITH_KDE)
|
|
KDE_SUFFIX= -kde
|
|
USE_KDELIBS_VER=3
|
|
CONFIGURE_ARGS+=--with-kde
|
|
CONFIGURE_ENV+= KDEDIR="${LOCALBASE}"
|
|
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
|
|
|
|
post-patch:
|
|
${RM} -f ${WRKDIR}/share/qt-gui/icons.thomas/icons.thomas.tar.bz2
|
|
|
|
post-install:
|
|
# ${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>
|