#!/bin/sh
#
# $FreeBSD: ports/deskutils/openproj/files/openproj.sh.in,v 1.1 2008/04/15 08:54:28 dinoex Exp $

FILE="`realpath "$1"`"
OPENPROJ_HOME="/usr/local/share/java/openproj-1.4"
export OPENPROJ_HOME
cd "/usr/local/share/java/openproj-1.4"
JAVA_VERSION="1.5+" "/usr/local/bin/java" -jar "$OPENPROJ_HOME/openproj.jar" "${FILE}" > /dev/null 2>&1

# eof
