freebsd-ports/java/java-cup/files/java-cup.sh.in
Rene Ladan 415c7cb4f8 java/java-cup: update to 11.b.20160615 and unexpire
Further changes:
- use a prebuilt binary instead of building from source
- change license to SMLNJ in agreement with maintainer

PR:		245466
Submitted by:	Jashank Jeremy
Approved by:	maintainer
MFH:		2020Q2
2020-05-23 11:40:31 +00:00

10 lines
266 B
Bash

#!/bin/sh
#
# Derived from a similar script for ports/java/jflex.
#
# $FreeBSD$
# Allow the user to override where java-cup.jar lives
JAVAJARDIR="${JAVAJARDIR:-"%%JAVAJARDIR%%"}"
exec "%%LOCALBASE%%/bin/java" -jar "${JAVAJARDIR}/java-cup-%%CUP_VERSION%%.jar" "$@"