diff options
author | knu <knu@FreeBSD.org> | 2000-07-06 01:09:23 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-07-06 01:09:23 +0800 |
commit | 70d4b810ee45dc88239025437edb20426d3a34d6 (patch) | |
tree | 0ddef296828187d63f05074df4a1401a712d1c9c /japanese | |
parent | db727c541008465f799162c9b20f9166b58b117f (diff) | |
download | freebsd-ports-gnome-70d4b810ee45dc88239025437edb20426d3a34d6.tar.gz freebsd-ports-gnome-70d4b810ee45dc88239025437edb20426d3a34d6.tar.zst freebsd-ports-gnome-70d4b810ee45dc88239025437edb20426d3a34d6.zip |
Replace the startup script with the new one that supports {start|stop}.
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/vje30-trial/Makefile | 1 | ||||
-rw-r--r-- | japanese/vje30-trial/files/vje.sh | 27 | ||||
-rw-r--r-- | japanese/vje30/Makefile | 1 | ||||
-rw-r--r-- | japanese/vje30/files/vje.sh | 27 |
4 files changed, 56 insertions, 0 deletions
diff --git a/japanese/vje30-trial/Makefile b/japanese/vje30-trial/Makefile index 399623bfa628..ee46b866e00f 100644 --- a/japanese/vje30-trial/Makefile +++ b/japanese/vje30-trial/Makefile @@ -50,6 +50,7 @@ BINSTUFF= vje \ post-patch: @cd ${WRKSRC}/vje30/bin && ${RM} swingall.jar @find ${WRKSRC} -name '*.orig' -delete + @${CP} ${FILESDIR}/vje.sh ${WRKSRC}/etc/rc.d/ do-install: @cd ${WRKSRC} && tar cf - . | tar xf - -C ${PREFIX} diff --git a/japanese/vje30-trial/files/vje.sh b/japanese/vje30-trial/files/vje.sh new file mode 100644 index 000000000000..8ae895bedb0e --- /dev/null +++ b/japanese/vje30-trial/files/vje.sh @@ -0,0 +1,27 @@ +#!/bin/sh +# +# $FreeBSD$ + +vjed="/usr/local/vje30/bin/vjed" + +case "$1" in +start) + if [ -x $vjed ] ; then + echo -n ' vje30:' + $vjed & + fi + ;; +stop) + if killall vjed 2>/dev/null; then + echo -n ' vje30' + else + echo -n ' vje30: not running' + fi + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + exit 64 + ;; +esac + +exit 0 diff --git a/japanese/vje30/Makefile b/japanese/vje30/Makefile index 002d68832512..d5a415beadcf 100644 --- a/japanese/vje30/Makefile +++ b/japanese/vje30/Makefile @@ -82,6 +82,7 @@ post-extract: post-patch: @cd ${WRKSRC}/vje30/bin && ${RM} swingall.jar @find ${WRKSRC} -name '*.orig' -delete + @${CP} ${FILESDIR}/vje.sh ${WRKSRC}/etc/rc.d/ .if defined(WITH_MINORUPDATE) @${MV} ${WRKDIR}/vje ${WRKSRC}/vje30/bin/ .endif diff --git a/japanese/vje30/files/vje.sh b/japanese/vje30/files/vje.sh new file mode 100644 index 000000000000..8ae895bedb0e --- /dev/null +++ b/japanese/vje30/files/vje.sh @@ -0,0 +1,27 @@ +#!/bin/sh +# +# $FreeBSD$ + +vjed="/usr/local/vje30/bin/vjed" + +case "$1" in +start) + if [ -x $vjed ] ; then + echo -n ' vje30:' + $vjed & + fi + ;; +stop) + if killall vjed 2>/dev/null; then + echo -n ' vje30' + else + echo -n ' vje30: not running' + fi + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + exit 64 + ;; +esac + +exit 0 |