diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-18 19:01:30 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-18 19:01:30 +0000 |
commit | dfceceba7a1483cb1fba98bd948a30ff89ba361e (patch) | |
tree | 82c1a46fa018a3b4e7013be6f55f787551dde257 /japanese | |
parent | Fix the email address in Makefile comment (diff) |
Add japanese/rskkserv, an alternative implementation of skkserv
written in Ruby.
Notes
Notes:
svn path=/head/; revision=31756
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/rskkserv/Makefile | 59 | ||||
-rw-r--r-- | japanese/rskkserv/distinfo | 1 | ||||
-rw-r--r-- | japanese/rskkserv/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/rskkserv/pkg-descr | 5 | ||||
-rw-r--r-- | japanese/rskkserv/pkg-plist | 3 |
6 files changed, 70 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index d1fd4323e12b..dc22370ba197 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -227,6 +227,7 @@ SUBDIR += qkc SUBDIR += recjis SUBDIR += rogue_s + SUBDIR += rskkserv SUBDIR += ruby-kakasi SUBDIR += ruby-man SUBDIR += ruby-uconv diff --git a/japanese/rskkserv/Makefile b/japanese/rskkserv/Makefile new file mode 100644 index 000000000000..c8d7c6275e10 --- /dev/null +++ b/japanese/rskkserv/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: rskkserv +# Date created: 18 Aug 2000 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= rskkserv +PORTVERSION= 2.3 +CATEGORIES= japanese ruby +MASTER_SITES= http://www.ruby-lang.org/~shugo/rskkserv/ +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby +RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby \ + ${RUBY_LIBDIR}/tcpwrap.so:${PORTSDIR}/security/ruby-tcpwrap \ + ${LOCALBASE}/share/skk/${SKKJISYO}:${SKK_MASTERDIR} + +SKKJISYO_SIZE?= L +SKKJISYO?= SKK-JISYO.${SKKJISYO_SIZE} +SKK_MASTERDIR= ${PORTSDIR}/japanese/skk-jisyo + +RUBY?= ${LOCALBASE}/bin/ruby +RUBY_VER?= 1.4 +RUBY_ARCH?= ${ARCH}-freebsd${OSREL} +RUBY_LIBDIR= ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH} + +STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/rskkserv.sh +MAKE_ARGS= prefix="${PREFIX}" \ + dicfile="${LOCALBASE}/share/skk/${SKKJISYO}" + +pre-build: + cd ${WRKSRC} && ${MAKE} clean + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/skkserv.rb ${PREFIX}/sbin/rskkserv + @if [ ! -f ${STARTUP_SCRIPT} ]; then \ + ${ECHO} "Installing ${STARTUP_SCRIPT} file."; \ + ${ECHO} "#!/bin/sh" > ${STARTUP_SCRIPT}; \ + ${ECHO} 'case $$1 in' >> ${STARTUP_SCRIPT}; \ + ${ECHO} "start)" >> ${STARTUP_SCRIPT}; \ + ${ECHO} " if [ -f ${PREFIX}/sbin/rskkserv ]; then" >> \ + ${STARTUP_SCRIPT}; \ + ${ECHO} " ${ECHO} -n ' rskkserv'; ${PREFIX}/sbin/rskkserv" >> \ + ${STARTUP_SCRIPT}; \ + ${ECHO} " fi" >> ${STARTUP_SCRIPT}; \ + ${ECHO} " ;;" >> ${STARTUP_SCRIPT}; \ + ${ECHO} "stop)" >> ${STARTUP_SCRIPT}; \ + ${ECHO} " ;;" >> ${STARTUP_SCRIPT}; \ + ${ECHO} "*)" >> ${STARTUP_SCRIPT}; \ + ${ECHO} ' ${ECHO} "usage: $$0 {start|stop}" 1>&2' >> ${STARTUP_SCRIPT}; \ + ${ECHO} " ;;" >> ${STARTUP_SCRIPT}; \ + ${ECHO} 'esac' >> ${STARTUP_SCRIPT}; \ + ${CHMOD} ${BINMODE} ${STARTUP_SCRIPT}; \ + fi + +.include <bsd.port.mk> diff --git a/japanese/rskkserv/distinfo b/japanese/rskkserv/distinfo new file mode 100644 index 000000000000..e5db4c93d312 --- /dev/null +++ b/japanese/rskkserv/distinfo @@ -0,0 +1 @@ +MD5 (ruby/rskkserv-2.3.tar.gz) = a2d0b0eb01d491e80649893c93b83c52 diff --git a/japanese/rskkserv/pkg-comment b/japanese/rskkserv/pkg-comment new file mode 100644 index 000000000000..8ecf5b63d3b9 --- /dev/null +++ b/japanese/rskkserv/pkg-comment @@ -0,0 +1 @@ +An alternative implementation of skkserv written in Ruby diff --git a/japanese/rskkserv/pkg-descr b/japanese/rskkserv/pkg-descr new file mode 100644 index 000000000000..19ce358f9878 --- /dev/null +++ b/japanese/rskkserv/pkg-descr @@ -0,0 +1,5 @@ +rskkserv is an alternative implementation of skkserv written in Ruby. + + +Author: Shugo Maeda <shugo@ruby-lang.org> +WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=rskkserv diff --git a/japanese/rskkserv/pkg-plist b/japanese/rskkserv/pkg-plist new file mode 100644 index 000000000000..b365fd93ef02 --- /dev/null +++ b/japanese/rskkserv/pkg-plist @@ -0,0 +1,3 @@ +sbin/rskkserv +etc/rc.d/rskkserv.sh +@unexec rm -f %D/share/skk/SKK-JISYO.[LMS].[an] 2>/dev/null || true |