summaryrefslogtreecommitdiffstats
path: root/textproc/uim-qt/Makefile
blob: 0666f024eb2e58f43b1f19033a05da1a3f6857bf (plain)
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
# New ports collection makefile for:   uim-qt
# Date created:        31 August 2003
# Whom:                MANTANI Nobutaka <nobutaka@FreeBSD.org>
#
# $FreeBSD$
#

PKGNAMESUFFIX=	-qt

COMMENT=	QT modules of uim input method

RUN_DEPENDS=	uim-module-manager:${PORTSDIR}/textproc/uim
LIB_DEPENDS+=	qt-mt.3:${PORTSDIR}/x11-toolkits/qt33

MASTERDIR=	${.CURDIR}/../../textproc/uim
PKGDIR=		${.CURDIR}
CONFIGURE_ARGS=	--with-qt
CONFIGURE_ENV=	QTDIR=${X11BASE}/lib QTINCDIR=${X11BASE}/include \
		CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS} -I${X11BASE}/include" LIBS="${LIBS} ${PTHREAD_LIBS} -L${X11BASE}/lib"

UIM_SLAVE=	yes

# This is normally handled by defining USE_QT_VER ...

.if defined(PACKAGE_BUILDING)
TMPDIR?=	/tmp                
MAKE_ENV+=	TMPDIR="${TMPDIR}"      
CONFIGURE_ENV+=	TMPDIR="${TMPDIR}" 
.endif

do-install:
	(cd ${WRKSRC}/qt && ${SETENV} ${MAKE_ENV} ${GMAKE} install)
	(cd ${WRKSRC}/helper && ${SETENV} ${MAKE_ENV} ${GMAKE} install)

.include "${MASTERDIR}/Makefile"
OpenPOWER on IntegriCloud