diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-07-05 17:09:23 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-07-05 17:09:23 +0000 |
commit | e63ad781eca98de0abf4ca9ce4a0eef5bfcfb62c (patch) | |
tree | 90b6b6e28c671bf27219cb46b19579cfed13b3e4 /japanese/vje30-trial | |
parent | 35764879e62e522eb34f34c92604f7a190445a84 (diff) | |
download | ports-e63ad781eca98de0abf4ca9ce4a0eef5bfcfb62c.tar.gz ports-e63ad781eca98de0abf4ca9ce4a0eef5bfcfb62c.zip |
Notes
Diffstat (limited to 'japanese/vje30-trial')
-rw-r--r-- | japanese/vje30-trial/Makefile | 1 | ||||
-rw-r--r-- | japanese/vje30-trial/files/vje.sh | 27 |
2 files changed, 28 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 |