pkgsrc/devel/opengrok/Makefile
adrianp c864a8f39c OpenGrok 0.6.1.
Please see http://src.opensolaris.org/source/history/opengrok/trunk/ for the full change history, and for the list of contributors. The following is just a summary.

Bugs fixed:
* Bug #67: Duplicate magics in the analyzers
* Bug #546: IOException when viewing history for xref root in multi-project installation
* Bug #785: Indexer don't use the value specified with -m
* Bug #779: Add option to disable index optimization upon indexing
* Bug #829: create links to account details in annotate mode
* Bug #966: fails on directory names that contain a plus (+) character
* Bug #989: Can't reindex a subtree
* Bug #988: Make it possible to optimize the index without reingexing
* Bug #1007: Add URL friendly project handling
* Bug #1009: Economical mode generates suggestion database
* Bug #1057: double-colon in search pattern throws an error
2008-04-20 16:08:20 +00:00

58 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2008/04/20 16:08:20 adrianp Exp $
#
DISTNAME= opengrok-0.6.1
CATEGORIES= devel
MASTER_SITES= http://www.opensolaris.org/os/project/opengrok/files/
MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://www.opensolaris.org/os/project/opengrok/files/
COMMENT= Fast and usable source code search and cross reference engine
DEPENDS+= exctags-[0-9]*:../../devel/exctags
DEPENDS+= apache-tomcat>=5.5:../../www/apache-tomcat55
DEPENDS+= jflex-[0-9]*:../../devel/jflex
DEPENDS+= unzip-[0-9]*:../../archivers/unzip
DEPENDS+= zip-[0-9]*:../../archivers/zip
PKG_DESTDIR_SUPPORT= user-destdir
NO_BUILD= YES
USE_JAVA= run
USE_JAVA2= 1.5
CONF_FILES= ${PREFIX}/share/examples/opengrok/paths.tsv \
${PREFIX}/share/opengrok/paths.tsv
SUBST_CLASSES+= run
SUBST_STAGE.run= post-patch
SUBST_FILES.run= run.sh run-quiet.sh
SUBST_SED.run= -e "s|/usr/local/bin/ctags|${PREFIX}/bin/exctags|g"
SUBST_SED.run+= -e "s|java|${PKG_JAVA_HOME}/bin/java|g"
SUBST_SED.run+= -e "s|@PREFIX@|${PREFIX}|g"
SUBST_MESSAGE.run= Fixing hardcoded paths.
.include "options.mk"
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/opengrok
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/opengrok/lib
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/opengrok
${INSTALL_DATA} ${WRKSRC}/README.txt \
${DESTDIR}${PREFIX}/share/opengrok
${INSTALL_DATA} ${WRKSRC}/opengrok.jar \
${DESTDIR}${PREFIX}/share/opengrok
${INSTALL_DATA} ${WRKSRC}/source.war \
${DESTDIR}${PREFIX}/share/opengrok
${INSTALL_DATA} ${WRKSRC}/lib/*.jar \
${DESTDIR}${PREFIX}/share/opengrok/lib
${INSTALL_DATA} ${WRKSRC}/paths.tsv \
${DESTDIR}${PREFIX}/share/examples/opengrok
${INSTALL_SCRIPT} ${WRKSRC}/run.sh \
${DESTDIR}${PREFIX}/share/opengrok
${INSTALL_SCRIPT} ${WRKSRC}/run-quiet.sh \
${DESTDIR}${PREFIX}/share/opengrok
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"