diff options
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) |