1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/textproc/uim-qt4/Makefile
Dmitry Marakasov e3cc604e9c - Convert texproc/uim and friends to USES=libtool, drop .la files
- Bump ports dependent on uim as some .so versions have changed
- While here, convert some USE_BZIP2 to USES=tar:bzip2

Approved by:	portmgr blanket
2014-07-25 12:19:07 +00:00

36 lines
968 B
Makefile

# Created by: Yamashiro Jun <yamajun@ofug.net>
# $FreeBSD$
PKGNAMESUFFIX= -qt4
COMMENT= Qt4 modules of uim input method
LIB_DEPENDS= libuim.so:${PORTSDIR}/textproc/uim
USE_QT4= qmake_build moc_build qt3support uic
USES= iconv libtool
MASTERDIR= ${.CURDIR}/../../textproc/uim
PKGDIR= ${.CURDIR}
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-qt4 --with-qt4-immodule
CONFIGURE_ENV= DATADIRNAME="share"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
UIM_SLAVE= yes
.if defined(WITHOUT_X11)
IGNORE= cannot be built without X11. Please, unset WITHOUT_X11
.endif
do-build:
(cd ${WRKSRC}/uim && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} libuim-x-util.la libuim-counted-init.la)
(cd ${WRKSRC}/replace && ${SETENV} ${MAKE_ENV} ${MAKE_CMD})
(cd ${WRKSRC}/qt4 && ${SETENV} ${MAKE_ENV} ${MAKE_CMD})
do-install:
(cd ${WRKSRC}/qt4 && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} DESTDIR=${STAGEDIR} install)
.include "${MASTERDIR}/Makefile"