blob: c7b4819a4b8e60fb302a1a247a54de7ee499eb5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
#
# Replacement for the script that came with JFlex
# because bash is not necessarily on a FreeBSD
# machine. Also, we know where the jar is.
#
# Conor McDermottroe <ports@mcdermottroe.com>
#
# $FreeBSD$
# Allow the user to override where JFlex.jar lives
JAVAJARDIR="${JAVAJARDIR:-"%%JAVAJARDIR%%"}"
exec "%%LOCALBASE%%/bin/java" -jar "${JAVAJARDIR}/jflex-%%PORTVERSION%%.jar" "$@"
|