1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/lang/linux-j/files/jw.sh.in
Herve Quiroz 2f7bd51ae7 - Update to 504b (and unbreak)
- Update to bsd.java.mk 2.0
- Add 'java' category
- Use SUB_FILES to configure the launcher shell scripts
- Tweak pkg-descr
- Calm portlint: replace spaces by tabs
- Add $FreeBSD$ tags

PR:		80828
Submitted by:	Linh Pham <question+fbsdports@closedsrc.org>
2005-05-14 16:42:55 +00:00

10 lines
260 B
Bash

#!/bin/sh
# $FreeBSD$
JPATHj%%PORTVERSION%%=%%PREFIX%%/lib/j
export JPATHj%%PORTVERSION%%
if [ ! -d ${HOME}/J ]
then
cp -r ${JPATHj%%PORTVERSION%%}/user ${HOME}/J
fi
JAVA_VERSION="%%JAVA_VERSION%%" exec %%LOCALBASE%%/bin/java -jar %%PREFIX%%/lib/j/j.jar "$@"