1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/textproc/uim-qt4/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

42 lines
1.0 KiB
Makefile

# New ports collection makefile for: uim-qt4
# Date created: 2008-21-08
# Whom: Yamashiro Jun <yamajun@ofug.net>
#
# $FreeBSD$
#
PKGNAMESUFFIX= -qt4
COMMENT= Qt4 modules of uim input method
LIB_DEPENDS= uim.8:${PORTSDIR}/textproc/uim
USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build qt3support uic
USE_AUTOTOOLS= libtool
USE_ICONV= yes
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} ${GMAKE} libuim-x-util.la libuim-counted-init.la)
(cd ${WRKSRC}/replace && ${SETENV} ${MAKE_ENV} ${GMAKE})
(cd ${WRKSRC}/qt4 && ${SETENV} ${MAKE_ENV} ${GMAKE})
do-install:
(cd ${WRKSRC}/qt4 && ${SETENV} ${MAKE_ENV} ${GMAKE} install)
.include "${MASTERDIR}/Makefile"