mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
2f7bd51ae7
- 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>
10 lines
260 B
Bash
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 "$@"
|