blob: 6d7991d5a9186732750ab7f190ba516331066605 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# 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
COMMENT= Qt plugin for licq
LIB_DEPENDS= boost_regex.4:${PORTSDIR}/devel/boost-libs
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
CONFIGURE_ENV+= KDEDIR="${LOCALBASE}"
PLIST_SUB+= GUI_NAME=kde
PLIST_SUB+= WITH_KDE=""
PLIST_SUB+= WITH_QT="@comment "
.else
USE_QT_VER= 3
PLIST_SUB+= GUI_NAME=qt
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
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(${LOCALBASE}/bin/XFree86)
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc"
.include <bsd.port.post.mk>
|