freebsd-ports/editors/jedit-devel/files/jedit.sh.in
Herve Quiroz 742ec08b51 - Update to 4.3pre1
- Register conflict with editors/jedit

NOTE: the port now requires Java 1.4+

Also apply the same recent changes as in editors/jedit:

- Update to bsd.java.mk 2.0
- Fix dynamic plist creation where all JAVASHAREDIR would be listed (and thus
  removed with the port) (!)
- Use SUB_LIST and tweak the launcher shell script
- Use DATADIR=${JAVASHAREDIR}/${PORTNAME}

PR:		75770
Submitted by:	Linh Pham <question+fbsdports@closedsrc.org>
2005-02-21 23:28:42 +00:00

7 lines
183 B
Bash

#!/bin/sh
# $FreeBSD$
# Java heap size, in megabytes
JAVA_HEAP_SIZE=32
JAVA_VERSION="1.4+" "%%LOCALBASE%%/bin/java" -mx${JAVA_HEAP_SIZE}m ${JEDIT} -jar "%%DATADIR%%/jedit.jar" "$@"