1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Add new port textproc/uim-qt4:

Qt4 IM modules of uim input method.

WWW:	http://code.google.com/p/uim/

PR:		ports/128696
Submitted by:	Yamashiro Jun <yamajun@ofug.net>
This commit is contained in:
Max Brazhnikov 2010-08-10 21:50:13 +00:00
parent c4bf6078f8
commit d778a1d989
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259081
2 changed files with 46 additions and 0 deletions

43
textproc/uim-qt4/Makefile Normal file
View File

@ -0,0 +1,43 @@
# New ports collection makefile for: uim-qt4
# Date created: 2008-21-08
# Whom: Yamashiro Jun <yamajun@ofug.net>
#
# $FreeBSD$
#
PORTREVISION= 0
PKGNAMESUFFIX= -qt4
COMMENT= Qt4 IM modules of uim input method
LIB_DEPENDS= uim.6:${PORTSDIR}/textproc/uim
USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build qt3support
USE_AUTOTOOLS= libtool:22
USE_ICONV= yes
MASTERDIR= ${.CURDIR}/../../textproc/uim
PKGDIR= ${.CURDIR}
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-qt4-immodule
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${X11BASE}/lib -L${LOCALBASE}/lib -I${LOCALBASE}/include "
UIM_SLAVE= yes
PLIST_FILES= ${QT_PLUGINDIR_REL}/inputmethods/libuiminputcontextplugin.so
PLIST_DIRS= ${QT_PLUGINDIR_REL}/inputmethods \
${QT_PLUGINDIR_REL}
.if defined(WITHOUT_X11)
IGNORE= cannot be built without X11. Please, unset WITHOUT_X11
.endif
do-build:
(cd ${WRKSRC}/uim && ${SETENV} ${MAKE_ENV} ${GMAKE} libuim-x-util.la)
(cd ${WRKSRC}/replace && ${SETENV} ${MAKE_ENV} ${GMAKE})
(cd ${WRKSRC}/qt4/immodule && ${SETENV} ${MAKE_ENV} ${GMAKE})
do-install:
(cd ${WRKSRC}/qt4/immodule && ${SETENV} ${MAKE_ENV} ${GMAKE} install)
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,3 @@
Qt4 IM modules of uim input method.
WWW: http://code.google.com/p/uim/