diff options
| author | Rene Ladan <rene@FreeBSD.org> | 2020-05-23 11:40:31 +0000 |
|---|---|---|
| committer | Rene Ladan <rene@FreeBSD.org> | 2020-05-23 11:40:31 +0000 |
| commit | 415c7cb4f852b8f22ec479427ac10100004cb178 (patch) | |
| tree | 594d5ef133a271d25c13ab50cf695cca6a148aab /java/java-cup/files | |
| parent | efa4b2b7be3713562fd3b0e9a5ba3d82e1b0177e (diff) | |
Notes
Diffstat (limited to 'java/java-cup/files')
| -rw-r--r-- | java/java-cup/files/java-cup.sh.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/java/java-cup/files/java-cup.sh.in b/java/java-cup/files/java-cup.sh.in new file mode 100644 index 000000000000..f0f70a1acb5e --- /dev/null +++ b/java/java-cup/files/java-cup.sh.in @@ -0,0 +1,10 @@ +#!/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" "$@" |
