Hi, $ cat pkg/DESCR uim-chewing is Chewing IM for uim.
tested on amd64. Kevin
diff -ruN inputmethods.orig/uim-chewing/Makefile inputmethods/uim-chewing/Makefile --- inputmethods.orig/uim-chewing/Makefile Thu Jan 1 08:00:00 1970 +++ inputmethods/uim-chewing/Makefile Mon Oct 6 13:25:44 2008 @@ -0,0 +1,34 @@ +# $OpenBSD$ + +COMMENT= chewing input method for uim + +DISTNAME= uim-chewing-0.0.3 + +CATEGORIES= inputmethods chinese + +HOMEPAGE= http://tomoe.sourceforge.jp/ + +MAINTAINER= Kevin Lo <[EMAIL PROTECTED]> + +# BSD +PERMIT_PACKAGE_CDROM= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_FTP= Yes + +WANTLIB= iconv intl + +MASTER_SITES= http://uim.googlecode.com/files/ + +LIB_DEPENDS= chewing::chinese/libchewing \ + uim::inputmethods/uim + +USE_X11= Yes +USE_LIBTOOL= Yes +CONFIGURE_STYLE=gnu + +pre-configure: + @perl -pi -e "s,0.3.091,0.3.1," ${WRKSRC}/configure + @perl -pi -e "s,0.3.091,0.3.1," ${WRKSRC}/configure.ac + +.include <bsd.port.mk> diff -ruN inputmethods.orig/uim-chewing/distinfo inputmethods/uim-chewing/distinfo --- inputmethods.orig/uim-chewing/distinfo Thu Jan 1 08:00:00 1970 +++ inputmethods/uim-chewing/distinfo Mon Oct 6 13:25:44 2008 @@ -0,0 +1,5 @@ +MD5 (uim-chewing-0.0.3.tar.gz) = /v/bvK3he2cJQ7FvvdpEpg== +RMD160 (uim-chewing-0.0.3.tar.gz) = vboylAOqMQST0B4gGQKOjHp8pBs= +SHA1 (uim-chewing-0.0.3.tar.gz) = TqYEgsqJQMmXnhqbX8ZTJChVdGg= +SHA256 (uim-chewing-0.0.3.tar.gz) = qhp5oIJfJXn41oMMwxvKNfiIC3cPD1lMTmTjtOu/+d4= +SIZE (uim-chewing-0.0.3.tar.gz) = 332752 diff -ruN inputmethods.orig/uim-chewing/patches/patch-scm_Makefile_in inputmethods/uim-chewing/patches/patch-scm_Makefile_in --- inputmethods.orig/uim-chewing/patches/patch-scm_Makefile_in Thu Jan 1 08:00:00 1970 +++ inputmethods/uim-chewing/patches/patch-scm_Makefile_in Mon Oct 6 13:25:44 2008 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- scm/Makefile.in.orig Sat Oct 4 22:36:13 2008 ++++ scm/Makefile.in Sat Oct 4 22:36:26 2008 +@@ -369,7 +369,7 @@ uninstall-am: uninstall-uim_plugin_dataDATA + + + install-data-hook: +- uim-module-manager --register chewing ++# uim-module-manager --register chewing + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: diff -ruN inputmethods.orig/uim-chewing/pkg/DESCR inputmethods/uim-chewing/pkg/DESCR --- inputmethods.orig/uim-chewing/pkg/DESCR Thu Jan 1 08:00:00 1970 +++ inputmethods/uim-chewing/pkg/DESCR Mon Oct 6 13:25:44 2008 @@ -0,0 +1 @@ +uim-chewing is Chewing IM for uim. diff -ruN inputmethods.orig/uim-chewing/pkg/PFRAG.shared inputmethods/uim-chewing/pkg/PFRAG.shared --- inputmethods.orig/uim-chewing/pkg/PFRAG.shared Thu Jan 1 08:00:00 1970 +++ inputmethods/uim-chewing/pkg/PFRAG.shared Mon Oct 6 13:25:44 2008 @@ -0,0 +1,2 @@ [EMAIL PROTECTED] $OpenBSD$ +lib/uim/plugin/libuim-chewing.so diff -ruN inputmethods.orig/uim-chewing/pkg/PLIST inputmethods/uim-chewing/pkg/PLIST --- inputmethods.orig/uim-chewing/pkg/PLIST Thu Jan 1 08:00:00 1970 +++ inputmethods/uim-chewing/pkg/PLIST Mon Oct 6 13:25:44 2008 @@ -0,0 +1,14 @@ [EMAIL PROTECTED] $OpenBSD$ +%%SHARED%% +lib/uim/ +lib/uim/plugin/ +lib/uim/plugin/libuim-chewing.a +lib/uim/plugin/libuim-chewing.la +share/uim/ +share/uim/chewing-custom.scm +share/uim/chewing-key-custom.scm +share/uim/chewing.scm +share/uim/pixmaps/ +share/uim/pixmaps/chewing.png [EMAIL PROTECTED] %D/bin/uim-module-manager --register chewing [EMAIL PROTECTED] %D/bin/uim-module-manager --unregister chewing