Further changes: - use a prebuilt jar file to avoid depending on Maven or Bazel - swith MASTER_SITES to GitHub - add BSD3CLAUSE license - rewrap pkg-descr PR: 245447 Submitted by: Jashank Jeremy Approved by: maintainer MFH: 2020Q2
15 lines
394 B
Bash
15 lines
394 B
Bash
#!/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" "$@"
|