1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/graphics/jdraw/files/jdraw.in
Ion-Mihai Tetcu 115e0322ce Really fix breakage from aborted commit.
Submitted by:	maintainer
2006-07-12 20:01:38 +00:00

16 lines
286 B
Bash

#!/bin/sh
# $FreeBSD$
if [ -z "${JAVA_VERSION}" ]; then
JAVA_VERSION="%%JAVA_VERSION%%"
fi
if [ "${JAVA_VERSION}" \> "1.4" ]; then
LOOK_AND_FEEL="%%PLASTIC3D%%"
else
LOOK_AND_FEEL=
fi
exec "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%" ${LOOK_AND_FEEL} -jar "%%JDRAWJAR%%" "$@"