mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
New port: japanese/multiskkserv
multiskkserv is a skk server which can search multiple dictionaries. This server uses cdb format as the dictionary format. cdb is the efficient and constant (i.e. cannot add, delete, modify) database format by Dan J. Bernstein, which I think is the appropriate format for the system-wide constant dictionary storage. This is very experimental. PR: ports/60645 Submitted by: Takahiro Morishita <morishita@skywing.org>
This commit is contained in:
parent
7d42c84fda
commit
e2b96eab4a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97633
@ -233,6 +233,7 @@
|
||||
SUBDIR += mule-sj3+wnn7
|
||||
SUBDIR += mule-wnn6
|
||||
SUBDIR += mule-wnn7
|
||||
SUBDIR += multiskkserv
|
||||
SUBDIR += mutt
|
||||
SUBDIR += mutt-devel
|
||||
SUBDIR += mypaedia-fpw
|
||||
|
48
japanese/multiskkserv/Makefile
Normal file
48
japanese/multiskkserv/Makefile
Normal file
@ -0,0 +1,48 @@
|
||||
# New ports collection makefile for: multiskkserv
|
||||
# Date created: 27 Dec 2003
|
||||
# Whom: Takahiro Morishita <morishita@skywing.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= multiskkserv
|
||||
PORTVERSION= 0.20020201
|
||||
CATEGORIES= japanese
|
||||
MASTER_SITES= http://www3.big.or.jp/~sian/linux/products/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:S/0.//g}
|
||||
|
||||
MAINTAINER= morishita@skywing.org
|
||||
COMMENT= Multiple dictionary server for the SKK
|
||||
|
||||
EXTRACT_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/databases/cdb:build
|
||||
RUN_DEPENDS= ${LOCALBASE}/${SKKDIR}/SKK-JISYO.${SKKJISYO_TYPE}.cdb:${PORTSDIR}/japanese/skk-jisyo-cdb
|
||||
|
||||
USE_BZIP2= yes
|
||||
|
||||
SKKDIR?= share/skk
|
||||
SKKJISYO_TYPE?= L
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/0.//g}
|
||||
USE_RC_SUBR= yes
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --with-cdb=`cd ${PORTSDIR}/databases/cdb; ${MAKE} -V WRKSRC`
|
||||
|
||||
post-extract:
|
||||
${CP} ${FILESDIR}/multiskkserv.sh ${WRKDIR}/multiskkserv.sh
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} \
|
||||
-e 's,%%PREFIX%%,${PREFIX},g' \
|
||||
-e 's,%%RC_SUBR%%,${RC_SUBR},g' \
|
||||
-e 's,%%SKKDIR%%,${SKKDIR},g' \
|
||||
-e 's,%%SKKJISYO_TYPE%%,${SKKJISYO_TYPE},g' \
|
||||
${WRKDIR}/multiskkserv.sh
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/src/multiskkserv ${PREFIX}/sbin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/src/multiskkserv-ctl ${PREFIX}/sbin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/tools/skkdic-p2cdb ${PREFIX}/bin
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/multiskkserv.sh ${PREFIX}/etc/rc.d/
|
||||
|
||||
.include <bsd.port.mk>
|
2
japanese/multiskkserv/distinfo
Normal file
2
japanese/multiskkserv/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (multiskkserv-20020201.tar.bz2) = 68b3bc5a57de24d7a8d465802f5f4822
|
||||
MD5 (cdb-0.75.tar.gz) = 81fed54d0bde51b147dd6c20cdb92d51
|
31
japanese/multiskkserv/files/multiskkserv.sh
Normal file
31
japanese/multiskkserv/files/multiskkserv.sh
Normal file
@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# PROVIDE: multiskkserv
|
||||
# REQUIRE: LOGIN
|
||||
# KEYWORD: FreeBSD
|
||||
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable multiskkserv:
|
||||
#
|
||||
#multiskkserv_enable="YES"
|
||||
#
|
||||
# See `%%PREFIX%%/sbin/multiskkserv -h` for flags
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name=multiskkserv
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
command=%%PREFIX%%/sbin/multiskkserv
|
||||
|
||||
# set defaults
|
||||
|
||||
multiskkserv_enable=${multiskkserv_enable:-"NO"}
|
||||
multiskkserv_flags=${multiskkserv_flags:-"%%PREFIX%%/%%SKKDIR%%/SKK-JISYO.%%SKKJISYO_TYPE%%.cdb"}
|
||||
|
||||
load_rc_config ${name}
|
||||
run_rc_command "$1"
|
10
japanese/multiskkserv/pkg-descr
Normal file
10
japanese/multiskkserv/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
multiskkserv is a skk server which can search multiple dictionaries.
|
||||
This server uses cdb format as the dictionary format. cdb is the
|
||||
efficient and constant (i.e. cannot add, delete, modify) database
|
||||
format by Dan J. Bernstein, which I think is the appropriate format
|
||||
for the system-wide constant dictionary storage.
|
||||
|
||||
This is very experimental.
|
||||
|
||||
WWW: http://www3.big.or.jp/~sian/linux/products/
|
||||
Author: Hiroshi Takekawa <sian@big.or.jp>
|
4
japanese/multiskkserv/pkg-plist
Normal file
4
japanese/multiskkserv/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
sbin/multiskkserv
|
||||
sbin/multiskkserv-ctl
|
||||
bin/skkdic-p2cdb
|
||||
etc/rc.d/multiskkserv.sh
|
Loading…
Reference in New Issue
Block a user