diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-11 09:15:59 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-11 09:15:59 +0000 |
commit | 2219f8b81893d8de30c8d66d0e01a2df5c25de6d (patch) | |
tree | e3e6a516f94c4580962b91641b1d39c579390207 /japanese/rskkserv | |
parent | 70ea316afca710978ce294a066e35e1a783cb940 (diff) | |
download | ports-2219f8b81893d8de30c8d66d0e01a2df5c25de6d.tar.gz ports-2219f8b81893d8de30c8d66d0e01a2df5c25de6d.zip |
Notes
Diffstat (limited to 'japanese/rskkserv')
-rw-r--r-- | japanese/rskkserv/Makefile | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/japanese/rskkserv/Makefile b/japanese/rskkserv/Makefile index e4aa4d838fc7..e40c9513d384 100644 --- a/japanese/rskkserv/Makefile +++ b/japanese/rskkserv/Makefile @@ -7,6 +7,7 @@ PORTNAME= rskkserv PORTVERSION= 2.94.0 +PORTREVISION= 1 CATEGORIES= japanese ruby MASTER_SITES= http://www.unixuser.org/~ysjj/rskkserv/ DIST_SUBDIR= ruby @@ -51,25 +52,25 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/rskkserv.conf.sample ${PREFIX}/etc/ @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}/libexec/rskkserv ]; then" >> \ - ${STARTUP_SCRIPT}; \ - ${ECHO} " ${ECHO} -n ' rskkserv';" >> \ - ${ECHO} " if [ ${SKKJISYO_BASE}/${SKKJISYO} -nt ${SKKJISYO_BASE}/${SKKJISYO}.a ]; then" >> \ - ${ECHO} " ${ECHO} -n ' (updading index cache..)'; " >> \ - ${ECHO} " fi; " >> ${STARTUP_SCRIPT}; \ - ${ECHO} " ${PREFIX}/libexec/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}; \ + ( \ + ${ECHO} "#!/bin/sh"; \ + ${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} " fi"; \ + ${ECHO} " ;;"; \ + ${ECHO} "stop)"; \ + ${ECHO} " ;;"; \ + ${ECHO} "*)"; \ + ${ECHO} ' ${ECHO} "usage: $$0 {start|stop}" 1>&2'; \ + ${ECHO} " ;;"; \ + ${ECHO} 'esac'; \ + ) > ${STARTUP_SCRIPT}; \ ${CHMOD} ${BINMODE} ${STARTUP_SCRIPT}; \ fi .if !defined(NOPORTDOCS) |