2006-04-16 18:47:40 +02:00
|
|
|
# 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
|
|
|
|
|
2007-10-14 17:12:51 +02:00
|
|
|
USE_QT_VER= 3
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2006-04-16 18:47:40 +02:00
|
|
|
|
2010-11-26 18:38:22 +01:00
|
|
|
LIB_DEPENDS= uim.7:${PORTSDIR}/textproc/uim
|
2007-10-14 17:12:51 +02:00
|
|
|
|
2006-04-16 18:47:40 +02:00
|
|
|
MASTERDIR= ${.CURDIR}/../../textproc/uim
|
|
|
|
PKGDIR= ${.CURDIR}
|
2007-03-10 21:12:52 +01:00
|
|
|
CONFIGURE_ARGS= --with-qt --enable-pref --enable-default-toolkit=qt \
|
2007-10-14 17:12:51 +02:00
|
|
|
--disable-kde-applet
|
2010-11-26 18:38:22 +01:00
|
|
|
CONFIGURE_ENV= QTDIR=${LOCALBASE}/lib QTINCDIR=${LOCALBASE}/include \
|
|
|
|
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LIBS="${LIBS} ${PTHREAD_LIBS} -L${LOCALBASE}/lib" \
|
|
|
|
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS} -L${LOCALBASE}/lib"
|
2006-04-16 18:47:40 +02:00
|
|
|
UIM_SLAVE= yes
|
|
|
|
|
2007-10-14 17:12:51 +02:00
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-qt_Makefile.in \
|
|
|
|
${PATCHDIR}/extra-patch-qt_chardict_po_Makefile.in.in
|
2006-06-12 19:45:54 +02:00
|
|
|
|
2006-07-10 04:06:29 +02:00
|
|
|
.if defined(WITHOUT_X11)
|
|
|
|
IGNORE= requires X11
|
|
|
|
.endif
|
|
|
|
|
2006-06-12 19:45:54 +02:00
|
|
|
do-build:
|
2008-05-18 17:40:06 +02:00
|
|
|
(cd ${WRKSRC}/uim && ${SETENV} ${MAKE_ENV} ${GMAKE} libuim-counted-init.la)
|
2008-05-11 15:09:45 +02:00
|
|
|
(cd ${WRKSRC}/qt && ${SETENV} ${MAKE_ENV} ${GMAKE})
|
2006-06-12 19:45:54 +02:00
|
|
|
|
2006-04-16 18:47:40 +02:00
|
|
|
do-install:
|
2006-04-20 23:55:37 +02:00
|
|
|
(cd ${WRKSRC}/qt && ${SETENV} ${MAKE_ENV} ${GMAKE} install)
|
2006-04-16 18:47:40 +02:00
|
|
|
|
|
|
|
.include "${MASTERDIR}/Makefile"
|