From 958b51028ae38e3b73ddc77ae30bd2c3bdfff178 Mon Sep 17 00:00:00 2001 From: Herve Quiroz Date: Mon, 20 Dec 2004 14:36:39 +0000 Subject: - Update to version 1.4.1 [1] - 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] --- java/jflex/files/patch-jflex | 68 -------------------------------------------- 1 file changed, 68 deletions(-) delete mode 100644 java/jflex/files/patch-jflex (limited to 'java/jflex/files/patch-jflex') diff --git a/java/jflex/files/patch-jflex b/java/jflex/files/patch-jflex deleted file mode 100644 index 3ea64aef137a..000000000000 --- a/java/jflex/files/patch-jflex +++ /dev/null @@ -1,68 +0,0 @@ ---- bin/jflex.orig Mon May 3 23:06:29 2004 -+++ bin/jflex Mon May 3 23:11:12 2004 -@@ -1,51 +1,19 @@ --#! /bin/bash -+#!/bin/sh - # --# JFlex start script $Revision: 2.0 $ -+# Replacement for the script that came with JFlex -+# because bash is not necessarily on a FreeBSD -+# machine. Also, we know where the jar is. - # --# if Java is not in your binary path, you need to supply its --# location in this script. The script automatically finds --# JFLEX_HOME when called directly, via binary path, or symbolic --# link. --# --# Site wide installation: simply make a symlink from e.g. --# /usr/bin/jflex to this script at its original position --# --#=================================================================== --# --# configurables: -- --# path to the java interpreter --JAVA=java -- --# end configurables --# --#=================================================================== --# -- --# calculate true location -- --PRG=`type $0` --PRG=${PRG##* } -- --# If PRG is a symlink, trace it to the real home directory -- --while [ -L "$PRG" ] --do -- newprg=$(ls -l ${PRG}) -- newprg=${newprg##*-> } -- [ ${newprg} = ${newprg#/} ] && newprg=${PRG%/*}/${newprg} -- PRG="$newprg" --done -- --PRG=${PRG%/*} --JFLEX_HOME=${PRG}/.. -- --# -------------------------------------------------------------------- -+# Conor McDermottroe - --export CLASSPATH --CLASSPATH=$JFLEX_HOME/lib/JFlex.jar -+# Allow the user to override where JFlex.jar lives -+if [ -z "$JAVAJARDIR" ]; then -+ JAVAJARDIR=%%JAVAJARDIR%% -+fi - --$JAVA JFlex.Main $@ -+# Allow the user to specify which java interpreter to use -+if [ -z "$JAVA" ]; then -+ JAVA="`which javavm`" -+fi - --#for more memory: --#$JAVA -Xmx128m JFlex.Main $@ -+$JAVA -jar $JAVAJARDIR/JFlex.jar $@ -- cgit v1.2.3