summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/uim-kde/Makefile51
-rw-r--r--textproc/uim-kde/pkg-descr3
-rw-r--r--textproc/uim-kde/pkg-plist3
4 files changed, 58 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 88e7960..bb2781f 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -923,6 +923,7 @@
SUBDIR += uim-el-xemacs21-mule
SUBDIR += uim-gnome
SUBDIR += uim-gtk
+ SUBDIR += uim-kde
SUBDIR += uim-m17nlib
SUBDIR += uim-qt
SUBDIR += uncrustify
diff --git a/textproc/uim-kde/Makefile b/textproc/uim-kde/Makefile
new file mode 100644
index 0000000..35ddaae
--- /dev/null
+++ b/textproc/uim-kde/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: uim-kde
+# Date created: 10 March 2007
+# Whom: MANTANI Nobutaka <nobutaka@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PKGNAMESUFFIX= -kde
+
+COMMENT= KDE panel applet of uim input method
+
+LIB_DEPENDS= qt-mt.3:${PORTSDIR}/x11-toolkits/qt33 \
+ uim.4:${PORTSDIR}/textproc/uim
+RUN_DEPENDS= uim-pref-qt:${PORTSDIR}/textproc/uim-qt
+
+USE_KDELIBS_VER=3
+USE_AUTOTOOLS= libtool:15
+
+MASTERDIR= ${.CURDIR}/../../textproc/uim
+PKGDIR= ${.CURDIR}
+CONFIGURE_ARGS= --with-qt --enable-pref --enable-default-toolkit=qt \
+ --enable-kde-applet=yes
+CONFIGURE_ENV= QTDIR=${X11BASE}/lib QTINCDIR=${X11BASE}/include \
+ CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
+ CXX="${CXX} -lc" \
+ CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" \
+ LIBS="${LIBS} ${PTHREAD_LIBS} -L${X11BASE}/lib -L${LOCALBASE}/lib" \
+ LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS} -L${X11BASE}/lib -L${LOCALBASE}/lib"
+UIM_SLAVE= yes
+
+# This is normally handled by defining USE_QT_VER ...
+
+.if defined(PACKAGE_BUILDING)
+TMPDIR?= /tmp
+MAKE_ENV+= TMPDIR="${TMPDIR}"
+CONFIGURE_ENV+= TMPDIR="${TMPDIR}"
+.endif
+
+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-qt_Makefile.in
+
+.if defined(WITHOUT_X11)
+IGNORE= requires X11
+.endif
+
+do-build:
+ (cd ${WRKSRC}/qt && ${GMAKE} LIBTOOL=${WRKSRC}/libtool LIBS="-luim -luim-custom" uim_panelapplet.la)
+
+do-install:
+ (cd ${WRKSRC}/qt && ${SETENV} ${MAKE_ENV} ${GMAKE} install-appletLTLIBRARIES install-lnkDATA)
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/uim-kde/pkg-descr b/textproc/uim-kde/pkg-descr
new file mode 100644
index 0000000..c92c3c5
--- /dev/null
+++ b/textproc/uim-kde/pkg-descr
@@ -0,0 +1,3 @@
+KDE panel applet of uim input method.
+
+WWW: http://uim.freedesktop.org/wiki/
diff --git a/textproc/uim-kde/pkg-plist b/textproc/uim-kde/pkg-plist
new file mode 100644
index 0000000..f3a9885
--- /dev/null
+++ b/textproc/uim-kde/pkg-plist
@@ -0,0 +1,3 @@
+lib/kde3/uim_panelapplet.la
+lib/kde3/uim_panelapplet.so
+share/apps/kicker/applets/uimapplet.desktop
OpenPOWER on IntegriCloud