2007-03-10 21:22:57 +01:00
|
|
|
# New ports collection makefile for: uim-kde
|
|
|
|
# Date created: 10 March 2007
|
|
|
|
# Whom: MANTANI Nobutaka <nobutaka@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PKGNAMESUFFIX= -kde
|
|
|
|
|
|
|
|
COMMENT= KDE panel applet of uim input method
|
|
|
|
|
2010-11-26 18:38:22 +01:00
|
|
|
LIB_DEPENDS= uim.7:${PORTSDIR}/textproc/uim
|
2008-12-29 09:10:11 +01:00
|
|
|
RUN_DEPENDS= uim-pref-qt:${PORTSDIR}/textproc/uim-qt
|
|
|
|
|
|
|
|
USE_GCC= 4.2+
|
2007-03-10 21:22:57 +01:00
|
|
|
USE_KDELIBS_VER=3
|
2007-10-14 17:12:51 +02:00
|
|
|
USE_QT_VER= 3
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2007-03-10 21:22:57 +01:00
|
|
|
|
|
|
|
MASTERDIR= ${.CURDIR}/../../textproc/uim
|
|
|
|
PKGDIR= ${.CURDIR}
|
|
|
|
CONFIGURE_ARGS= --with-qt --enable-pref --enable-default-toolkit=qt \
|
2007-10-14 17:12:51 +02:00
|
|
|
--enable-kde-applet
|
2010-11-26 18:38:22 +01:00
|
|
|
CONFIGURE_ENV= QTDIR=${LOCALBASE}/lib QTINCDIR=${LOCALBASE}/include \
|
|
|
|
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
2008-10-19 17:14:27 +02:00
|
|
|
CXX="${CXX}" \
|
2010-11-26 18:38:22 +01:00
|
|
|
CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LIBS="${LIBS} ${PTHREAD_LIBS} -L${LOCALBASE}/lib" \
|
|
|
|
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS} -L${LOCALBASE}/lib"
|
2007-03-10 21:22:57 +01:00
|
|
|
UIM_SLAVE= yes
|
|
|
|
|
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-qt_Makefile.in
|
|
|
|
|
|
|
|
.if defined(WITHOUT_X11)
|
|
|
|
IGNORE= requires X11
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-build:
|
2008-05-11 15:09:45 +02:00
|
|
|
(cd ${WRKSRC}/qt && ${SETENV} ${MAKE_ENV} ${GMAKE} uim_panelapplet.la)
|
2007-03-10 21:22:57 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
(cd ${WRKSRC}/qt && ${SETENV} ${MAKE_ENV} ${GMAKE} install-appletLTLIBRARIES install-lnkDATA)
|
|
|
|
|
|
|
|
.include "${MASTERDIR}/Makefile"
|