1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/textproc/uim-kde4/Makefile
Gerald Pfeifer 7e339abf8a Replace USE_GCC=4.2+ by USE_GCC=any. [1]
And USE_GMAKE by USES=gmake where touching a port because of the above.

Approved by:	portmgr (bapt) [1]
2014-03-01 21:23:14 +00:00

41 lines
1.1 KiB
Makefile

# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
# $FreeBSD$
PKGNAMESUFFIX= -kde4
COMMENT= KDE4 panel applet of uim input method
BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
LIB_DEPENDS= uim:${PORTSDIR}/textproc/uim
RUN_DEPENDS= uim-pref-qt4:${PORTSDIR}/textproc/uim-qt4
USE_GCC= any
USE_KDE4= kdehier kdeprefix kdelibs automoc4
USE_QT4= qmake_build moc_build qt3support uic rcc
USE_AUTOTOOLS= libtool
MASTERDIR= ${.CURDIR}/../../textproc/uim
PKGDIR= ${.CURDIR}
CONFIGURE_ARGS= --with-qt4 --enable-pref --enable-default-toolkit=qt4 \
--enable-kde4-applet
CONFIGURE_ENV= KDE4_CONFIG="${KDE4_PREFIX}/bin/kde4-config"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
UIM_SLAVE= yes
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-qt4_toolbar_CMakeLists.txt
.if defined(WITHOUT_X11)
IGNORE= requires X11
.endif
NO_STAGE= yes
do-build:
(cd ${WRKSRC}/qt4/toolbar/build && ${SETENV} ${MAKE_ENV} ${GMAKE})
do-install:
(cd ${WRKSRC}/qt4/toolbar/build && ${SETENV} ${MAKE_ENV} ${GMAKE} install)
.include "${MASTERDIR}/Makefile"