#!/bin/sh
#
# $FreeBSD: ports/games/pcgen/files/pcgen.sh.in,v 1.3 2012/11/17 05:57:48 svnexp Exp $

[ \! -d "${HOME}/.pcgen" ] && mkdir "${HOME}/.pcgen"
cd "/usr/local/share/java/pcgen"
JAVA_VERSION="1.6+" exec "/usr/local/bin/java" ${PCGEN_OPTS} -jar ./pcgen.jar "$@"
