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