1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/devel/opengrok/files/opengrok.in

16 lines
348 B
Tcsh

#!/bin/csh
#
# $FreeBSD$
set JAVA = "%%LOCALBASE%%/bin/java"
set LIBFILES = "%%LIBFILES%%"
setenv JAVA_VERSION "%%JAVA_VERSION%%"
if ( "${LIBFILES}" != "" ) then
set CLASSPATH = `echo ${LIBFILES} | sed -E -e 's,[[:space:]]+,:,g'`
else
set CLASSPATH = ""
endif
exec "${JAVA}" -cp "${CLASSPATH}" -jar %%JARFILE%% -c %%LOCALBASE%%/bin/exctags $*