Tested on amd64.

$ cat DESCR:
scim-pinyin is an scim IMEngine module for pinyin.

        Kevin
diff -ruN inputmethods.orig/scim-pinyin/Makefile inputmethods/scim-pinyin/Makefile
--- inputmethods.orig/scim-pinyin/Makefile	Thu Jan  1 08:00:00 1970
+++ inputmethods/scim-pinyin/Makefile	Mon Oct 27 18:36:22 2008
@@ -0,0 +1,43 @@
+# $OpenBSD$
+
+SHARED_ONLY=	Yes
+
+COMMENT=	scim input method module for pinyin
+
+DISTNAME=	scim-pinyin-0.5.91
+
+CATEGORIES=	inputmethods chinese
+
+HOMEPAGE=	http://www.scim-im.org/
+
+MAINTAINER=	Kevin Lo <[EMAIL PROTECTED]>
+
+# GPLv2
+PERMIT_PACKAGE_CDROM=	Yes
+PERMIT_DISTFILES_CDROM=	Yes
+PERMIT_PACKAGE_FTP=	Yes
+PERMIT_DISTFILES_FTP=	Yes
+
+WANTLIB=	X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
+		Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig \
+		freetype gdk-x11-2.0 gdk_pixbuf-2.0 glib-2.0 glitz \
+		gmodule-2.0 gobject-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0 \
+		pangoft2-1.0 pcre pixman-1 png stdc++ z
+
+MODULES=	devel/gettext
+
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=scim/}
+
+LIB_DEPENDS=	gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2 \
+		scim-1.0,scim-gtkutils-1.0,scim-x11utils-1.0::inputmethods/scim
+
+USE_X11=	Yes
+USE_LIBTOOL=	Yes
+LIBTOOL_FLAGS=	--tag=disable-static
+
+CONFIGURE_STYLE=gnu
+CONFIGURE_ARGS=	${CONFIGURE_SHARED} \
+		--disable-static \
+		--disable-skim-support
+
+.include <bsd.port.mk>
diff -ruN inputmethods.orig/scim-pinyin/distinfo inputmethods/scim-pinyin/distinfo
--- inputmethods.orig/scim-pinyin/distinfo	Thu Jan  1 08:00:00 1970
+++ inputmethods/scim-pinyin/distinfo	Mon Oct 27 18:36:22 2008
@@ -0,0 +1,5 @@
+MD5 (scim-pinyin-0.5.91.tar.gz) = +5bTVFCQ12geoD7aztTsyw==
+RMD160 (scim-pinyin-0.5.91.tar.gz) = 2957eHHHuvNlbNTHAAGWz5muFeI=
+SHA1 (scim-pinyin-0.5.91.tar.gz) = WL6kN6IRt6+EIAV1QaOJM6QYQcc=
+SHA256 (scim-pinyin-0.5.91.tar.gz) = m2skr4QcvwNTuRnff1a+kxhQ/M87kUFyr3o5tttyZlM=
+SIZE (scim-pinyin-0.5.91.tar.gz) = 5492055
diff -ruN inputmethods.orig/scim-pinyin/pkg/DESCR inputmethods/scim-pinyin/pkg/DESCR
--- inputmethods.orig/scim-pinyin/pkg/DESCR	Thu Jan  1 08:00:00 1970
+++ inputmethods/scim-pinyin/pkg/DESCR	Mon Oct 27 18:36:22 2008
@@ -0,0 +1 @@
+scim-pinyin is an scim IMEngine module for pinyin.
diff -ruN inputmethods.orig/scim-pinyin/pkg/PLIST inputmethods/scim-pinyin/pkg/PLIST
--- inputmethods.orig/scim-pinyin/pkg/PLIST	Thu Jan  1 08:00:00 1970
+++ inputmethods/scim-pinyin/pkg/PLIST	Mon Oct 27 18:36:22 2008
@@ -0,0 +1,19 @@
[EMAIL PROTECTED] $OpenBSD$
+lib/scim-1.0/1.4.0/IMEngine/pinyin.la
+lib/scim-1.0/1.4.0/IMEngine/pinyin.so
+lib/scim-1.0/1.4.0/SetupUI/pinyin-imengine-setup.la
+lib/scim-1.0/1.4.0/SetupUI/pinyin-imengine-setup.so
+share/locale/de/LC_MESSAGES/scim-pinyin.mo
+share/locale/fr/LC_MESSAGES/scim-pinyin.mo
+share/locale/it/LC_MESSAGES/scim-pinyin.mo
+share/locale/ja/LC_MESSAGES/scim-pinyin.mo
+share/locale/ko/LC_MESSAGES/scim-pinyin.mo
+share/locale/zh_CN/LC_MESSAGES/scim-pinyin.mo
+share/locale/zh_TW/LC_MESSAGES/scim-pinyin.mo
+share/scim/icons/smart-pinyin.png
+share/scim/pinyin/
+share/scim/pinyin/phrase_lib
+share/scim/pinyin/pinyin_phrase_index
+share/scim/pinyin/pinyin_phrase_lib
+share/scim/pinyin/pinyin_table
+share/scim/pinyin/special_table

Reply via email to