1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

devel/opengrok: Make the installed version runnable (and usable)

PR:		194177
Reported by:	shen.elf (gmail)
Fixed by:	marino and shen.elf
This commit is contained in:
John Marino 2014-10-11 07:28:56 +00:00
parent 44e8539903
commit 8a552cf9fa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370625
3 changed files with 5 additions and 14 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= opengrok
PORTVERSION= 0.12.1
PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= http://java.net/projects/opengrok/downloads/download/
@ -20,7 +21,7 @@ SHAREGRP= www
NO_BUILD= yes
PORTDOCS= ${DOCS}
SUB_FILES= opengrok
SUB_LIST+= LIBFILES="${LIBFILES:S,^,${DATADIR}/,}" \
SUB_LIST+= LIBFILES="${LIBFILES:S,^,${DATADIR}/lib/,}" \
JARFILE="${JARFILE}"
PLIST_SUB= T=${WEBAPP_HOME:S|^${LOCALBASE}/||} \
OWNER=${SHAREOWN} GROUP=${SHAREGRP}
@ -41,6 +42,7 @@ DOCS= CHANGES.txt EXAMPLE.txt LICENSE.txt
LIBFILES= ant.jar \
bcel-5.2.jar \
jrcs.jar \
lucene-analyzers-common-4.7.1.jar \
lucene-core-4.7.1.jar \
lucene-queryparser-4.7.1.jar \
lucene-suggest-4.7.1.jar \

View File

@ -12,4 +12,4 @@ else
set CLASSPATH = ""
endif
exec "${JAVA}" -cp "${CLASSPATH}" -jar %%JARFILE%% -c %%LOCALBASE%%/bin/exctags $*
exec "${JAVA}" -cp "${CLASSPATH}" -jar %%JARFILE%% -c %%LOCALBASE%%/bin/exctags -w opengrok $*

View File

@ -2,6 +2,7 @@ bin/opengrok
%%DATADIR%%/lib/ant.jar
%%DATADIR%%/lib/bcel-5.2.jar
%%DATADIR%%/lib/jrcs.jar
%%DATADIR%%/lib/lucene-analyzers-common-4.7.1.jar
%%DATADIR%%/lib/lucene-core-4.7.1.jar
%%DATADIR%%/lib/lucene-queryparser-4.7.1.jar
%%DATADIR%%/lib/lucene-suggest-4.7.1.jar
@ -115,15 +116,3 @@ bin/opengrok
%%T%%/webapps/opengrok/utils.js
@group
@owner
@dirrmtry %%T%%/webapps/opengrok/META-INF
@dirrmtry %%T%%/webapps/opengrok/WEB-INF/lib
@dirrmtry %%T%%/webapps/opengrok/WEB-INF
@dirrmtry %%T%%/webapps/opengrok/default/img
@dirrmtry %%T%%/webapps/opengrok/default
@dirrmtry %%T%%/webapps/opengrok/offwhite/img
@dirrmtry %%T%%/webapps/opengrok/offwhite
@dirrmtry %%T%%/webapps/opengrok/polished/img
@dirrmtry %%T%%/webapps/opengrok/polished
@dirrmtry %%T%%/webapps/opengrok
@dirrmtry %%DATADIR%%/lib
@dirrmtry %%DATADIR%%