summaryrefslogtreecommitdiffstats
path: root/textproc/uim
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 10:49:26 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 10:49:26 +0800
commitfcf97a650cf9ccdecab91c6ec65cf047d6a6edd0 (patch)
tree09892fae7c48d40f5dc155f1e815e73366292d07 /textproc/uim
parentbc67d7463e59b18d78956f56225625be4edcb50c (diff)
downloadmarcuscom-ports-fcf97a650cf9ccdecab91c6ec65cf047d6a6edd0.tar
marcuscom-ports-fcf97a650cf9ccdecab91c6ec65cf047d6a6edd0.tar.gz
marcuscom-ports-fcf97a650cf9ccdecab91c6ec65cf047d6a6edd0.tar.bz2
marcuscom-ports-fcf97a650cf9ccdecab91c6ec65cf047d6a6edd0.tar.lz
marcuscom-ports-fcf97a650cf9ccdecab91c6ec65cf047d6a6edd0.tar.xz
marcuscom-ports-fcf97a650cf9ccdecab91c6ec65cf047d6a6edd0.tar.zst
marcuscom-ports-fcf97a650cf9ccdecab91c6ec65cf047d6a6edd0.zip
GTK2_VERSION & LOCALBASE
Spotted by: pointyhat git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7379 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'textproc/uim')
-rw-r--r--textproc/uim/Makefile120
-rw-r--r--textproc/uim/distinfo3
-rw-r--r--textproc/uim/files/extra-patch-gtk_Makefile.in20
-rw-r--r--textproc/uim/files/extra-patch-helper_Makefile.in126
-rw-r--r--textproc/uim/files/extra-patch-qt_Makefile.in100
-rw-r--r--textproc/uim/files/extra-patch-uim_Makefile.in75
-rw-r--r--textproc/uim/files/extra-patch-uim_editline.c22
-rw-r--r--textproc/uim/files/patch-Makefile.in11
-rw-r--r--textproc/uim/files/patch-emacs_Makefile.in18
-rw-r--r--textproc/uim/files/patch-gtk:Makefile.in27
-rw-r--r--textproc/uim/files/patch-helper:Makefile.in11
-rw-r--r--textproc/uim/files/patch-scm:skk-custom.scm12
-rw-r--r--textproc/uim/files/patch-uim:scim.cpp19
-rw-r--r--textproc/uim/pkg-descr9
-rw-r--r--textproc/uim/pkg-plist199
15 files changed, 772 insertions, 0 deletions
diff --git a/textproc/uim/Makefile b/textproc/uim/Makefile
new file mode 100644
index 000000000..b0252a9e2
--- /dev/null
+++ b/textproc/uim/Makefile
@@ -0,0 +1,120 @@
+# New ports collection makefile for: uim
+# Date created: 31 August 2003
+# Whom: MANTANI Nobutaka <nobutaka@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= uim
+PORTVERSION= 1.2.1
+PORTREVISION?= 1
+CATEGORIES?= textproc
+MASTER_SITES= http://uim.freedesktop.org/releases/
+.if !defined(UIM_SLAVE) && defined(WITHOUT_X11)
+PKGNAMESUFFIX= -nox11
+.endif
+
+MAINTAINER= nobutaka@FreeBSD.org
+COMMENT?= Input method library
+
+INSTALLS_SHLIB= yes
+WANT_GNOME= yes
+USE_GNOME+= gnometarget glib20
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15
+USE_GETTEXT= yes
+USE_ICONV= yes
+GNU_CONFIGURE= yes
+
+.if !defined(WITHOUT_X11)
+LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
+CONFIGURE_ARGS+= --with-x --with-xft
+.endif
+
+.if !defined(UIM_SLAVE)
+.if !defined(WITHOUT_X11)
+USE_GNOME+= gtk20
+CONFIGURE_ARGS+= --with-gtk2
+.endif
+CONFIGURE_ARGS+= --enable-emacs
+.endif
+
+CONFIGURE_ENV?= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
+ LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
+
+.if !defined(UIM_SLAVE)
+.if !defined(WITHOUT_X11)
+MAN1= uim-xim.1
+.endif
+DOCSDIR_JA= ${PREFIX}/share/doc/ja/uim
+PLIST_SUB= DOCSDIR_JA="${DOCSDIR_JA:S,^${PREFIX}/,,}"
+.endif
+
+.if defined(WITHOUT_X11)
+PLIST_SUB+= X11="@comment "
+.else
+PLIST_SUB+= X11=""
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-uim_editline.c
+.endif
+
+.if ${PERL_LEVEL} >= 500600
+USE_PERL5_BUILD=yes
+.else
+BUILD_DEPENDS+= ${LOCALBASE}/bin/perl:${PORTSDIR}/lang/perl5
+CONFIGURE_ENV+= INTLTOOL_PERL="${LOCALBASE}/bin/perl"
+.endif
+
+.for _x in x xft gtk2 qt gnome2 anthy canna m17nlib prime scim dict
+.if ${CONFIGURE_ARGS:M--with-${_x}} == ""
+CONFIGURE_ARGS+=--without-${_x}
+.endif
+.endfor
+.if ${CONFIGURE_ARGS:M--enable-applet} == ""
+CONFIGURE_ARGS+=--disable-applet
+.endif
+
+.if !defined(UIM_SLAVE)
+pre-everything::
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "NOTE:"
+ @${ECHO_MSG} "Optional features are splitted into the following slave ports."
+ @${ECHO_MSG} "OPTIONS variable is no longer used."
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "japanese/uim-anthy"
+ @${ECHO_MSG} "japanese/uim-canna"
+ @${ECHO_MSG} "japanese/uim-prime"
+ @${ECHO_MSG} "textproc/uim-gnome"
+ @${ECHO_MSG} "textproc/uim-gtk"
+ @${ECHO_MSG} "textproc/uim-m17nlib"
+ @${ECHO_MSG} "textproc/uim-qt"
+ @${ECHO_MSG} ""
+.endif
+
+post-patch:
+ ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/scm/skk-custom.scm
+
+do-install:
+.if !defined(UIM_SLAVE)
+ cd ${WRKSRC} && ${GMAKE} install-data-am
+.for d in uim scm xim po fep emacs pixmaps
+ cd ${WRKSRC}/${d} && ${GMAKE} install
+.endfor
+ cd ${WRKSRC}/helper && ${GMAKE} install-libexecPROGRAMS
+.endif
+
+.if !defined(UIM_SLAVE) && !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${DOCSDIR_JA}
+ ${INSTALL_DATA} ${WRKSRC}/doc/KEY ${DOCSDIR}/KEY
+ ${INSTALL_DATA} ${WRKSRC}/fep/README ${DOCSDIR}/README.fep
+ ${INSTALL_DATA} ${WRKSRC}/fep/README.ja ${DOCSDIR_JA}/README.fep
+ ${INSTALL_DATA} ${WRKSRC}/xim/README ${DOCSDIR}/README.xim
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/uim/distinfo b/textproc/uim/distinfo
new file mode 100644
index 000000000..5926f9643
--- /dev/null
+++ b/textproc/uim/distinfo
@@ -0,0 +1,3 @@
+MD5 (uim-1.2.1.tar.gz) = c27e96ea57e5fcd38ddc72876a1d6d1c
+SHA256 (uim-1.2.1.tar.gz) = e2f257df389a516885ccfb18a068f7c153425cfb31de8487106e9e33bb1dcfbc
+SIZE (uim-1.2.1.tar.gz) = 2149696
diff --git a/textproc/uim/files/extra-patch-gtk_Makefile.in b/textproc/uim/files/extra-patch-gtk_Makefile.in
new file mode 100644
index 000000000..fe390c6de
--- /dev/null
+++ b/textproc/uim/files/extra-patch-gtk_Makefile.in
@@ -0,0 +1,20 @@
+--- gtk/Makefile.in.orig Mon Aug 14 13:28:19 2006
++++ gtk/Makefile.in Mon Aug 21 01:05:26 2006
+@@ -64,8 +64,6 @@
+ moduleLTLIBRARIES_INSTALL = $(INSTALL)
+ LTLIBRARIES = $(module_LTLIBRARIES)
+ am__DEPENDENCIES_1 =
+-@GTK2_TRUE@im_uim_la_DEPENDENCIES = $(top_builddir)/uim/libuim.la \
+-@GTK2_TRUE@ $(am__DEPENDENCIES_1)
+ am__im_uim_la_SOURCES_DIST = gtk-im-uim.c gtk-im-uim.h key-util-gtk.c \
+ key-util-gtk.h uim-cand-win-gtk.c uim-cand-win-gtk.h \
+ caret-state-indicator.c caret-state-indicator.h compose.c \
+@@ -361,7 +359,7 @@
+ @GTK2_TRUE@module_LTLIBRARIES = $(im_uim_la)
+ @GTK2_TRUE@im_uim_la_SOURCES = $(IM_UIM_SOURCES)
+ @GTK2_TRUE@im_uim_la_LDFLAGS = -module -avoid-version @GTK2_LIBS@
+-@GTK2_TRUE@im_uim_la_LIBADD = $(top_builddir)/uim/libuim.la $(EBLIB_LIBS)
++@GTK2_TRUE@im_uim_la_LIBADD = $(EBLIB_LIBS)
+ @GTK2_TRUE@IM_UIM_SOURCES = gtk-im-uim.c gtk-im-uim.h key-util-gtk.c \
+ @GTK2_TRUE@ key-util-gtk.h uim-cand-win-gtk.c \
+ @GTK2_TRUE@ uim-cand-win-gtk.h caret-state-indicator.c \
diff --git a/textproc/uim/files/extra-patch-helper_Makefile.in b/textproc/uim/files/extra-patch-helper_Makefile.in
new file mode 100644
index 000000000..b68e98d43
--- /dev/null
+++ b/textproc/uim/files/extra-patch-helper_Makefile.in
@@ -0,0 +1,126 @@
+--- helper/Makefile.in.orig Mon Aug 21 00:57:13 2006
++++ helper/Makefile.in Mon Aug 21 00:57:24 2006
+@@ -87,8 +87,6 @@
+ @GTK2_TRUE@ uim_candwin_gtk-candwin-gtk.$(OBJEXT) \
+ @GTK2_TRUE@ uim_candwin_gtk-caret-state-indicator.$(OBJEXT)
+ uim_candwin_gtk_OBJECTS = $(am_uim_candwin_gtk_OBJECTS)
+-@GTK2_TRUE@uim_candwin_gtk_DEPENDENCIES = \
+-@GTK2_TRUE@ $(top_builddir)/uim/libuim.la
+ am__uim_dict_gtk_SOURCES_DIST = dict-main-gtk.c dict-canna-cclass.c \
+ dict-canna-cclass.h dict-word-win-gtk.c dict-word-win-gtk.h \
+ dict-word-list-win-gtk.c dict-word-list-win-gtk.h dict-util.c \
+@@ -111,22 +109,14 @@
+ @DICT_TRUE@@GTK2_TRUE@ $(am__objects_1) $(am__objects_2)
+ uim_dict_gtk_OBJECTS = $(am_uim_dict_gtk_OBJECTS)
+ am__DEPENDENCIES_1 =
+-@DICT_TRUE@@GTK2_TRUE@uim_dict_gtk_DEPENDENCIES = \
+-@DICT_TRUE@@GTK2_TRUE@ $(top_builddir)/uim/libuim.la \
+-@DICT_TRUE@@GTK2_TRUE@ $(am__DEPENDENCIES_1) \
+-@DICT_TRUE@@GTK2_TRUE@ $(am__DEPENDENCIES_1)
+ am__uim_im_switcher_gtk_SOURCES_DIST = im-switcher-gtk.c
+ @GTK2_TRUE@am_uim_im_switcher_gtk_OBJECTS = \
+ @GTK2_TRUE@ uim_im_switcher_gtk-im-switcher-gtk.$(OBJEXT)
+ uim_im_switcher_gtk_OBJECTS = $(am_uim_im_switcher_gtk_OBJECTS)
+-@GTK2_TRUE@uim_im_switcher_gtk_DEPENDENCIES = \
+-@GTK2_TRUE@ $(top_builddir)/uim/libuim.la
+ am__uim_input_pad_ja_SOURCES_DIST = input-pad-ja.c
+ @GTK2_TRUE@am_uim_input_pad_ja_OBJECTS = \
+ @GTK2_TRUE@ uim_input_pad_ja-input-pad-ja.$(OBJEXT)
+ uim_input_pad_ja_OBJECTS = $(am_uim_input_pad_ja_OBJECTS)
+-@GTK2_TRUE@uim_input_pad_ja_DEPENDENCIES = \
+-@GTK2_TRUE@ $(top_builddir)/uim/libuim.la
+ am__uim_pref_gtk_SOURCES_DIST = pref-gtk.c pref-gtk-custom-widgets.c \
+ pref-gtk-custom-widgets.h ../gtk/key-util-gtk.c \
+ ../gtk/key-util-gtk.h
+@@ -134,23 +124,17 @@
+ @GTK2_4_TRUE@@GTK2_TRUE@@PREF_TRUE@ uim_pref_gtk-pref-gtk-custom-widgets.$(OBJEXT) \
+ @GTK2_4_TRUE@@GTK2_TRUE@@PREF_TRUE@ uim_pref_gtk-key-util-gtk.$(OBJEXT)
+ uim_pref_gtk_OBJECTS = $(am_uim_pref_gtk_OBJECTS)
+-@GTK2_4_TRUE@@GTK2_TRUE@@PREF_TRUE@uim_pref_gtk_DEPENDENCIES = $(top_builddir)/uim/libuim-custom.la \
+-@GTK2_4_TRUE@@GTK2_TRUE@@PREF_TRUE@ $(top_builddir)/uim/libuim.la
+ am__uim_toolbar_applet_SOURCES_DIST = toolbar-applet-gnome.c \
+ toolbar-common-gtk.c
+ @APPLET_TRUE@am_uim_toolbar_applet_OBJECTS = uim_toolbar_applet-toolbar-applet-gnome.$(OBJEXT) \
+ @APPLET_TRUE@ uim_toolbar_applet-toolbar-common-gtk.$(OBJEXT)
+ uim_toolbar_applet_OBJECTS = $(am_uim_toolbar_applet_OBJECTS)
+-@APPLET_TRUE@uim_toolbar_applet_DEPENDENCIES = \
+-@APPLET_TRUE@ $(top_builddir)/uim/libuim.la
+ am__uim_toolbar_gtk_SOURCES_DIST = toolbar-standalone-gtk.c \
+ toolbar-common-gtk.c
+ @GTK2_TRUE@am_uim_toolbar_gtk_OBJECTS = \
+ @GTK2_TRUE@ uim_toolbar_gtk-toolbar-standalone-gtk.$(OBJEXT) \
+ @GTK2_TRUE@ uim_toolbar_gtk-toolbar-common-gtk.$(OBJEXT)
+ uim_toolbar_gtk_OBJECTS = $(am_uim_toolbar_gtk_OBJECTS)
+-@GTK2_TRUE@uim_toolbar_gtk_DEPENDENCIES = \
+-@GTK2_TRUE@ $(top_builddir)/uim/libuim.la
+ am__uim_toolbar_gtk_systray_SOURCES_DIST = toolbar-systray-gtk.c \
+ toolbar-common-gtk.c eggtrayicon.c eggtrayicon.h
+ @GTK2_TRUE@am_uim_toolbar_gtk_systray_OBJECTS = uim_toolbar_gtk_systray-toolbar-systray-gtk.$(OBJEXT) \
+@@ -158,8 +142,6 @@
+ @GTK2_TRUE@ uim_toolbar_gtk_systray-eggtrayicon.$(OBJEXT)
+ uim_toolbar_gtk_systray_OBJECTS = \
+ $(am_uim_toolbar_gtk_systray_OBJECTS)
+-@GTK2_TRUE@uim_toolbar_gtk_systray_DEPENDENCIES = \
+-@GTK2_TRUE@ $(top_builddir)/uim/libuim.la
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/uim
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+@@ -447,8 +429,7 @@
+ uim_pixmapsdir = @uim_pixmapsdir@
+ EXTRA_DIST = GNOME_UimApplet.server.in.in uim-dict-ui.xml.in
+ helper_defs = -DUIM_DATADIR=\""$(datadir)/@PACKAGE@"\"
+-@APPLET_TRUE@uim_toolbar_applet_LDADD = @GTK2_LIBS@ @APPLET_LIBS@ \
+-@APPLET_TRUE@ $(top_builddir)/uim/libuim.la
++@APPLET_TRUE@uim_toolbar_applet_LDADD = @GTK2_LIBS@ @APPLET_LIBS@
+
+ @APPLET_TRUE@uim_toolbar_applet_CPPFLAGS = $(helper_defs) -I$(top_srcdir) -I$(top_builddir)
+ @APPLET_TRUE@uim_toolbar_applet_CFLAGS = @GTK2_CFLAGS@ @APPLET_CFLAGS@
+@@ -464,34 +445,32 @@
+ @GTK2_TRUE@ ../gtk/caret-state-indicator.c \
+ @GTK2_TRUE@ ../gtk/caret-state-indicator.h
+
+-@GTK2_TRUE@uim_candwin_gtk_LDADD = @GTK2_LIBS@ $(top_builddir)/uim/libuim.la
++@GTK2_TRUE@uim_candwin_gtk_LDADD = @GTK2_LIBS@
+ @GTK2_TRUE@uim_candwin_gtk_CPPFLAGS = -I$(top_srcdir)
+ @GTK2_TRUE@uim_candwin_gtk_CFLAGS = @GTK2_CFLAGS@ -Wall
+ @GTK2_TRUE@uim_toolbar_gtk_SOURCES = toolbar-standalone-gtk.c toolbar-common-gtk.c
+-@GTK2_TRUE@uim_toolbar_gtk_LDADD = @GTK2_LIBS@ $(top_builddir)/uim/libuim.la
++@GTK2_TRUE@uim_toolbar_gtk_LDADD = @GTK2_LIBS@
+ @GTK2_TRUE@uim_toolbar_gtk_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)
+ @GTK2_TRUE@uim_toolbar_gtk_CFLAGS = @GTK2_CFLAGS@ -Wall
+ @GTK2_TRUE@uim_toolbar_gtk_systray_SOURCES = toolbar-systray-gtk.c toolbar-common-gtk.c \
+ @GTK2_TRUE@ eggtrayicon.c eggtrayicon.h
+
+-@GTK2_TRUE@uim_toolbar_gtk_systray_LDADD = @GTK2_LIBS@ $(top_builddir)/uim/libuim.la
++@GTK2_TRUE@uim_toolbar_gtk_systray_LDADD = @GTK2_LIBS@
+ @GTK2_TRUE@uim_toolbar_gtk_systray_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)
+ @GTK2_TRUE@uim_toolbar_gtk_systray_CFLAGS = @GTK2_CFLAGS@ -Wall
+ @GTK2_TRUE@uim_im_switcher_gtk_SOURCES = im-switcher-gtk.c
+-@GTK2_TRUE@uim_im_switcher_gtk_LDADD = @GTK2_LIBS@ $(top_builddir)/uim/libuim.la
++@GTK2_TRUE@uim_im_switcher_gtk_LDADD = @GTK2_LIBS@
+ @GTK2_TRUE@uim_im_switcher_gtk_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)
+ @GTK2_TRUE@uim_im_switcher_gtk_CFLAGS = @GTK2_CFLAGS@ -Wall
+ @GTK2_TRUE@uim_input_pad_ja_SOURCES = input-pad-ja.c
+-@GTK2_TRUE@uim_input_pad_ja_LDADD = @GTK2_LIBS@ $(top_builddir)/uim/libuim.la
++@GTK2_TRUE@uim_input_pad_ja_LDADD = @GTK2_LIBS@
+ @GTK2_TRUE@uim_input_pad_ja_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)
+ @GTK2_TRUE@uim_input_pad_ja_CFLAGS = @GTK2_CFLAGS@ -Wall
+ @GTK2_4_TRUE@@GTK2_TRUE@@PREF_TRUE@uim_pref_gtk_SOURCES = pref-gtk.c \
+ @GTK2_4_TRUE@@GTK2_TRUE@@PREF_TRUE@ pref-gtk-custom-widgets.c pref-gtk-custom-widgets.h \
+ @GTK2_4_TRUE@@GTK2_TRUE@@PREF_TRUE@ ../gtk/key-util-gtk.c ../gtk/key-util-gtk.h
+
+-@GTK2_4_TRUE@@GTK2_TRUE@@PREF_TRUE@uim_pref_gtk_LDADD = @GTK2_LIBS@ $(top_builddir)/uim/libuim-custom.la \
+-@GTK2_4_TRUE@@GTK2_TRUE@@PREF_TRUE@ $(top_builddir)/uim/libuim.la
+-
++@GTK2_4_TRUE@@GTK2_TRUE@@PREF_TRUE@uim_pref_gtk_LDADD = @GTK2_LIBS@
+ @GTK2_4_TRUE@@GTK2_TRUE@@PREF_TRUE@uim_pref_gtk_CPPFLAGS = $(helper_defs) -I$(top_srcdir) -I$(top_builddir)
+ @GTK2_4_TRUE@@GTK2_TRUE@@PREF_TRUE@uim_pref_gtk_CFLAGS = @GTK2_CFLAGS@ -Wall
+ @DICT_TRUE@@GTK2_TRUE@uim_dict_gtk_SOURCES = dict-main-gtk.c \
+@@ -506,7 +485,6 @@
+ @DICT_TRUE@@GTK2_TRUE@ dict-cclass-dialog.h $(am__append_4) \
+ @DICT_TRUE@@GTK2_TRUE@ $(am__append_7)
+ @DICT_TRUE@@GTK2_TRUE@uim_dict_gtk_LDADD = @GTK2_LIBS@ \
+-@DICT_TRUE@@GTK2_TRUE@ $(top_builddir)/uim/libuim.la \
+ @DICT_TRUE@@GTK2_TRUE@ $(am__append_5) $(am__append_8)
+ @DICT_TRUE@@GTK2_TRUE@uim_dict_gtk_CPPFLAGS = $(helper_defs) \
+ @DICT_TRUE@@GTK2_TRUE@ -I$(top_srcdir) -I$(top_builddir) \
diff --git a/textproc/uim/files/extra-patch-qt_Makefile.in b/textproc/uim/files/extra-patch-qt_Makefile.in
new file mode 100644
index 000000000..e2686f6c9
--- /dev/null
+++ b/textproc/uim/files/extra-patch-qt_Makefile.in
@@ -0,0 +1,100 @@
+--- qt/Makefile.in.orig Mon Aug 14 13:28:21 2006
++++ qt/Makefile.in Mon Aug 21 01:27:53 2006
+@@ -95,8 +95,6 @@
+ "$(DESTDIR)$(libexecdir)"
+ extraLTLIBRARIES_INSTALL = $(INSTALL)
+ LTLIBRARIES = $(extra_LTLIBRARIES) $(noinst_LTLIBRARIES)
+-@QT_IMMODULE_TRUE@@QT_TRUE@libquiminputcontextplugin_la_DEPENDENCIES = \
+-@QT_IMMODULE_TRUE@@QT_TRUE@ $(top_builddir)/uim/libuim.la
+ am__libquiminputcontextplugin_la_SOURCES_DIST = \
+ immodule-candidatewindow.cpp immodule-qhelpermanager.cpp \
+ immodule-plugin.cpp immodule-candidatewindow.h \
+@@ -118,8 +116,6 @@
+ $(am_libquiminputcontextplugin_la_OBJECTS)
+ @QT_IMMODULE_TRUE@@QT_TRUE@am_libquiminputcontextplugin_la_rpath = \
+ @QT_IMMODULE_TRUE@@QT_TRUE@ -rpath $(extradir)
+-@QT_TRUE@libtoolbarcommon_la_DEPENDENCIES = \
+-@QT_TRUE@ $(top_builddir)/uim/libuim.la
+ am__libtoolbarcommon_la_SOURCES_DIST = \
+ toolbar-common-quimhelpertoolbar.cpp \
+ toolbar-common-uimstateindicator.cpp qtgettext.h \
+@@ -138,14 +134,11 @@
+ @QT_TRUE@am_uim_candwin_qt_OBJECTS = \
+ @QT_TRUE@ uim_candwin_qt-candwin-qt.$(OBJEXT)
+ uim_candwin_qt_OBJECTS = $(am_uim_candwin_qt_OBJECTS)
+-@QT_TRUE@uim_candwin_qt_DEPENDENCIES = $(top_builddir)/uim/libuim.la
+ am__uim_im_switcher_qt_SOURCES_DIST = switcher-qt.cpp switcher-qt.h \
+ qtgettext.h
+ @QT_TRUE@am_uim_im_switcher_qt_OBJECTS = \
+ @QT_TRUE@ uim_im_switcher_qt-switcher-qt.$(OBJEXT)
+ uim_im_switcher_qt_OBJECTS = $(am_uim_im_switcher_qt_OBJECTS)
+-@QT_TRUE@uim_im_switcher_qt_DEPENDENCIES = \
+-@QT_TRUE@ $(top_builddir)/uim/libuim.la
+ am__uim_pref_qt_SOURCES_DIST = pref-qt.cpp pref-customwidgets.cpp \
+ pref-kseparator.cpp qtgettext.h pref-qt.h pref-customwidgets.h \
+ pref-kseparator.h
+@@ -157,9 +150,6 @@
+ @PREF_TRUE@@QT_TRUE@ uim_pref_qt-pref-keyeditformbase.$(OBJEXT)
+ uim_pref_qt_OBJECTS = $(am_uim_pref_qt_OBJECTS) \
+ $(nodist_uim_pref_qt_OBJECTS)
+-@PREF_TRUE@@QT_TRUE@uim_pref_qt_DEPENDENCIES = \
+-@PREF_TRUE@@QT_TRUE@ $(top_builddir)/uim/libuim-custom.la \
+-@PREF_TRUE@@QT_TRUE@ $(top_builddir)/uim/libuim.la
+ am__uim_toolbar_qt_SOURCES_DIST = toolbar-standalone-qt.cpp \
+ toolbar-standalone-qt.h qtgettext.h \
+ toolbar-common-quimhelpertoolbar.h \
+@@ -167,8 +157,7 @@
+ @QT_TRUE@am_uim_toolbar_qt_OBJECTS = \
+ @QT_TRUE@ uim_toolbar_qt-toolbar-standalone-qt.$(OBJEXT)
+ uim_toolbar_qt_OBJECTS = $(am_uim_toolbar_qt_OBJECTS)
+-@QT_TRUE@uim_toolbar_qt_DEPENDENCIES = $(top_builddir)/uim/libuim.la \
+-@QT_TRUE@ ./libtoolbarcommon.la
++@QT_TRUE@uim_toolbar_qt_DEPENDENCIES = ./libtoolbarcommon.la
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/uim
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+@@ -502,7 +491,6 @@
+
+ @QT_IMMODULE_TRUE@@QT_TRUE@libquiminputcontextplugin_la_CXXFLAGS = $(QT_CXXFLAGS)
+ @QT_IMMODULE_TRUE@@QT_TRUE@libquiminputcontextplugin_la_LDFLAGS = $(QT_LDFLAGS) -avoid-version
+-@QT_IMMODULE_TRUE@@QT_TRUE@libquiminputcontextplugin_la_LIBADD = $(top_builddir)/uim/libuim.la
+
+ # Toolbar Common
+ @QT_TRUE@noinst_LTLIBRARIES = libtoolbarcommon.la
+@@ -511,7 +499,6 @@
+
+ @QT_TRUE@libtoolbarcommon_la_CXXFLAGS = $(QT_CXXFLAGS)
+ @QT_TRUE@libtoolbarcommon_la_LDFLAGS = $(QT_LDFLAGS) -avoid-version
+-@QT_TRUE@libtoolbarcommon_la_LIBADD = $(top_builddir)/uim/libuim.la
+
+ # Toolbar Standalone
+ @QT_TRUE@uim_toolbar_qt_SOURCES = toolbar-standalone-qt.cpp toolbar-standalone-qt.h qtgettext.h \
+@@ -519,19 +506,17 @@
+
+ @QT_TRUE@uim_toolbar_qt_CXXFLAGS = $(QT_CXXFLAGS)
+ @QT_TRUE@uim_toolbar_qt_LDFLAGS = $(QT_LDFLAGS)
+-@QT_TRUE@uim_toolbar_qt_LDADD = $(top_builddir)/uim/libuim.la ./libtoolbarcommon.la
++@QT_TRUE@uim_toolbar_qt_LDADD = ./libtoolbarcommon.la
+
+ # Candidate Window
+ @QT_TRUE@uim_candwin_qt_SOURCES = candwin-qt.cpp candwin-qt.h qtgettext.h
+ @QT_TRUE@uim_candwin_qt_CXXFLAGS = $(QT_CXXFLAGS)
+ @QT_TRUE@uim_candwin_qt_LDFLAGS = $(QT_LDFLAGS)
+-@QT_TRUE@uim_candwin_qt_LDADD = $(top_builddir)/uim/libuim.la
+
+ # Switcher
+ @QT_TRUE@uim_im_switcher_qt_SOURCES = switcher-qt.cpp switcher-qt.h qtgettext.h
+ @QT_TRUE@uim_im_switcher_qt_CXXFLAGS = $(QT_CXXFLAGS)
+ @QT_TRUE@uim_im_switcher_qt_LDFLAGS = $(QT_LDFLAGS)
+-@QT_TRUE@uim_im_switcher_qt_LDADD = $(top_builddir)/uim/libuim.la
+
+ # Pref
+ @PREF_TRUE@@QT_TRUE@nodist_uim_pref_qt_SOURCES = \
+@@ -547,7 +532,6 @@
+
+ @PREF_TRUE@@QT_TRUE@uim_pref_qt_CXXFLAGS = $(QT_CXXFLAGS)
+ @PREF_TRUE@@QT_TRUE@uim_pref_qt_LDFLAGS = $(QT_LDFLAGS)
+-@PREF_TRUE@@QT_TRUE@uim_pref_qt_LDADD = $(top_builddir)/uim/libuim-custom.la $(top_builddir)/uim/libuim.la
+ @QT_TRUE@CLEANFILES = \
+ @QT_TRUE@ $(MOC_FILES) \
+ @QT_TRUE@ $(UI_TMP_FILES)
diff --git a/textproc/uim/files/extra-patch-uim_Makefile.in b/textproc/uim/files/extra-patch-uim_Makefile.in
new file mode 100644
index 000000000..aef951b38
--- /dev/null
+++ b/textproc/uim/files/extra-patch-uim_Makefile.in
@@ -0,0 +1,75 @@
+--- uim/Makefile.in.orig Fri Jul 7 11:16:53 2006
++++ uim/Makefile.in Fri Jul 28 00:01:50 2006
+@@ -89,14 +89,11 @@
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ uim_pluginLTLIBRARIES_INSTALL = $(INSTALL)
+ LTLIBRARIES = $(lib_LTLIBRARIES) $(uim_plugin_LTLIBRARIES)
+-@ANTHY_TRUE@@ENABLE_ANTHY_STATIC_FALSE@libuim_anthy_la_DEPENDENCIES = \
+-@ANTHY_TRUE@@ENABLE_ANTHY_STATIC_FALSE@ libuim.la
+ am__libuim_anthy_la_SOURCES_DIST = anthy.c
+ @ANTHY_TRUE@@ENABLE_ANTHY_STATIC_FALSE@am_libuim_anthy_la_OBJECTS = libuim_anthy_la-anthy.lo
+ libuim_anthy_la_OBJECTS = $(am_libuim_anthy_la_OBJECTS)
+ @ANTHY_TRUE@@ENABLE_ANTHY_STATIC_FALSE@am_libuim_anthy_la_rpath = \
+ @ANTHY_TRUE@@ENABLE_ANTHY_STATIC_FALSE@ -rpath $(uim_plugindir)
+-@CANNA_TRUE@libuim_canna_la_DEPENDENCIES = libuim.la
+ am__libuim_canna_la_SOURCES_DIST = canna.c
+ @CANNA_TRUE@am_libuim_canna_la_OBJECTS = libuim_canna_la-canna.lo
+ libuim_canna_la_OBJECTS = $(am_libuim_canna_la_OBJECTS)
+@@ -109,23 +106,19 @@
+ libuim_custom_la_DEPENDENCIES = libuim.la
+ am_libuim_custom_la_OBJECTS = libuim_custom_la-uim-custom.lo
+ libuim_custom_la_OBJECTS = $(am_libuim_custom_la_OBJECTS)
+-@M17NLIB_TRUE@libuim_m17nlib_la_DEPENDENCIES = libuim.la
+ am__libuim_m17nlib_la_SOURCES_DIST = m17nlib.c
+ @M17NLIB_TRUE@am_libuim_m17nlib_la_OBJECTS = \
+ @M17NLIB_TRUE@ libuim_m17nlib_la-m17nlib.lo
+ libuim_m17nlib_la_OBJECTS = $(am_libuim_m17nlib_la_OBJECTS)
+ @M17NLIB_TRUE@am_libuim_m17nlib_la_rpath = -rpath $(uim_plugindir)
+-@MANA_TRUE@libuim_mana_la_DEPENDENCIES = libuim.la
+ am__libuim_mana_la_SOURCES_DIST = mana.c
+ @MANA_TRUE@am_libuim_mana_la_OBJECTS = libuim_mana_la-mana.lo
+ libuim_mana_la_OBJECTS = $(am_libuim_mana_la_OBJECTS)
+ @MANA_TRUE@am_libuim_mana_la_rpath = -rpath $(uim_plugindir)
+-@PRIME_TRUE@libuim_prime_la_DEPENDENCIES = libuim.la
+ am__libuim_prime_la_SOURCES_DIST = prime.c
+ @PRIME_TRUE@am_libuim_prime_la_OBJECTS = libuim_prime_la-prime.lo
+ libuim_prime_la_OBJECTS = $(am_libuim_prime_la_OBJECTS)
+ @PRIME_TRUE@am_libuim_prime_la_rpath = -rpath $(uim_plugindir)
+-@SCIM_TRUE@libuim_scim_la_DEPENDENCIES = libuim.la
+ am__libuim_scim_la_SOURCES_DIST = scim.cpp
+ @SCIM_TRUE@am_libuim_scim_la_OBJECTS = libuim_scim_la-scim.lo
+ libuim_scim_la_OBJECTS = $(am_libuim_scim_la_OBJECTS)
+@@ -491,27 +484,27 @@
+ $(am__append_5)
+ libuim_custom_la_SOURCES = uim-custom.c
+ @M17NLIB_TRUE@libuim_m17nlib_la_SOURCES = m17nlib.c
+-@M17NLIB_TRUE@libuim_m17nlib_la_LIBADD = @M17NLIB_LIBS@ libuim.la
++@M17NLIB_TRUE@libuim_m17nlib_la_LIBADD = @M17NLIB_LIBS@ -luim
+ @M17NLIB_TRUE@libuim_m17nlib_la_LDFLAGS = -rpath $(uim_plugindir) -avoid-version -module
+ @M17NLIB_TRUE@libuim_m17nlib_la_CPPFLAGS = -I$(top_srcdir)
+ @SCIM_TRUE@libuim_scim_la_SOURCES = scim.cpp
+-@SCIM_TRUE@libuim_scim_la_LIBADD = @SCIM_LIBS@ libuim.la
++@SCIM_TRUE@libuim_scim_la_LIBADD = @SCIM_LIBS@ -luim
+ @SCIM_TRUE@libuim_scim_la_LDFLAGS = -rpath $(uim_plugindir) -avoid-version -module
+ @SCIM_TRUE@libuim_scim_la_CXXFLAGS = -I$(top_srcdir) @SCIM_CFLAGS@
+ @CANNA_TRUE@libuim_canna_la_SOURCES = canna.c
+-@CANNA_TRUE@libuim_canna_la_LIBADD = libuim.la -lcanna
++@CANNA_TRUE@libuim_canna_la_LIBADD = -lcanna -luim
+ @CANNA_TRUE@libuim_canna_la_LDFLAGS = -rpath $(uim_plugindir) -avoid-version -module
+ @CANNA_TRUE@libuim_canna_la_CPPFLAGS = -I$(top_srcdir)
+ @ANTHY_TRUE@@ENABLE_ANTHY_STATIC_FALSE@libuim_anthy_la_SOURCES = anthy.c
+-@ANTHY_TRUE@@ENABLE_ANTHY_STATIC_FALSE@libuim_anthy_la_LIBADD = @ANTHY_LIBS@ libuim.la
++@ANTHY_TRUE@@ENABLE_ANTHY_STATIC_FALSE@libuim_anthy_la_LIBADD = @ANTHY_LIBS@ -luim
+ @ANTHY_TRUE@@ENABLE_ANTHY_STATIC_FALSE@libuim_anthy_la_LDFLAGS = -rpath $(uim_plugindir) -avoid-version -module
+ @ANTHY_TRUE@@ENABLE_ANTHY_STATIC_FALSE@libuim_anthy_la_CPPFLAGS = -I$(top_srcdir)
+ @MANA_TRUE@libuim_mana_la_SOURCES = mana.c
+-@MANA_TRUE@libuim_mana_la_LIBADD = libuim.la
++@MANA_TRUE@libuim_mana_la_LIBADD = -luim
+ @MANA_TRUE@libuim_mana_la_LDFLAGS = -rpath $(uim_plugindir) -avoid-version -module
+ @MANA_TRUE@libuim_mana_la_CPPFLAGS = -I$(top_srcdir)
+ @PRIME_TRUE@libuim_prime_la_SOURCES = prime.c
+-@PRIME_TRUE@libuim_prime_la_LIBADD = libuim.la
++@PRIME_TRUE@libuim_prime_la_LIBADD = -luim
+ @PRIME_TRUE@libuim_prime_la_LDFLAGS = -rpath $(uim_plugindir) -avoid-version -module
+ @PRIME_TRUE@libuim_prime_la_CPPFLAGS = -I$(top_srcdir)
+ libuim_skk_la_SOURCES = skk.c
diff --git a/textproc/uim/files/extra-patch-uim_editline.c b/textproc/uim/files/extra-patch-uim_editline.c
new file mode 100644
index 000000000..15f393618
--- /dev/null
+++ b/textproc/uim/files/extra-patch-uim_editline.c
@@ -0,0 +1,22 @@
+--- uim/editline.c.orig Wed Dec 7 21:39:32 2005
++++ uim/editline.c Tue Jan 31 01:48:45 2006
+@@ -52,6 +52,10 @@
+
+ #include "editline.h"
+
++#ifndef H_SETSIZE
++#define H_SETSIZE 1
++#endif
++
+ static EditLine *el;
+ static History *hist;
+ static HistEvent hev;
+@@ -65,7 +69,7 @@
+ void
+ editline_init(void)
+ {
+- el = el_init("uim", stdin, stdout, stderr);
++ el = el_init("uim", stdin, stdout);
+ el_set(el, EL_PROMPT, &prompt);
+ el_set(el, EL_EDITOR, "emacs");
+
diff --git a/textproc/uim/files/patch-Makefile.in b/textproc/uim/files/patch-Makefile.in
new file mode 100644
index 000000000..c7c93b8da
--- /dev/null
+++ b/textproc/uim/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Fri Dec 16 17:11:10 2005
++++ Makefile.in Sat Dec 24 03:01:18 2005
+@@ -335,7 +335,7 @@
+ uim.pc.in ChangeLog.old uim.desktop autogen.sh
+
+ DISTCLEANFILES = uim.pc intltool-extract intltool-merge intltool-update po/.intltool-merge-cache
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_DATA = uim.pc
+ desktopdir = $(datadir)/applications
+ desktop_in_files = uim.desktop.in
diff --git a/textproc/uim/files/patch-emacs_Makefile.in b/textproc/uim/files/patch-emacs_Makefile.in
new file mode 100644
index 000000000..41b7fb305
--- /dev/null
+++ b/textproc/uim/files/patch-emacs_Makefile.in
@@ -0,0 +1,18 @@
+--- emacs/Makefile.in.orig Fri Dec 16 17:10:53 2005
++++ emacs/Makefile.in Sat Dec 24 07:41:33 2005
+@@ -670,15 +670,6 @@
+ distclean-libtool:
+ -rm -f libtool
+ uninstall-info-am:
+-install-dist_uimel_lispDATA: $(dist_uimel_lisp_DATA)
+- @$(NORMAL_INSTALL)
+- test -z "$(uimel_lispdir)" || $(mkdir_p) "$(DESTDIR)$(uimel_lispdir)"
+- @list='$(dist_uimel_lisp_DATA)'; for p in $$list; do \
+- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+- f=$(am__strip_dir) \
+- echo " $(dist_uimel_lispDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(uimel_lispdir)/$$f'"; \
+- $(dist_uimel_lispDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(uimel_lispdir)/$$f"; \
+- done
+
+ uninstall-dist_uimel_lispDATA:
+ @$(NORMAL_UNINSTALL)
diff --git a/textproc/uim/files/patch-gtk:Makefile.in b/textproc/uim/files/patch-gtk:Makefile.in
new file mode 100644
index 000000000..675013159
--- /dev/null
+++ b/textproc/uim/files/patch-gtk:Makefile.in
@@ -0,0 +1,27 @@
+--- gtk/Makefile.in.orig Fri Dec 16 17:10:56 2005
++++ gtk/Makefile.in Sat Dec 24 03:04:10 2005
+@@ -381,15 +381,15 @@
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+ install-moduleLTLIBRARIES: $(module_LTLIBRARIES)
+- @$(NORMAL_INSTALL)
+- test -z "$(moduledir)" || $(mkdir_p) "$(DESTDIR)$(moduledir)"
+- @list='$(module_LTLIBRARIES)'; for p in $$list; do \
+- if test -f $$p; then \
+- f=$(am__strip_dir) \
+- echo " $(LIBTOOL) --mode=install $(moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(moduledir)/$$f'"; \
+- $(LIBTOOL) --mode=install $(moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(moduledir)/$$f"; \
+- else :; fi; \
+- done
++@GTK2_TRUE@ @$(NORMAL_INSTALL)
++@GTK2_TRUE@ test -z "$(moduledir)" || $(mkdir_p) "$(DESTDIR)$(moduledir)"
++@GTK2_TRUE@ @list='$(module_LTLIBRARIES)'; for p in $$list; do \
++@GTK2_TRUE@ if test -f $$p; then \
++@GTK2_TRUE@ f=$(am__strip_dir) \
++@GTK2_TRUE@ echo " $(LIBTOOL) --mode=install $(moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(moduledir)/$$f'"; \
++@GTK2_TRUE@ $(LIBTOOL) --mode=install $(moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(moduledir)/$$f"; \
++@GTK2_TRUE@ else :; fi; \
++@GTK2_TRUE@ done
+
+ uninstall-moduleLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
diff --git a/textproc/uim/files/patch-helper:Makefile.in b/textproc/uim/files/patch-helper:Makefile.in
new file mode 100644
index 000000000..7b67242c1
--- /dev/null
+++ b/textproc/uim/files/patch-helper:Makefile.in
@@ -0,0 +1,11 @@
+--- helper/Makefile.in.orig Fri Dec 16 17:10:59 2005
++++ helper/Makefile.in Sat Dec 24 03:05:26 2005
+@@ -422,7 +422,7 @@
+ @APPLET_TRUE@uim_toolbar_applet_CPPFLAGS = $(helper_defs) -I$(top_srcdir) -I$(top_builddir)
+ @APPLET_TRUE@uim_toolbar_applet_CFLAGS = @GTK2_CFLAGS@ @APPLET_CFLAGS@ @GNOME2_CFLAGS@ -Wall
+ @APPLET_TRUE@uim_toolbar_applet_SOURCES = toolbar-applet-gnome.c toolbar-common-gtk.c
+-@APPLET_TRUE@serverdir = $(libdir)/bonobo/servers
++@APPLET_TRUE@serverdir = $(prefix)/libdata/bonobo/servers
+ @APPLET_TRUE@server_DATA = GNOME_UimApplet.server
+ @APPLET_TRUE@server_in_files = $(server_DATA:=.in)
+ @APPLET_TRUE@server_in_in_files = $(server_in_files:=.in)
diff --git a/textproc/uim/files/patch-scm:skk-custom.scm b/textproc/uim/files/patch-scm:skk-custom.scm
new file mode 100644
index 000000000..895f1ad67
--- /dev/null
+++ b/textproc/uim/files/patch-scm:skk-custom.scm
@@ -0,0 +1,12 @@
+--- scm/skk-custom.scm.orig Tue Jun 14 05:46:11 2005
++++ scm/skk-custom.scm Mon Jun 27 02:29:34 2005
+@@ -338,8 +338,7 @@
+ (lambda ()
+ skk-use-skkserv?))
+
+-(define-custom 'skk-dic-file-name (string-append (sys-datadir)
+- "/skk/SKK-JISYO.L")
++(define-custom 'skk-dic-file-name "%%LOCALBASE%%/share/skk/SKK-JISYO.L"
+ '(skk-dict)
+ '(pathname)
+ (_ "Dictionary file")
diff --git a/textproc/uim/files/patch-uim:scim.cpp b/textproc/uim/files/patch-uim:scim.cpp
new file mode 100644
index 000000000..c01766738
--- /dev/null
+++ b/textproc/uim/files/patch-uim:scim.cpp
@@ -0,0 +1,19 @@
+--- uim/scim.cpp.orig Wed Dec 7 21:39:32 2005
++++ uim/scim.cpp Sat Dec 24 04:13:02 2005
+@@ -43,7 +43,6 @@
+ #include "uim.h"
+ #include "uim-scm.h"
+ #include "uim-compat-scm.h"
+-#include "context.h"
+
+ using namespace scim;
+
+@@ -175,7 +174,7 @@
+ return uim_scm_f();
+ }
+
+- config = config_module->create_config("scim");
++ config = config_module->create_config();
+ if ( config.null() )
+ {
+ fprintf(stderr, "create_config failed\n");
diff --git a/textproc/uim/pkg-descr b/textproc/uim/pkg-descr
new file mode 100644
index 000000000..a5e56fffb
--- /dev/null
+++ b/textproc/uim/pkg-descr
@@ -0,0 +1,9 @@
+uim aims for multilingual input method library.
+It works as an XIM server or an input module of GTK+ 2.x.
+And currently it supports following input methods.
+
+ Chinese: New Pinyin (Simplified), Pinyin (Unicode), Pinyin (Traditional)
+ Japanese: Anthy, Canna, Prime, SKK, T-code, TUT-code
+ Korean: Byeoru, Hangul (2-beol), Hangul (3-beol), Hangul (Romaja)
+
+WWW: http://uim.freedesktop.org/wiki/
diff --git a/textproc/uim/pkg-plist b/textproc/uim/pkg-plist
new file mode 100644
index 000000000..d3ff2e315
--- /dev/null
+++ b/textproc/uim/pkg-plist
@@ -0,0 +1,199 @@
+bin/uim-el-agent
+bin/uim-el-helper-agent
+bin/uim-fep
+bin/uim-fep-tick
+bin/uim-module-manager
+bin/uim-sh
+%%X11%%bin/uim-xim
+include/uim/plugin.h
+include/uim/uim-compat-scm.h
+include/uim/uim-custom.h
+include/uim/uim-helper.h
+include/uim/uim-im-switcher.h
+include/uim/uim-scm.h
+include/uim/uim-util.h
+include/uim/uim.h
+lib/libuim-custom.a
+lib/libuim-custom.la
+lib/libuim-custom.so
+lib/libuim-custom.so.2
+lib/libuim.a
+lib/libuim.la
+lib/libuim.so
+lib/libuim.so.3
+lib/uim/plugin/libuim-custom-enabler.a
+lib/uim/plugin/libuim-custom-enabler.la
+lib/uim/plugin/libuim-custom-enabler.so
+lib/uim/plugin/libuim-skk.a
+lib/uim/plugin/libuim-skk.la
+lib/uim/plugin/libuim-skk.so
+libdata/pkgconfig/uim.pc
+%%X11%%libexec/uim-candwin-gtk
+libexec/uim-helper-server
+share/applications/uim.desktop
+share/locale/fr/LC_MESSAGES/uim.mo
+share/locale/ja/LC_MESSAGES/uim.mo
+share/locale/ko/LC_MESSAGES/uim.mo
+%%PORTDOCS%%%%DOCSDIR_JA%%/README.fep
+%%PORTDOCS%%%%DOCSDIR%%/KEY
+%%PORTDOCS%%%%DOCSDIR%%/README.fep
+%%PORTDOCS%%%%DOCSDIR%%/README.xim
+%%DATADIR%%/action.scm
+%%DATADIR%%/anthy-custom.scm
+%%DATADIR%%/anthy-key-custom.scm
+%%DATADIR%%/anthy.scm
+%%DATADIR%%/byeoru-custom.scm
+%%DATADIR%%/byeoru-dic.scm
+%%DATADIR%%/byeoru-key-custom.scm
+%%DATADIR%%/byeoru-symbols.scm
+%%DATADIR%%/byeoru.scm
+%%DATADIR%%/canna-custom.scm
+%%DATADIR%%/canna-key-custom.scm
+%%DATADIR%%/canna.scm
+%%DATADIR%%/custom-rt.scm
+%%DATADIR%%/custom.scm
+%%DATADIR%%/default.scm
+%%DATADIR%%/direct.scm
+%%DATADIR%%/generic-custom.scm
+%%DATADIR%%/generic-key-custom.scm
+%%DATADIR%%/generic.scm
+%%DATADIR%%/hangul.scm
+%%DATADIR%%/hangul2.scm
+%%DATADIR%%/hangul3.scm
+%%DATADIR%%/i18n.scm
+%%DATADIR%%/im-custom.scm
+%%DATADIR%%/im-switcher.scm
+%%DATADIR%%/im.scm
+%%DATADIR%%/init.scm
+%%DATADIR%%/installed-modules.scm
+%%DATADIR%%/ipa-x-sampa.scm
+%%DATADIR%%/japanese-azik.scm
+%%DATADIR%%/japanese-kana.scm
+%%DATADIR%%/japanese.scm
+%%DATADIR%%/key.scm
+%%DATADIR%%/latin.scm
+%%DATADIR%%/lazy-load.scm
+%%DATADIR%%/load-action.scm
+%%DATADIR%%/loader.scm
+%%DATADIR%%/m17nlib.scm
+%%DATADIR%%/mana-custom.scm
+%%DATADIR%%/mana-key-custom.scm
+%%DATADIR%%/mana.scm
+%%DATADIR%%/pinyin-big5.scm
+%%DATADIR%%/pixmaps/anthy.png
+%%DATADIR%%/pixmaps/byeoru.png
+%%DATADIR%%/pixmaps/byeoru.svg
+%%DATADIR%%/pixmaps/canna.png
+%%DATADIR%%/pixmaps/direct.png
+%%DATADIR%%/pixmaps/direct.svg
+%%DATADIR%%/pixmaps/direct_input.png
+%%DATADIR%%/pixmaps/direct_input.svg
+%%DATADIR%%/pixmaps/hangul2.png
+%%DATADIR%%/pixmaps/hangul2.svg
+%%DATADIR%%/pixmaps/hangul3.png
+%%DATADIR%%/pixmaps/hangul3.svg
+%%DATADIR%%/pixmaps/im_subst.svg
+%%DATADIR%%/pixmaps/ipa-x-sampa.png
+%%DATADIR%%/pixmaps/ipa-x-sampa.svg
+%%DATADIR%%/pixmaps/ja_azik.png
+%%DATADIR%%/pixmaps/ja_azik.svg
+%%DATADIR%%/pixmaps/ja_direct.png
+%%DATADIR%%/pixmaps/ja_direct.svg
+%%DATADIR%%/pixmaps/ja_fullwidth_alnum.png
+%%DATADIR%%/pixmaps/ja_fullwidth_alnum.svg
+%%DATADIR%%/pixmaps/ja_halfkana.png
+%%DATADIR%%/pixmaps/ja_halfkana.svg
+%%DATADIR%%/pixmaps/ja_halfwidth_alnum.png
+%%DATADIR%%/pixmaps/ja_halfwidth_alnum.svg
+%%DATADIR%%/pixmaps/ja_hiragana.png
+%%DATADIR%%/pixmaps/ja_hiragana.svg
+%%DATADIR%%/pixmaps/ja_kana.png
+%%DATADIR%%/pixmaps/ja_kana.svg
+%%DATADIR%%/pixmaps/ja_katakana.png
+%%DATADIR%%/pixmaps/ja_katakana.svg
+%%DATADIR%%/pixmaps/ja_nicola.png
+%%DATADIR%%/pixmaps/ja_nicola.svg
+%%DATADIR%%/pixmaps/ja_pocketbell.png
+%%DATADIR%%/pixmaps/ja_pocketbell.svg
+%%DATADIR%%/pixmaps/ja_romaji.png
+%%DATADIR%%/pixmaps/ja_romaji.svg
+%%DATADIR%%/pixmaps/ko_direct.png
+%%DATADIR%%/pixmaps/ko_direct.svg
+%%DATADIR%%/pixmaps/ko_hangulchar.png
+%%DATADIR%%/pixmaps/ko_hangulchar.svg
+%%DATADIR%%/pixmaps/ko_hangulword.png
+%%DATADIR%%/pixmaps/ko_hangulword.svg
+%%DATADIR%%/pixmaps/latin.png
+%%DATADIR%%/pixmaps/latin.svg
+%%DATADIR%%/pixmaps/mana.png
+%%DATADIR%%/pixmaps/mana.svg
+%%DATADIR%%/pixmaps/null.png
+%%DATADIR%%/pixmaps/off.png
+%%DATADIR%%/pixmaps/off.svg
+%%DATADIR%%/pixmaps/on.png
+%%DATADIR%%/pixmaps/on.svg
+%%DATADIR%%/pixmaps/pinyin-big5.png
+%%DATADIR%%/pixmaps/pinyin-big5.svg
+%%DATADIR%%/pixmaps/prime.png
+%%DATADIR%%/pixmaps/prime_mode_application.png
+%%DATADIR%%/pixmaps/prime_mode_application.svg
+%%DATADIR%%/pixmaps/py.png
+%%DATADIR%%/pixmaps/py.svg
+%%DATADIR%%/pixmaps/pyunihan.png
+%%DATADIR%%/pixmaps/pyunihan.svg
+%%DATADIR%%/pixmaps/romaja.png
+%%DATADIR%%/pixmaps/romaja.svg
+%%DATADIR%%/pixmaps/scim.png
+%%DATADIR%%/pixmaps/scim.svg
+%%DATADIR%%/pixmaps/skk.png
+%%DATADIR%%/pixmaps/skk.svg
+%%DATADIR%%/pixmaps/switcher-icon.png
+%%DATADIR%%/pixmaps/tcode.png
+%%DATADIR%%/pixmaps/tcode.svg
+%%DATADIR%%/pixmaps/tutcode.png
+%%DATADIR%%/pixmaps/tutcode.svg
+%%DATADIR%%/pixmaps/uim-dict.png
+%%DATADIR%%/pixmaps/uim-dict.svg
+%%DATADIR%%/pixmaps/uim-gray.png
+%%DATADIR%%/pixmaps/uim-icon.png
+%%DATADIR%%/pixmaps/uim-icon48.png
+%%DATADIR%%/pixmaps/uim-icon64.png
+%%DATADIR%%/pixmaps/unknown.png
+%%DATADIR%%/pixmaps/unknown.svg
+%%DATADIR%%/pixmaps/viqr.png
+%%DATADIR%%/pixmaps/viqr.svg
+%%DATADIR%%/plugin.scm
+%%DATADIR%%/prime-custom.scm
+%%DATADIR%%/prime-key-custom.scm
+%%DATADIR%%/prime.scm
+%%DATADIR%%/py.scm
+%%DATADIR%%/pyload.scm
+%%DATADIR%%/pyunihan.scm
+%%DATADIR%%/rk.scm
+%%DATADIR%%/romaja.scm
+%%DATADIR%%/scim.scm
+%%DATADIR%%/skk-custom.scm
+%%DATADIR%%/skk-dialog.scm
+%%DATADIR%%/skk-editor.scm
+%%DATADIR%%/skk-key-custom.scm
+%%DATADIR%%/skk.scm
+%%DATADIR%%/spellcheck-custom.scm
+%%DATADIR%%/spellcheck.scm
+%%DATADIR%%/tcode.scm
+%%DATADIR%%/tutcode-key-custom.scm
+%%DATADIR%%/tutcode.scm
+%%DATADIR%%/uim-db.scm
+%%DATADIR%%/uim-module-manager.scm
+%%DATADIR%%/uim-sh.scm
+%%DATADIR%%/ustr.scm
+%%DATADIR%%/util.scm
+%%DATADIR%%/viqr.scm
+%%DATADIR%%/zaurus.scm
+@dirrm include/uim
+@dirrm lib/uim/plugin
+@dirrm lib/uim
+@dirrmtry share/applications
+%%PORTDOCS%%@dirrm %%DOCSDIR_JA%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%DATADIR%%/pixmaps
+@dirrm %%DATADIR%%