summaryrefslogtreecommitdiff
path: root/inputmethod/sj3
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-02-15 13:35:21 +0000
committerobache <obache@pkgsrc.org>2010-02-15 13:35:21 +0000
commit778d65ea5f04ca8061bbad5d504e051983a88961 (patch)
tree40e1f213a84ec8f81a20482616fc6a2c2c5beb5f /inputmethod/sj3
parent982390a4ca9cfd61198fa51efb90f685952cbe1e (diff)
downloadpkgsrc-778d65ea5f04ca8061bbad5d504e051983a88961.tar.gz
Update sj3 to 2.0.1.23p1.
Re-arranged packages: * sj3-lib:removed * sj3-dict: removed * sj3-server-bin: removed * sj3-client: added (lib + client tools) * sj3-server: no more meta-pkg (server + dict) * sj3: added (sj3-server + sj3-client) Notable changes since 2.0.1.21: * changed to gnu-configure. * sj3lib is shared library. * using lua for server settings. * sj3 command was removed. * sj3serv no longer listen network socket. Set "false" to "strict_auth" and invoke sj3proxy additionaly if require it. * dictionaty directry was changed, please refer MigrationGuide from HOMEPAGE. On pkgsrc, new location is ${VARBASE}/sj3/dict.
Diffstat (limited to 'inputmethod/sj3')
-rw-r--r--inputmethod/sj3/DESCR4
-rw-r--r--inputmethod/sj3/Makefile19
-rw-r--r--inputmethod/sj3/Makefile.common47
-rw-r--r--inputmethod/sj3/distinfo6
-rw-r--r--inputmethod/sj3/patches/patch-aa18
-rw-r--r--inputmethod/sj3/version.mk3
6 files changed, 97 insertions, 0 deletions
diff --git a/inputmethod/sj3/DESCR b/inputmethod/sj3/DESCR
new file mode 100644
index 00000000000..d9b04739cac
--- /dev/null
+++ b/inputmethod/sj3/DESCR
@@ -0,0 +1,4 @@
+SJ3 is is a Japanese input system developed by Sony Corporation.
+
+SJ3 is composed of Kana-Kanji conversion server(sj3serv),
+Kana-Kanji conversion library(sj3lib) and utility tools.
diff --git a/inputmethod/sj3/Makefile b/inputmethod/sj3/Makefile
new file mode 100644
index 00000000000..8aa77f88b24
--- /dev/null
+++ b/inputmethod/sj3/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2010/02/15 13:35:21 obache Exp $
+#
+
+.include "version.mk"
+
+DISTNAME= sj3-${SJ3_VERSION}
+CATEGORIES= japanese inputmethod
+MASTER_SITES= http://sj3.googlecode.com/files/
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://code.google.com/p/sj3/
+COMMENT= SJ3 Japanese input method
+
+META_PACKAGE= yes
+
+DEPENDS+= sj3-server>=${SJ3_VERSION}:../../wip/sj3-server
+DEPENDS+= sj3-client>=${SJ3_VERSION}:../../wip/sj3-client
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/inputmethod/sj3/Makefile.common b/inputmethod/sj3/Makefile.common
new file mode 100644
index 00000000000..9c4d2b56b18
--- /dev/null
+++ b/inputmethod/sj3/Makefile.common
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile.common,v 1.1 2010/02/15 13:35:21 obache Exp $
+# used by inputmethod/sj3-server/Makefile
+# used by inputmethod/sj3-client/Makefile
+#
+
+.include "${.CURDIR}/../../inputmethod/sj3/version.mk"
+
+DISTNAME= sj3-${SJ3_VERSION}
+CATEGORIES= japanese inputmethod
+MASTER_SITES= http://sj3.googlecode.com/files/
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://code.google.com/p/sj3/
+COMMENT?= SJ3 Japanese input method
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DISTINFO_FILE= ${.CURDIR}/../../inputmethod/sj3/distinfo
+PATCHDIR= ${.CURDIR}/../../inputmethod/sj3/patches
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE+= lib/sj3lib/sj3lib.pc.in
+
+.include "../../mk/bsd.prefs.mk"
+
+SJ3OWNER?= daemon
+SJ3GROUP?= daemon
+PKG_GROUPS= ${SJ3GROUP}
+PKG_USERS= ${SJ3OWNER}:${SJ3GROUP}
+PKG_GROUPS_VARS+= SJ3GROUP
+PKG_USERS_VARS+= SJ3OWNER
+
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
+CONFIGURE_ARGS+= --localstatedir=${VARBASE}/sj3
+CONFIGURE_ARGS+= --with-user=${SJ3OWNER:Q}
+CONFIGURE_ARGS+= --with-group=${SJ3GROUP:Q}
+CONFIGURE_ARGS+= --disable-server
+CONFIGURE_ARGS+= --disable-client
+CONFIGURE_ARGS+= --disable-dict
+CONFIGURE_ARGS+= --disable-demo
+
+BUILD_DEFS+= VARBASE
+
+PKG_SYSCONFSUBDIR= sj3
diff --git a/inputmethod/sj3/distinfo b/inputmethod/sj3/distinfo
new file mode 100644
index 00000000000..2885fb4e93e
--- /dev/null
+++ b/inputmethod/sj3/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2010/02/15 13:35:21 obache Exp $
+
+SHA1 (sj3-2.0.1.23p1.tar.gz) = 313a8f71f03071ad4d6006d18b569ce390edca8d
+RMD160 (sj3-2.0.1.23p1.tar.gz) = 2541f19bcf6b74c5b59c2e930fe27bb0ffa97ddf
+Size (sj3-2.0.1.23p1.tar.gz) = 1117190 bytes
+SHA1 (patch-aa) = 83416c5aeae4514349c6ab1a4f1ac3018feea406
diff --git a/inputmethod/sj3/patches/patch-aa b/inputmethod/sj3/patches/patch-aa
new file mode 100644
index 00000000000..30da11e5144
--- /dev/null
+++ b/inputmethod/sj3/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1 2010/02/15 13:35:21 obache Exp $
+
+Handled by pkgsrc framework.
+
+--- dict/Makefile.in.orig 2010-02-14 14:45:04.000000000 +0000
++++ dict/Makefile.in
+@@ -368,11 +368,6 @@ uninstall-am: uninstall-info-am
+ @BUILDABLE_SJ3DICT_TRUE@ $(top_builddir)/src/sj3mkdic/sj3mkdic ./visual.dic sj3main.dic > Moutput
+
+ @BUILDABLE_SJ3DICT_TRUE@install:: sj3main.dic
+-@BUILDABLE_SJ3DICT_TRUE@ ($(mkdir_p) $(DESTDIR)$(SJ3DICTDIR); \
+-@BUILDABLE_SJ3DICT_TRUE@ $(INSTALL_DATA) sj3main.dic $(DESTDIR)$(SJ3DICTDIR); \
+-@BUILDABLE_SJ3DICT_TRUE@ $(mkdir_p) $(DESTDIR)$(SJ3DICTDIR)/user; \
+-@BUILDABLE_SJ3DICT_TRUE@ chown $(SJ3OWNER) $(DESTDIR)$(SJ3DICTDIR)/user; \
+-@BUILDABLE_SJ3DICT_TRUE@ chgrp $(SJ3GROUP) $(DESTDIR)$(SJ3DICTDIR)/user;)
+ # 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 --git a/inputmethod/sj3/version.mk b/inputmethod/sj3/version.mk
new file mode 100644
index 00000000000..cfc38a098ad
--- /dev/null
+++ b/inputmethod/sj3/version.mk
@@ -0,0 +1,3 @@
+# $NetBSD: version.mk,v 1.1 2010/02/15 13:35:21 obache Exp $
+
+SJ3_VERSION= 2.0.1.23p1