diff options
author | obache <obache@pkgsrc.org> | 2010-09-10 09:11:34 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-09-10 09:11:34 +0000 |
commit | ff5dc054adb9a17ed60b971a5fc855b1d418ed56 (patch) | |
tree | 96b38d7a7c4687bd293274599abab9466f1591a6 /inputmethod | |
parent | 63d5fa45b6cc2cbf47746494e91f8f77559a93bc (diff) | |
download | pkgsrc-ff5dc054adb9a17ed60b971a5fc855b1d418ed56.tar.gz |
Import dbskkd-cdb-2.00 as inputmethod/dbskkd-cdb.
Packaged by Ryo ONODERA in pkgsrc-wip.
A part of import request by PR#43818.
dbskkd-cdb is a dictionary server for SKK Japanese Input Method
system. For building the executable file, TinyCDB is required.
Diffstat (limited to 'inputmethod')
-rw-r--r-- | inputmethod/dbskkd-cdb/DESCR | 2 | ||||
-rw-r--r-- | inputmethod/dbskkd-cdb/MESSAGE | 8 | ||||
-rw-r--r-- | inputmethod/dbskkd-cdb/Makefile | 55 | ||||
-rw-r--r-- | inputmethod/dbskkd-cdb/PLIST | 11 | ||||
-rw-r--r-- | inputmethod/dbskkd-cdb/distinfo | 5 |
5 files changed, 81 insertions, 0 deletions
diff --git a/inputmethod/dbskkd-cdb/DESCR b/inputmethod/dbskkd-cdb/DESCR new file mode 100644 index 00000000000..06730936536 --- /dev/null +++ b/inputmethod/dbskkd-cdb/DESCR @@ -0,0 +1,2 @@ +dbskkd-cdb is a dictionary server for SKK Japanese Input Method +system. For building the executable file, TinyCDB is required. diff --git a/inputmethod/dbskkd-cdb/MESSAGE b/inputmethod/dbskkd-cdb/MESSAGE new file mode 100644 index 00000000000..fa43d7382e6 --- /dev/null +++ b/inputmethod/dbskkd-cdb/MESSAGE @@ -0,0 +1,8 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2010/09/10 09:11:34 obache Exp $ + +Please add the following lines to /etc/inetd.conf. + +skkserv stream tcp nowait nobody ${PREFIX}/libexec/dbskkd-cdb dbskkd-cdb +skkserv stream tcp6 nowait nobody ${PREFIX}/libexec/dbskkd-cdb dbskkd-cdb +=========================================================================== diff --git a/inputmethod/dbskkd-cdb/Makefile b/inputmethod/dbskkd-cdb/Makefile new file mode 100644 index 00000000000..e11b489e004 --- /dev/null +++ b/inputmethod/dbskkd-cdb/Makefile @@ -0,0 +1,55 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/09/10 09:11:34 obache Exp $ +# + +DISTNAME= dbskkd-cdb-2.00 +CATEGORIES= inputmethod japanese +MASTER_SITES= http://dbskkd-cdb.googlecode.com/files/ + +MAINTAINER= ryo_on@yk.rim.or.jp +HOMEPAGE= http://github.com/jj1bdx/dbskkd-cdb +COMMENT= SKK dictionary server based on cdb +LICENSE= gnu-gpl-v3 + +PKG_DESTDIR_SUPPORT= user-destdir + +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} +INSTALLATION_DIRS= libexec \ + ${DOCSDIR} \ + bin + +DEPENDS= skk-jisyo-cdb-[0-9]*:../../inputmethod/skk-jisyo-cdb + +FIND_PREFIX:= SKKJISYOCDBDIR=skk-jisyo-cdb + +SUBST_CLASSES+= fix-paths +SUBST_STAGE.fix-paths= pre-configure +SUBST_MESSAGE.fix-paths= fixing pathes +SUBST_FILES.fix-paths= dbskkd-cdb.c +SUBST_SED.fix-paths= -e 's,/usr/local/share/skk/SKK-JISYO.L.cdb,${SKKJISYOCDBDIR}/share/skk/SKK-JISYO.L.cdb,g' + + +MAKE_FLAGS+= CDBLIB=${BUILDLINK_PREFIX.tinycdb}/lib/libcdb.a +MAKE_FLAGS+= INSTALLDIR=${DESTDIR}${PREFIX}/libexec + +INSTALL_DOCS= CHANGES \ + LICENSE \ + README \ + READMEJP \ + example-daemontools.txt \ + example-inetd.txt \ + skk-server-protocol.txt + +INSTALL_SCRIPTS= makeskkcdb.sh \ + skktocdbm.sh + +post-install: +.for filename in ${INSTALL_DOCS} + ${INSTALL_DATA} ${WRKSRC}/${filename} ${DESTDIR}/${DOCSDIR} +.endfor +.for filename in ${INSTALL_SCRIPTS} + ${INSTALL_SCRIPT} ${WRKSRC}/${filename} ${DESTDIR}${DOCSDIR} +.endfor + +.include "../../mk/find-prefix.mk" +.include "../../databases/tinycdb/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/inputmethod/dbskkd-cdb/PLIST b/inputmethod/dbskkd-cdb/PLIST new file mode 100644 index 00000000000..a934299938b --- /dev/null +++ b/inputmethod/dbskkd-cdb/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/10 09:11:34 obache Exp $ +libexec/dbskkd-cdb +share/doc/dbskkd-cdb/CHANGES +share/doc/dbskkd-cdb/LICENSE +share/doc/dbskkd-cdb/README +share/doc/dbskkd-cdb/READMEJP +share/doc/dbskkd-cdb/example-daemontools.txt +share/doc/dbskkd-cdb/example-inetd.txt +share/doc/dbskkd-cdb/makeskkcdb.sh +share/doc/dbskkd-cdb/skk-server-protocol.txt +share/doc/dbskkd-cdb/skktocdbm.sh diff --git a/inputmethod/dbskkd-cdb/distinfo b/inputmethod/dbskkd-cdb/distinfo new file mode 100644 index 00000000000..b0d1540d6db --- /dev/null +++ b/inputmethod/dbskkd-cdb/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/09/10 09:11:34 obache Exp $ + +SHA1 (dbskkd-cdb-2.00.tar.gz) = 645e3a2f2a65c81dd3d04bdf2a4208c94c01f3fe +RMD160 (dbskkd-cdb-2.00.tar.gz) = 7841a3830663a10d6bd331e73d46c725edd44845 +Size (dbskkd-cdb-2.00.tar.gz) = 9296 bytes |