415c7cb4f8
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
10 lines
266 B
Bash
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" "$@"
|