mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
3efa67895e
- Trim Makefile header. - Remove shared lib version from LIB_DEPENDS.
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PKGNAMESUFFIX= -kde
|
|
|
|
COMMENT= KDE panel applet of uim input method
|
|
|
|
LIB_DEPENDS= uim:${PORTSDIR}/textproc/uim
|
|
RUN_DEPENDS= uim-pref-qt:${PORTSDIR}/textproc/uim-qt
|
|
|
|
USE_GCC= 4.2+
|
|
USE_KDELIBS_VER=3
|
|
USE_QT_VER= 3
|
|
USE_AUTOTOOLS= libtool
|
|
|
|
MASTERDIR= ${.CURDIR}/../../textproc/uim
|
|
PKGDIR= ${.CURDIR}
|
|
CONFIGURE_ARGS= --with-qt --enable-pref --enable-default-toolkit=qt \
|
|
--enable-kde-applet
|
|
CONFIGURE_ENV= QTDIR=${LOCALBASE}/lib QTINCDIR=${LOCALBASE}/include \
|
|
LIBS="${LIBS} ${PTHREAD_LIBS} -L${LOCALBASE}/lib"
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
|
|
CXXFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
|
|
UIM_SLAVE= yes
|
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-qt3_toolbar_Makefile.in
|
|
|
|
.if defined(WITHOUT_X11)
|
|
IGNORE= requires X11
|
|
.endif
|
|
|
|
do-build:
|
|
(cd ${WRKSRC}/qt3/toolbar && ${SETENV} ${MAKE_ENV} ${GMAKE} uim_panelapplet.la)
|
|
|
|
do-install:
|
|
(cd ${WRKSRC}/qt3/toolbar && ${SETENV} ${MAKE_ENV} ${GMAKE} install-appletLTLIBRARIES install-lnkDATA)
|
|
|
|
.include "${MASTERDIR}/Makefile"
|