#!/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 "$@"