diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-11 17:07:59 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-11 17:07:59 +0000 |
commit | 1c48a683f83fccc164bdfc18ddeb4e188ca2695c (patch) | |
tree | 52c79adf0c666ec4a4037aa7b15f1e701c2fb62b /japanese | |
parent | 2fe11a3e27f3144035bdad04cc14e8f4e43782e9 (diff) | |
download | ports-1c48a683f83fccc164bdfc18ddeb4e188ca2695c.tar.gz ports-1c48a683f83fccc164bdfc18ddeb4e188ca2695c.zip |
Update to 2.94.12 and unbreak.
Notes
Notes:
svn path=/head/; revision=47697
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/rskkserv/Makefile | 27 | ||||
-rw-r--r-- | japanese/rskkserv/distinfo | 2 |
2 files changed, 17 insertions, 12 deletions
diff --git a/japanese/rskkserv/Makefile b/japanese/rskkserv/Makefile index e40c9513d384..dc60d6f583f6 100644 --- a/japanese/rskkserv/Makefile +++ b/japanese/rskkserv/Makefile @@ -6,8 +6,7 @@ # PORTNAME= rskkserv -PORTVERSION= 2.94.0 -PORTREVISION= 1 +PORTVERSION= 2.94.12 CATEGORIES= japanese ruby MASTER_SITES= http://www.unixuser.org/~ysjj/rskkserv/ DIST_SUBDIR= ruby @@ -26,7 +25,9 @@ CONFIGURE_ARGS= --with-ruby="${RUBY}" \ --with-dicfile="${SKKJISYO_BASE}/${SKKJISYO}" \ --with-cachedir="${SKKJISYO_BASE}" \ --with-logdir="/var/log" \ + --with-piddir="/var/run" \ --sbindir="${PREFIX}/libexec" +MAKE_ARGS= SKKSERV=rskkserv SKKJISYO_SIZE?= L SKKJISYO_BASE= ${LOCALBASE}/share/skk @@ -34,12 +35,12 @@ SKKJISYO= SKK-JISYO.${SKKJISYO_SIZE} SKK_MASTERDIR= ${PORTSDIR}/japanese/skk-jisyo STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/rskkserv.sh -MAKE_ARGS= SKKSERV=rskkserv DOCS_EN= ChangeLog DOCS_JA= README TODO post-patch: + ${RUBY} -i -ne 'if $$. == 1 then puts "#!@RUBY@" else puts $$_ end' ${WRKSRC}/skkserv.rb.in ${RUBY} -i -p \ -e 'gsub %r:/usr/share/skk:, %q:${SKKJISYO_BASE}:' \ -e 'gsub %r:/opt/epwing/(\w+):, %q:${LOCALBASE}/share/dict/\\1-fpw:' \ @@ -54,22 +55,26 @@ post-install: ${ECHO} "Installing ${STARTUP_SCRIPT} file."; \ ( \ ${ECHO} "#!/bin/sh"; \ - ${ECHO} 'case $$1 in'; \ + ${ECHO} "case \$$1 in"; \ ${ECHO} "start)"; \ ${ECHO} " if [ -f ${PREFIX}/libexec/rskkserv ]; then"; \ - ${ECHO} " ${ECHO} -n ' rskkserv';"; \ - ${ECHO} " if [ ${SKKJISYO_BASE}/${SKKJISYO} -nt ${SKKJISYO_BASE}/${SKKJISYO}.a ]; then"; \ - ${ECHO} " ${ECHO} -n ' (updading index cache..)'; "; \ - ${ECHO} " fi; "; \ - ${ECHO} " ${PREFIX}/libexec/rskkserv"; \ + ${ECHO} " ${ECHO} -n ' rskkserv: '"; \ + ${ECHO} " ${PREFIX}/libexec/rskkserv --verbose"; \ ${ECHO} " fi"; \ ${ECHO} " ;;"; \ ${ECHO} "stop)"; \ + ${ECHO} " pidfile=/var/run/rskkserv.pid"; \ + ${ECHO} " if [ -f \$$pidfile ]; then"; \ + ${ECHO} " kill \`cat \$$pidfile\` && echo -n ' rskkserv'"; \ + ${ECHO} " ${RM} \$$pidfile"; \ + ${ECHO} " else"; \ + ${ECHO} " ${ECHO} ' rskkserv: not running'"; \ + ${ECHO} " fi"; \ ${ECHO} " ;;"; \ ${ECHO} "*)"; \ - ${ECHO} ' ${ECHO} "usage: $$0 {start|stop}" 1>&2'; \ + ${ECHO} " ${ECHO} \"usage: \$$0 {start|stop}\" 1>&2"; \ ${ECHO} " ;;"; \ - ${ECHO} 'esac'; \ + ${ECHO} "esac"; \ ) > ${STARTUP_SCRIPT}; \ ${CHMOD} ${BINMODE} ${STARTUP_SCRIPT}; \ fi diff --git a/japanese/rskkserv/distinfo b/japanese/rskkserv/distinfo index 93cdb75ee2fd..31333bf9f5b4 100644 --- a/japanese/rskkserv/distinfo +++ b/japanese/rskkserv/distinfo @@ -1 +1 @@ -MD5 (ruby/rskkserv-2.94.0.tar.gz) = ff4f73dab57d79619e7deacca3342f4c +MD5 (ruby/rskkserv-2.94.12.tar.gz) = 14b73c2e987b342aa504afffb37324e9 |