ports/devel/opengrok/files/opengrok.in
John Marino 8a552cf9fa devel/opengrok: Make the installed version runnable (and usable)
PR:		194177
Reported by:	shen.elf (gmail)
Fixed by:	marino and shen.elf
2014-10-11 07:28:56 +00:00

15 lines
360 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 -w opengrok $*