summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-07-17 08:36:41 +0000
committerobache <obache@pkgsrc.org>2010-07-17 08:36:41 +0000
commit2cd3965ec41646c751c8fd0615b70acc414a37ad (patch)
tree3ad3f39b6c491a80e27d9d363febad55a8fc3371 /inputmethod
parente029d29e8b24b911312b77c23b1b20432764cb3f (diff)
downloadpkgsrc-2cd3965ec41646c751c8fd0615b70acc414a37ad.tar.gz
Import skktools-1.3.1 as inputmethod/skktools.
Based on packaged by uebayasi@ in pkgsrc-wip-jp. Modified by Ryo ONODERA in pkgsrc-wip. Small collection of commands to maintain SKK dictionaries.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/skktools/DESCR1
-rw-r--r--inputmethod/skktools/Makefile26
-rw-r--r--inputmethod/skktools/PLIST5
-rw-r--r--inputmethod/skktools/distinfo5
-rw-r--r--inputmethod/skktools/options.mk22
5 files changed, 59 insertions, 0 deletions
diff --git a/inputmethod/skktools/DESCR b/inputmethod/skktools/DESCR
new file mode 100644
index 00000000000..5499522facf
--- /dev/null
+++ b/inputmethod/skktools/DESCR
@@ -0,0 +1 @@
+Small collection of commands to maintain SKK dictionaries.
diff --git a/inputmethod/skktools/Makefile b/inputmethod/skktools/Makefile
new file mode 100644
index 00000000000..5774d6c4c60
--- /dev/null
+++ b/inputmethod/skktools/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/07/17 08:36:41 obache Exp $
+#
+
+DISTNAME= skktools-1.3.1
+CATEGORIES= japanese inputmethod
+MASTER_SITES= http://openlab.ring.gr.jp/skk/tools/
+
+MAINTAINER= ryo_on@yk.rim.or.jp
+HOMEPAGE= http://openlab.ring.gr.jp/skk/
+COMMENT= SKK dictionary manipulation tools
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+CONFLICTS= skkserv<3.9.4nb7
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--without-gdbm
+
+.include "options.mk"
+
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= pre-configure
+SUBST_FILES.prefix= configure
+SUBST_SED.prefix= -e 's|/usr/local|${PREFIX}|g'
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/inputmethod/skktools/PLIST b/inputmethod/skktools/PLIST
new file mode 100644
index 00000000000..a686791ef7c
--- /dev/null
+++ b/inputmethod/skktools/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/07/17 08:36:41 obache Exp $
+bin/skkdic-count
+bin/skkdic-expr
+${PLIST.expr2}bin/skkdic-expr2
+bin/skkdic-sort
diff --git a/inputmethod/skktools/distinfo b/inputmethod/skktools/distinfo
new file mode 100644
index 00000000000..eac156a574f
--- /dev/null
+++ b/inputmethod/skktools/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/07/17 08:36:41 obache Exp $
+
+SHA1 (skktools-1.3.1.tar.gz) = 13939bf5533a7d2711724e98ea4dae99a7eac01b
+RMD160 (skktools-1.3.1.tar.gz) = 506ee66cab8d302d267436be36e24aeab8cc7d76
+Size (skktools-1.3.1.tar.gz) = 290215 bytes
diff --git a/inputmethod/skktools/options.mk b/inputmethod/skktools/options.mk
new file mode 100644
index 00000000000..c39f9bd6d20
--- /dev/null
+++ b/inputmethod/skktools/options.mk
@@ -0,0 +1,22 @@
+# $NetBSD: options.mk,v 1.1.1.1 2010/07/17 08:36:41 obache Exp $
+#
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.skktools
+PKG_SUPPORTED_OPTIONS= skkdic-expr2
+PKG_SUGGESTED_OPTIONS= skkdic-expr2
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= expr2
+
+#
+# Enable skkdic-expr2, faster tool.
+#
+.if !empty(PKG_OPTIONS:Mskkdic-expr2)
+CONFIGURE_ARGS+= --with-skkdic-expr2
+.include "../../devel/glib2/buildlink3.mk"
+USE_TOOLS+= pkg-config
+PLIST.expr2= yes
+.else
+CONFIGURE_ARGS+= --without-skkdic-expr2
+.endif