mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
958b51028a
- Use USE_ANT [1] - No longer add %%JAVAJARDIR%% to PLIST_SUB [1] - Update to bsd.java.mk 2.0 - No longer patch the distribution shell script but rather use a FreeBSD specific one [1] - Use SUB_FILES/SUB_LIST to perform substitutions on the launcher shell script - Minor cosmetic improvements - Use JAVALIBDIR rather than JAVAJARDIR for JAR dependencies - Moved the BUILD_DEPENDS statement to calm portlint PR: 75198 [1] Submitted by: maintainer [1]
15 lines
374 B
Bash
15 lines
374 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%%"}"
|
|
|
|
"%%LOCALBASE%%/bin/java" -jar "${JAVAJARDIR}/JFlex.jar" "$@"
|