aboutsummaryrefslogtreecommitdiff
path: root/vietnamese
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-01-28 04:58:15 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-01-28 04:58:15 +0000
commit75a4753b180e5cb7ce665bc2a678ae8406920c6a (patch)
treeaa76e783244f5abf50f9fdb44e3a9d4313dedc75 /vietnamese
parent8de095b25dde3dc7aa092ba570f6c49db3a99ca6 (diff)
downloadports-75a4753b180e5cb7ce665bc2a678ae8406920c6a.tar.gz
ports-75a4753b180e5cb7ce665bc2a678ae8406920c6a.zip
Add gtk-im-vi 0.1.1, simple GTK+ input methods for Vietnamese(VNI and
TELEX). PR: ports/108429 Submitted by: chinsan
Notes
Notes: svn path=/head/; revision=183504
Diffstat (limited to 'vietnamese')
-rw-r--r--vietnamese/Makefile1
-rw-r--r--vietnamese/gtk-im-vi/Makefile30
-rw-r--r--vietnamese/gtk-im-vi/distinfo3
-rw-r--r--vietnamese/gtk-im-vi/pkg-descr5
-rw-r--r--vietnamese/gtk-im-vi/pkg-plist11
5 files changed, 50 insertions, 0 deletions
diff --git a/vietnamese/Makefile b/vietnamese/Makefile
index f0d661fff24b..9276a40527c8 100644
--- a/vietnamese/Makefile
+++ b/vietnamese/Makefile
@@ -5,6 +5,7 @@
SUBDIR += aspell
.if !defined(NO_VIET_KDE)
+ SUBDIR += gtk-im-vi
SUBDIR += kde3-i18n
.endif
SUBDIR += libviet
diff --git a/vietnamese/gtk-im-vi/Makefile b/vietnamese/gtk-im-vi/Makefile
new file mode 100644
index 000000000000..6f0668fc462a
--- /dev/null
+++ b/vietnamese/gtk-im-vi/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: gtk-im-vi
+# Date created: 2006/01/08
+# Whom: chinsan
+#
+# $FreeBSD$
+#
+
+PORTNAME= gtk-im-vi
+PORTVERSION= 0.1.1
+CATEGORIES= vietnamese textproc gnome
+MASTER_SITES= http://dev.gentoo.org/~pclouds/files/
+
+MAINTAINER= chinsan@FreeBSD.org
+COMMENT= Simple GTK+ input methods for Vietnamese(VNI and TELEX)
+
+GNU_CONFIGURE= YES
+USE_GNOME= gtk20
+USE_GCC= 3.4+
+USE_LDCONFIG= YES
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},; s,ChangeLog,,' \
+ ${WRKSRC}/Makefile.in ${WRKSRC}/po/Makefile.in.in
+
+post-install:
+ @gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules
+
+.include <bsd.port.post.mk>
diff --git a/vietnamese/gtk-im-vi/distinfo b/vietnamese/gtk-im-vi/distinfo
new file mode 100644
index 000000000000..b7c3b7cb191e
--- /dev/null
+++ b/vietnamese/gtk-im-vi/distinfo
@@ -0,0 +1,3 @@
+MD5 (gtk-im-vi-0.1.1.tar.gz) = 0e22e792d918a44e24fbfd5c828ad3ec
+SHA256 (gtk-im-vi-0.1.1.tar.gz) = 87b76d383a7e201011e3a1a36a6532f69a65d9b07f42716926824026754b8eed
+SIZE (gtk-im-vi-0.1.1.tar.gz) = 351913
diff --git a/vietnamese/gtk-im-vi/pkg-descr b/vietnamese/gtk-im-vi/pkg-descr
new file mode 100644
index 000000000000..66c9f7d9e37f
--- /dev/null
+++ b/vietnamese/gtk-im-vi/pkg-descr
@@ -0,0 +1,5 @@
+gtk-im-vi contains two simple GTK+ input methods, VNI and TELEX, for those
+who just want to type Vietnamese in GTK+ apps without complicated input
+methods. They're small and just work.
+
+WWW: http://freshmeat.net/projects/gtk-im-vi/
diff --git a/vietnamese/gtk-im-vi/pkg-plist b/vietnamese/gtk-im-vi/pkg-plist
new file mode 100644
index 000000000000..c738fd428fda
--- /dev/null
+++ b/vietnamese/gtk-im-vi/pkg-plist
@@ -0,0 +1,11 @@
+lib/gtk-2.0/2.10.0/immodules/im-vni.so
+lib/gtk-2.0/2.10.0/immodules/im-vni.la
+lib/gtk-2.0/2.10.0/immodules/im-vni.a
+lib/gtk-2.0/2.10.0/immodules/im-telex.so
+lib/gtk-2.0/2.10.0/immodules/im-telex.la
+lib/gtk-2.0/2.10.0/immodules/im-telex.a
+@dirrmtry lib/gtk-2.0/2.10.0/immodules
+@dirrmtry lib/gtk-2.0/2.10.0
+@dirrmtry lib/gtk-2.0
+@exec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules
+@unexec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules