summaryrefslogtreecommitdiff
path: root/inputmethod/kimera-tomoe-gtk
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-05-20 07:48:09 +0000
committerobache <obache@pkgsrc.org>2010-05-20 07:48:09 +0000
commit5892421168e435c0f7975bed3bb0e8aa91607c17 (patch)
treede5788dd7199e3db6b1ea0f1bafd86a6f9e7ad36 /inputmethod/kimera-tomoe-gtk
parentb63502036fb41419a052dc77b01add3745658b20 (diff)
downloadpkgsrc-5892421168e435c0f7975bed3bb0e8aa91607c17.tar.gz
Import kimera-tomoe-gtk-0.5 as inputmethod/kimera-tomoe-gtk.
kimera-tomoe-gtk is an Kimera helper program for Tomoe.
Diffstat (limited to 'inputmethod/kimera-tomoe-gtk')
-rw-r--r--inputmethod/kimera-tomoe-gtk/DESCR1
-rw-r--r--inputmethod/kimera-tomoe-gtk/Makefile28
-rw-r--r--inputmethod/kimera-tomoe-gtk/PLIST3
-rw-r--r--inputmethod/kimera-tomoe-gtk/distinfo6
-rw-r--r--inputmethod/kimera-tomoe-gtk/patches/patch-aa16
5 files changed, 54 insertions, 0 deletions
diff --git a/inputmethod/kimera-tomoe-gtk/DESCR b/inputmethod/kimera-tomoe-gtk/DESCR
new file mode 100644
index 00000000000..2351376bbad
--- /dev/null
+++ b/inputmethod/kimera-tomoe-gtk/DESCR
@@ -0,0 +1 @@
+kimera-tomoe-gtk is an Kimera helper program for Tomoe.
diff --git a/inputmethod/kimera-tomoe-gtk/Makefile b/inputmethod/kimera-tomoe-gtk/Makefile
new file mode 100644
index 00000000000..2a43da8c75b
--- /dev/null
+++ b/inputmethod/kimera-tomoe-gtk/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/05/20 07:48:09 obache Exp $
+#
+
+DISTNAME= kimera-tomoe-gtk-0.5
+CATEGORIES= inputmethod japanese
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP:=kimera/24906/}
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://kimera.sourceforge.jp/
+COMMENT= Kimera helper program for Tomoe
+LICENSE= gnu-lgpl-v2.1
+
+DEPENDS+= kimera-[0-9]*:../../inputmethod/kimera
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= pkg-config
+
+SUBST_CLASSES+= libtomoe
+SUBST_STAGE.libtomoe= pre-configure
+SUBST_FILES.libtomoe= configure
+SUBST_SED.libtomoe= -e 's/libtomoe-gtk/tomoe-gtk/g'
+
+.include "../../inputmethod/tomoe-gtk/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/inputmethod/kimera-tomoe-gtk/PLIST b/inputmethod/kimera-tomoe-gtk/PLIST
new file mode 100644
index 00000000000..eab933635d9
--- /dev/null
+++ b/inputmethod/kimera-tomoe-gtk/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/20 07:48:09 obache Exp $
+bin/kimera-tomoe-gtk
+share/locale/ja/LC_MESSAGES/kimera-tomoe-gtk.mo
diff --git a/inputmethod/kimera-tomoe-gtk/distinfo b/inputmethod/kimera-tomoe-gtk/distinfo
new file mode 100644
index 00000000000..0de349dd342
--- /dev/null
+++ b/inputmethod/kimera-tomoe-gtk/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/05/20 07:48:09 obache Exp $
+
+SHA1 (kimera-tomoe-gtk-0.5.tar.gz) = 39ab9ce3198fa294851c27736eb9da72a522d27a
+RMD160 (kimera-tomoe-gtk-0.5.tar.gz) = ba8c77fffaaf4824f5a907e9cdced71cb78d81a0
+Size (kimera-tomoe-gtk-0.5.tar.gz) = 334888 bytes
+SHA1 (patch-aa) = 986162267dfe5e4c84c1fa07ce98dcce34e47fd4
diff --git a/inputmethod/kimera-tomoe-gtk/patches/patch-aa b/inputmethod/kimera-tomoe-gtk/patches/patch-aa
new file mode 100644
index 00000000000..6155ee04b22
--- /dev/null
+++ b/inputmethod/kimera-tomoe-gtk/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/05/20 07:48:09 obache Exp $
+
+locale.h is required for setlocale(3) and LC_ALL.
+
+--- src/kimera-tomoe-gtk.c.orig 2007-04-08 15:05:33.000000000 +0000
++++ src/kimera-tomoe-gtk.c
+@@ -25,6 +25,9 @@
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>
+ #endif /* HAVE_CONFIG_H */
++#ifdef HAVE_LOCALE_H
++#include <locale.h>
++#endif
+ #include <gtk/gtk.h>
+ #include <tomoe-gtk.h>
+ #include "intl.h"