pkgsrc/devel/opengrok/Makefile

78 lines
2.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.61 2021/06/17 14:31:13 mef Exp $
DISTNAME= OpenGrok-0.12.1.5
PKGNAME= ${DISTNAME:tl:S/-rc/rc/}
2021-04-21 13:40:12 +02:00
PKGREVISION= 16
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=OpenGrok/}
MAINTAINER= pkgsrc-users@NetBSD.org
2018-01-14 11:17:06 +01:00
HOMEPAGE= https://opengrok.github.io/OpenGrok/
COMMENT= Fast and usable source code search and cross reference engine
Update to 0.11.1 * Convert to build from source to configure the localtion of configuration.xml. Prebuild binary requires /var/opengrok directory. This package requires the directory inside ${PREFIX}/share/opengrok only. * Update HOMEPAGE Changelog: 0.12-rc5: differentiate between raw and download #578 add H A D links to directory listing #573 fix dtags.eftar file descriptor leak #535 do not unnecessarily create 2 File objects when returning eftar reader #539 0.12-rc4: highlight line number with anchor (#702) timeout for command execution (#429, #487) fix for definitions search displays comment lines (#294) 0.12-rc3: Lucene 4.6.0 Mercurial rename regression fix (#683) let sendToConfigHost body use the parameter "env" to keep align with its signature and other methods 0.12-rc2: bug #672 need double-quotes to specify path bug #625 xref links containing \u don't seem to be working follow-up fixes for Mercurial renamed files handling (fixes #666) Support for Surround SCM history lucene 4.5 (requires full reindex from 0.12-rc1) generate history of files renamed in Mercurial repo separately (fixes #22) 0.12-rc1: JDK7 + tomcat7 tested, JDK6 unsupported! lucene 4.4 -> A LOT faster engine, no spellindex needed, regexp search supported (see help) pl/sql, scala, uuencode languages/analyzers support php analyzers improved monotone, mercurial SCM support improved AccuRev SCM added to supported SCMs new config options in OpenGrok script new search by analyzer/language Changelog for <0.12 is not available.
2013-12-31 23:56:12 +01:00
LICENSE= cddl-1.0
EXTRACT_USING= bsdtar
DEPENDS+= exctags-[0-9]*:../../devel/exctags
Update to 0.11.1 * Convert to build from source to configure the localtion of configuration.xml. Prebuild binary requires /var/opengrok directory. This package requires the directory inside ${PREFIX}/share/opengrok only. * Update HOMEPAGE Changelog: 0.12-rc5: differentiate between raw and download #578 add H A D links to directory listing #573 fix dtags.eftar file descriptor leak #535 do not unnecessarily create 2 File objects when returning eftar reader #539 0.12-rc4: highlight line number with anchor (#702) timeout for command execution (#429, #487) fix for definitions search displays comment lines (#294) 0.12-rc3: Lucene 4.6.0 Mercurial rename regression fix (#683) let sendToConfigHost body use the parameter "env" to keep align with its signature and other methods 0.12-rc2: bug #672 need double-quotes to specify path bug #625 xref links containing \u don't seem to be working follow-up fixes for Mercurial renamed files handling (fixes #666) Support for Surround SCM history lucene 4.5 (requires full reindex from 0.12-rc1) generate history of files renamed in Mercurial repo separately (fixes #22) 0.12-rc1: JDK7 + tomcat7 tested, JDK6 unsupported! lucene 4.4 -> A LOT faster engine, no spellindex needed, regexp search supported (see help) pl/sql, scala, uuencode languages/analyzers support php analyzers improved monotone, mercurial SCM support improved AccuRev SCM added to supported SCMs new config options in OpenGrok script new search by analyzer/language Changelog for <0.12 is not available.
2013-12-31 23:56:12 +01:00
DEPENDS+= jflex-[0-9]*:../../devel/jflex
DEPENDS+= apache-ant-[0-9]*:../../devel/apache-ant
# XXX PREFIX should not be used here, but I would like to reduce dependencies.
Update to 0.11.1 * Convert to build from source to configure the localtion of configuration.xml. Prebuild binary requires /var/opengrok directory. This package requires the directory inside ${PREFIX}/share/opengrok only. * Update HOMEPAGE Changelog: 0.12-rc5: differentiate between raw and download #578 add H A D links to directory listing #573 fix dtags.eftar file descriptor leak #535 do not unnecessarily create 2 File objects when returning eftar reader #539 0.12-rc4: highlight line number with anchor (#702) timeout for command execution (#429, #487) fix for definitions search displays comment lines (#294) 0.12-rc3: Lucene 4.6.0 Mercurial rename regression fix (#683) let sendToConfigHost body use the parameter "env" to keep align with its signature and other methods 0.12-rc2: bug #672 need double-quotes to specify path bug #625 xref links containing \u don't seem to be working follow-up fixes for Mercurial renamed files handling (fixes #666) Support for Surround SCM history lucene 4.5 (requires full reindex from 0.12-rc1) generate history of files renamed in Mercurial repo separately (fixes #22) 0.12-rc1: JDK7 + tomcat7 tested, JDK6 unsupported! lucene 4.4 -> A LOT faster engine, no spellindex needed, regexp search supported (see help) pl/sql, scala, uuencode languages/analyzers support php analyzers improved monotone, mercurial SCM support improved AccuRev SCM added to supported SCMs new config options in OpenGrok script new search by analyzer/language Changelog for <0.12 is not available.
2013-12-31 23:56:12 +01:00
SUBST_CLASSES+= vcs
SUBST_FILES.vcs+= OpenGrok
SUBST_MESSAGE.vcs= Set VCS program pathes.
SUBST_STAGE.vcs= pre-configure
SUBST_VARS.vcs= PREFIX
SUBST_CLASSES+= conf
SUBST_FILES.conf+= web/WEB-INF/web.xml
SUBST_MESSAGE.conf= Set configuration.xml location
SUBST_STAGE.conf= pre-configure
SUBST_VARS.conf= PREFIX
SUBST_CLASSES+= https
SUBST_FILES.https+= build.xml
SUBST_MESSAGE.https= convert http to https
SUBST_STAGE.https= post-configure
SUBST_SED.https= 's|http://repo1|https://repo1|'
MESSAGE_SUBST+= PKG_JAVA_HOME=${PKG_JAVA_HOME}
Update to 0.11.1 * Convert to build from source to configure the localtion of configuration.xml. Prebuild binary requires /var/opengrok directory. This package requires the directory inside ${PREFIX}/share/opengrok only. * Update HOMEPAGE Changelog: 0.12-rc5: differentiate between raw and download #578 add H A D links to directory listing #573 fix dtags.eftar file descriptor leak #535 do not unnecessarily create 2 File objects when returning eftar reader #539 0.12-rc4: highlight line number with anchor (#702) timeout for command execution (#429, #487) fix for definitions search displays comment lines (#294) 0.12-rc3: Lucene 4.6.0 Mercurial rename regression fix (#683) let sendToConfigHost body use the parameter "env" to keep align with its signature and other methods 0.12-rc2: bug #672 need double-quotes to specify path bug #625 xref links containing \u don't seem to be working follow-up fixes for Mercurial renamed files handling (fixes #666) Support for Surround SCM history lucene 4.5 (requires full reindex from 0.12-rc1) generate history of files renamed in Mercurial repo separately (fixes #22) 0.12-rc1: JDK7 + tomcat7 tested, JDK6 unsupported! lucene 4.4 -> A LOT faster engine, no spellindex needed, regexp search supported (see help) pl/sql, scala, uuencode languages/analyzers support php analyzers improved monotone, mercurial SCM support improved AccuRev SCM added to supported SCMs new config options in OpenGrok script new search by analyzer/language Changelog for <0.12 is not available.
2013-12-31 23:56:12 +01:00
.include "options.mk"
Update to 0.11.1 * Convert to build from source to configure the localtion of configuration.xml. Prebuild binary requires /var/opengrok directory. This package requires the directory inside ${PREFIX}/share/opengrok only. * Update HOMEPAGE Changelog: 0.12-rc5: differentiate between raw and download #578 add H A D links to directory listing #573 fix dtags.eftar file descriptor leak #535 do not unnecessarily create 2 File objects when returning eftar reader #539 0.12-rc4: highlight line number with anchor (#702) timeout for command execution (#429, #487) fix for definitions search displays comment lines (#294) 0.12-rc3: Lucene 4.6.0 Mercurial rename regression fix (#683) let sendToConfigHost body use the parameter "env" to keep align with its signature and other methods 0.12-rc2: bug #672 need double-quotes to specify path bug #625 xref links containing \u don't seem to be working follow-up fixes for Mercurial renamed files handling (fixes #666) Support for Surround SCM history lucene 4.5 (requires full reindex from 0.12-rc1) generate history of files renamed in Mercurial repo separately (fixes #22) 0.12-rc1: JDK7 + tomcat7 tested, JDK6 unsupported! lucene 4.4 -> A LOT faster engine, no spellindex needed, regexp search supported (see help) pl/sql, scala, uuencode languages/analyzers support php analyzers improved monotone, mercurial SCM support improved AccuRev SCM added to supported SCMs new config options in OpenGrok script new search by analyzer/language Changelog for <0.12 is not available.
2013-12-31 23:56:12 +01:00
USE_JAVA= yes
USE_JAVA2= yes
USE_TOOLS+= unzip:run zip:run
2021-04-15 08:00:04 +02:00
# [javac] error: Source option 1.4 is no longer supported. Use 6 or later.
PKG_JVMS_ACCEPTED= openjdk8
CONF_FILES= ${PREFIX}/share/examples/opengrok/paths.tsv \
Update to 0.11.1 * Convert to build from source to configure the localtion of configuration.xml. Prebuild binary requires /var/opengrok directory. This package requires the directory inside ${PREFIX}/share/opengrok only. * Update HOMEPAGE Changelog: 0.12-rc5: differentiate between raw and download #578 add H A D links to directory listing #573 fix dtags.eftar file descriptor leak #535 do not unnecessarily create 2 File objects when returning eftar reader #539 0.12-rc4: highlight line number with anchor (#702) timeout for command execution (#429, #487) fix for definitions search displays comment lines (#294) 0.12-rc3: Lucene 4.6.0 Mercurial rename regression fix (#683) let sendToConfigHost body use the parameter "env" to keep align with its signature and other methods 0.12-rc2: bug #672 need double-quotes to specify path bug #625 xref links containing \u don't seem to be working follow-up fixes for Mercurial renamed files handling (fixes #666) Support for Surround SCM history lucene 4.5 (requires full reindex from 0.12-rc1) generate history of files renamed in Mercurial repo separately (fixes #22) 0.12-rc1: JDK7 + tomcat7 tested, JDK6 unsupported! lucene 4.4 -> A LOT faster engine, no spellindex needed, regexp search supported (see help) pl/sql, scala, uuencode languages/analyzers support php analyzers improved monotone, mercurial SCM support improved AccuRev SCM added to supported SCMs new config options in OpenGrok script new search by analyzer/language Changelog for <0.12 is not available.
2013-12-31 23:56:12 +01:00
${PREFIX}/share/opengrok/var/opengrok/paths.tsv
Update to 0.11.1 * Convert to build from source to configure the localtion of configuration.xml. Prebuild binary requires /var/opengrok directory. This package requires the directory inside ${PREFIX}/share/opengrok only. * Update HOMEPAGE Changelog: 0.12-rc5: differentiate between raw and download #578 add H A D links to directory listing #573 fix dtags.eftar file descriptor leak #535 do not unnecessarily create 2 File objects when returning eftar reader #539 0.12-rc4: highlight line number with anchor (#702) timeout for command execution (#429, #487) fix for definitions search displays comment lines (#294) 0.12-rc3: Lucene 4.6.0 Mercurial rename regression fix (#683) let sendToConfigHost body use the parameter "env" to keep align with its signature and other methods 0.12-rc2: bug #672 need double-quotes to specify path bug #625 xref links containing \u don't seem to be working follow-up fixes for Mercurial renamed files handling (fixes #666) Support for Surround SCM history lucene 4.5 (requires full reindex from 0.12-rc1) generate history of files renamed in Mercurial repo separately (fixes #22) 0.12-rc1: JDK7 + tomcat7 tested, JDK6 unsupported! lucene 4.4 -> A LOT faster engine, no spellindex needed, regexp search supported (see help) pl/sql, scala, uuencode languages/analyzers support php analyzers improved monotone, mercurial SCM support improved AccuRev SCM added to supported SCMs new config options in OpenGrok script new search by analyzer/language Changelog for <0.12 is not available.
2013-12-31 23:56:12 +01:00
INSTALLATION_DIRS+= share/opengrok/bin \
share/opengrok/lib/lib \
share/examples/opengrok \
share/opengrok/var/opengrok
do-build:
2020-05-30 22:48:13 +02:00
${RUN} ${_ULIMIT_CMD} cd ${WRKSRC} && \
Update to 0.11.1 * Convert to build from source to configure the localtion of configuration.xml. Prebuild binary requires /var/opengrok directory. This package requires the directory inside ${PREFIX}/share/opengrok only. * Update HOMEPAGE Changelog: 0.12-rc5: differentiate between raw and download #578 add H A D links to directory listing #573 fix dtags.eftar file descriptor leak #535 do not unnecessarily create 2 File objects when returning eftar reader #539 0.12-rc4: highlight line number with anchor (#702) timeout for command execution (#429, #487) fix for definitions search displays comment lines (#294) 0.12-rc3: Lucene 4.6.0 Mercurial rename regression fix (#683) let sendToConfigHost body use the parameter "env" to keep align with its signature and other methods 0.12-rc2: bug #672 need double-quotes to specify path bug #625 xref links containing \u don't seem to be working follow-up fixes for Mercurial renamed files handling (fixes #666) Support for Surround SCM history lucene 4.5 (requires full reindex from 0.12-rc1) generate history of files renamed in Mercurial repo separately (fixes #22) 0.12-rc1: JDK7 + tomcat7 tested, JDK6 unsupported! lucene 4.4 -> A LOT faster engine, no spellindex needed, regexp search supported (see help) pl/sql, scala, uuencode languages/analyzers support php analyzers improved monotone, mercurial SCM support improved AccuRev SCM added to supported SCMs new config options in OpenGrok script new search by analyzer/language Changelog for <0.12 is not available.
2013-12-31 23:56:12 +01:00
CLASSPATH=${PREFIX}/lib/java/JFlex.jar ${PREFIX}/bin/ant
do-install:
Update to 0.11.1 * Convert to build from source to configure the localtion of configuration.xml. Prebuild binary requires /var/opengrok directory. This package requires the directory inside ${PREFIX}/share/opengrok only. * Update HOMEPAGE Changelog: 0.12-rc5: differentiate between raw and download #578 add H A D links to directory listing #573 fix dtags.eftar file descriptor leak #535 do not unnecessarily create 2 File objects when returning eftar reader #539 0.12-rc4: highlight line number with anchor (#702) timeout for command execution (#429, #487) fix for definitions search displays comment lines (#294) 0.12-rc3: Lucene 4.6.0 Mercurial rename regression fix (#683) let sendToConfigHost body use the parameter "env" to keep align with its signature and other methods 0.12-rc2: bug #672 need double-quotes to specify path bug #625 xref links containing \u don't seem to be working follow-up fixes for Mercurial renamed files handling (fixes #666) Support for Surround SCM history lucene 4.5 (requires full reindex from 0.12-rc1) generate history of files renamed in Mercurial repo separately (fixes #22) 0.12-rc1: JDK7 + tomcat7 tested, JDK6 unsupported! lucene 4.4 -> A LOT faster engine, no spellindex needed, regexp search supported (see help) pl/sql, scala, uuencode languages/analyzers support php analyzers improved monotone, mercurial SCM support improved AccuRev SCM added to supported SCMs new config options in OpenGrok script new search by analyzer/language Changelog for <0.12 is not available.
2013-12-31 23:56:12 +01:00
${INSTALL_SCRIPT} ${WRKSRC}/OpenGrok \
${DESTDIR}${PREFIX}/share/opengrok/bin
${INSTALL_DATA} ${WRKSRC}/README.txt \
${DESTDIR}${PREFIX}/share/opengrok
Update to 0.11.1 * Convert to build from source to configure the localtion of configuration.xml. Prebuild binary requires /var/opengrok directory. This package requires the directory inside ${PREFIX}/share/opengrok only. * Update HOMEPAGE Changelog: 0.12-rc5: differentiate between raw and download #578 add H A D links to directory listing #573 fix dtags.eftar file descriptor leak #535 do not unnecessarily create 2 File objects when returning eftar reader #539 0.12-rc4: highlight line number with anchor (#702) timeout for command execution (#429, #487) fix for definitions search displays comment lines (#294) 0.12-rc3: Lucene 4.6.0 Mercurial rename regression fix (#683) let sendToConfigHost body use the parameter "env" to keep align with its signature and other methods 0.12-rc2: bug #672 need double-quotes to specify path bug #625 xref links containing \u don't seem to be working follow-up fixes for Mercurial renamed files handling (fixes #666) Support for Surround SCM history lucene 4.5 (requires full reindex from 0.12-rc1) generate history of files renamed in Mercurial repo separately (fixes #22) 0.12-rc1: JDK7 + tomcat7 tested, JDK6 unsupported! lucene 4.4 -> A LOT faster engine, no spellindex needed, regexp search supported (see help) pl/sql, scala, uuencode languages/analyzers support php analyzers improved monotone, mercurial SCM support improved AccuRev SCM added to supported SCMs new config options in OpenGrok script new search by analyzer/language Changelog for <0.12 is not available.
2013-12-31 23:56:12 +01:00
${INSTALL_DATA} ${WRKSRC}/dist/opengrok.jar \
${DESTDIR}${PREFIX}/share/opengrok/lib
Update to 0.11.1 * Convert to build from source to configure the localtion of configuration.xml. Prebuild binary requires /var/opengrok directory. This package requires the directory inside ${PREFIX}/share/opengrok only. * Update HOMEPAGE Changelog: 0.12-rc5: differentiate between raw and download #578 add H A D links to directory listing #573 fix dtags.eftar file descriptor leak #535 do not unnecessarily create 2 File objects when returning eftar reader #539 0.12-rc4: highlight line number with anchor (#702) timeout for command execution (#429, #487) fix for definitions search displays comment lines (#294) 0.12-rc3: Lucene 4.6.0 Mercurial rename regression fix (#683) let sendToConfigHost body use the parameter "env" to keep align with its signature and other methods 0.12-rc2: bug #672 need double-quotes to specify path bug #625 xref links containing \u don't seem to be working follow-up fixes for Mercurial renamed files handling (fixes #666) Support for Surround SCM history lucene 4.5 (requires full reindex from 0.12-rc1) generate history of files renamed in Mercurial repo separately (fixes #22) 0.12-rc1: JDK7 + tomcat7 tested, JDK6 unsupported! lucene 4.4 -> A LOT faster engine, no spellindex needed, regexp search supported (see help) pl/sql, scala, uuencode languages/analyzers support php analyzers improved monotone, mercurial SCM support improved AccuRev SCM added to supported SCMs new config options in OpenGrok script new search by analyzer/language Changelog for <0.12 is not available.
2013-12-31 23:56:12 +01:00
${INSTALL_DATA} ${WRKSRC}/dist/source.war \
${DESTDIR}${PREFIX}/share/opengrok/lib
${INSTALL_DATA} ${WRKSRC}/dist/lib/*.jar \
${DESTDIR}${PREFIX}/share/opengrok/lib/lib
${INSTALL_DATA} ${WRKSRC}/paths.tsv \
${DESTDIR}${PREFIX}/share/examples/opengrok
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"