summaryrefslogtreecommitdiff
path: root/devel/opengrok
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2007-04-08 16:59:41 +0000
committeradrianp <adrianp@pkgsrc.org>2007-04-08 16:59:41 +0000
commitffd8d549340e6ae3da39ac5e223cf189a24c4c2c (patch)
tree9e5e5c577906cb0a24bd75a09ee9e038a33ba348 /devel/opengrok
parent072e25a41318d9110ea3a9414eadae03d2bfee98 (diff)
downloadpkgsrc-ffd8d549340e6ae3da39ac5e223cf189a24c4c2c.tar.gz
OpenGrok is a fast and usable source code search and cross reference engine.
It helps you search, cross-reference and navigate your source tree. It can understand various program file formats and version control histories like SCCS, RCS, CVS and Subversion. In other words it lets you grok (profoundly understand) the open source, hence the name OpenGrok. It is written in Java. This is opengrok 0.4
Diffstat (limited to 'devel/opengrok')
-rw-r--r--devel/opengrok/DESCR5
-rw-r--r--devel/opengrok/Makefile52
-rw-r--r--devel/opengrok/PLIST85
-rw-r--r--devel/opengrok/distinfo7
-rw-r--r--devel/opengrok/options.mk15
-rw-r--r--devel/opengrok/patches/patch-aa12
-rw-r--r--devel/opengrok/patches/patch-ab12
7 files changed, 188 insertions, 0 deletions
diff --git a/devel/opengrok/DESCR b/devel/opengrok/DESCR
new file mode 100644
index 00000000000..17cc16bf2f9
--- /dev/null
+++ b/devel/opengrok/DESCR
@@ -0,0 +1,5 @@
+OpenGrok is a fast and usable source code search and cross reference engine.
+It helps you search, cross-reference and navigate your source tree. It can
+understand various program file formats and version control histories like
+SCCS, RCS, CVS and Subversion. In other words it lets you grok (profoundly
+understand) the open source, hence the name OpenGrok. It is written in Java.
diff --git a/devel/opengrok/Makefile b/devel/opengrok/Makefile
new file mode 100644
index 00000000000..b4cb7e86f27
--- /dev/null
+++ b/devel/opengrok/Makefile
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/04/08 16:59:41 adrianp Exp $
+#
+
+DISTNAME= opengrok-0.4
+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
+
+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} ${PREFIX}/share/opengrok
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/opengrok/lib
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/opengrok
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/opengrok/conf
+
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/opengrok
+ ${INSTALL_DATA} ${WRKSRC}/opengrok.jar ${PREFIX}/share/opengrok
+ ${INSTALL_DATA} ${WRKSRC}/source.war ${PREFIX}/share/opengrok
+ ${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${PREFIX}/share/opengrok/lib
+ ${INSTALL_DATA} ${WRKSRC}/paths.tsv ${PREFIX}/share/examples/opengrok
+ ${INSTALL_SCRIPT} ${WRKSRC}/run.sh ${PREFIX}/share/opengrok
+ ${INSTALL_SCRIPT} ${WRKSRC}/run-quiet.sh ${PREFIX}/share/opengrok
+
+ cd ${WRKSRC}/conf && ${PAX} -rw . ${PREFIX}/share/examples/opengrok/conf
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/opengrok/PLIST b/devel/opengrok/PLIST
new file mode 100644
index 00000000000..c4687905845
--- /dev/null
+++ b/devel/opengrok/PLIST
@@ -0,0 +1,85 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/04/08 16:59:41 adrianp Exp $
+share/examples/opengrok/conf/default/html/foot.html
+share/examples/opengrok/conf/default/html/help.html
+share/examples/opengrok/conf/default/html/img/Logo.png
+share/examples/opengrok/conf/default/html/img/icon.png
+share/examples/opengrok/conf/default/html/img/rss.png
+share/examples/opengrok/conf/default/html/img/servedby.png
+share/examples/opengrok/conf/default/html/index.html
+share/examples/opengrok/conf/default/html/print.css
+share/examples/opengrok/conf/default/html/rss.xsl.xml
+share/examples/opengrok/conf/default/html/style.css
+share/examples/opengrok/conf/default/web.xml
+share/examples/opengrok/conf/offwhite/html/foot.html
+share/examples/opengrok/conf/offwhite/html/help.html
+share/examples/opengrok/conf/offwhite/html/img/Logo.png
+share/examples/opengrok/conf/offwhite/html/img/b.gif
+share/examples/opengrok/conf/offwhite/html/img/d.gif
+share/examples/opengrok/conf/offwhite/html/img/do.gif
+share/examples/opengrok/conf/offwhite/html/img/f.gif
+share/examples/opengrok/conf/offwhite/html/img/h.gif
+share/examples/opengrok/conf/offwhite/html/img/icon.png
+share/examples/opengrok/conf/offwhite/html/img/l.gif
+share/examples/opengrok/conf/offwhite/html/img/p.gif
+share/examples/opengrok/conf/offwhite/html/img/q.gif
+share/examples/opengrok/conf/offwhite/html/img/r.gif
+share/examples/opengrok/conf/offwhite/html/img/rss.png
+share/examples/opengrok/conf/offwhite/html/img/servedby.png
+share/examples/opengrok/conf/offwhite/html/img/t.gif
+share/examples/opengrok/conf/offwhite/html/img/w.gif
+share/examples/opengrok/conf/offwhite/html/index.html
+share/examples/opengrok/conf/offwhite/html/print.css
+share/examples/opengrok/conf/offwhite/html/rss.xsl.xml
+share/examples/opengrok/conf/offwhite/html/style.css
+share/examples/opengrok/conf/offwhite/web.xml
+share/examples/opengrok/conf/polished/html/foot.html
+share/examples/opengrok/conf/polished/html/help.html
+share/examples/opengrok/conf/polished/html/img/Logo.png
+share/examples/opengrok/conf/polished/html/img/b.gif
+share/examples/opengrok/conf/polished/html/img/d.gif
+share/examples/opengrok/conf/polished/html/img/do.gif
+share/examples/opengrok/conf/polished/html/img/f.gif
+share/examples/opengrok/conf/polished/html/img/h.gif
+share/examples/opengrok/conf/polished/html/img/icon.png
+share/examples/opengrok/conf/polished/html/img/l.gif
+share/examples/opengrok/conf/polished/html/img/p.gif
+share/examples/opengrok/conf/polished/html/img/q.gif
+share/examples/opengrok/conf/polished/html/img/r.gif
+share/examples/opengrok/conf/polished/html/img/rss.png
+share/examples/opengrok/conf/polished/html/img/servedby.png
+share/examples/opengrok/conf/polished/html/img/t.gif
+share/examples/opengrok/conf/polished/html/img/w.gif
+share/examples/opengrok/conf/polished/html/index.html
+share/examples/opengrok/conf/polished/html/print.css
+share/examples/opengrok/conf/polished/html/rss.xsl.xml
+share/examples/opengrok/conf/polished/html/style.css
+share/examples/opengrok/conf/polished/web.xml
+share/examples/opengrok/paths.tsv
+share/opengrok/README.txt
+share/opengrok/lib/ant-tools.jar
+share/opengrok/lib/bcel-5.1.jar
+share/opengrok/lib/jakarta-oro-2.0.8.jar
+share/opengrok/lib/lucene-1.4.3.jar
+share/opengrok/lib/org.apache.commons.jrcs.diff.jar
+share/opengrok/lib/org.apache.commons.jrcs.rcs.jar
+share/opengrok/lib/servlet-api.jar
+share/opengrok/lib/speller.jar
+share/opengrok/lib/svn-javahl.jar
+share/opengrok/lib/swing-layout-0.9.jar
+share/opengrok/opengrok.jar
+share/opengrok/run-quiet.sh
+share/opengrok/run.sh
+share/opengrok/source.war
+@dirrm share/opengrok/lib
+@dirrm share/opengrok
+@dirrm share/examples/opengrok/conf/polished/html/img
+@dirrm share/examples/opengrok/conf/polished/html
+@dirrm share/examples/opengrok/conf/polished
+@dirrm share/examples/opengrok/conf/offwhite/html/img
+@dirrm share/examples/opengrok/conf/offwhite/html
+@dirrm share/examples/opengrok/conf/offwhite
+@dirrm share/examples/opengrok/conf/default/html/img
+@dirrm share/examples/opengrok/conf/default/html
+@dirrm share/examples/opengrok/conf/default
+@dirrm share/examples/opengrok/conf
+@dirrm share/examples/opengrok
diff --git a/devel/opengrok/distinfo b/devel/opengrok/distinfo
new file mode 100644
index 00000000000..027694715f2
--- /dev/null
+++ b/devel/opengrok/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/04/08 16:59:41 adrianp Exp $
+
+SHA1 (opengrok-0.4.tar.gz) = 6c83639c328b1fe5b20548704501ce9c23559bbf
+RMD160 (opengrok-0.4.tar.gz) = 1f6e1cc0a69c222b5cfa53a8aa8946a1a8fa7601
+Size (opengrok-0.4.tar.gz) = 3145787 bytes
+SHA1 (patch-aa) = 22c1e946fc90f7cfbc05ad97541eb3bbc2c03cfe
+SHA1 (patch-ab) = a5bb3931713207adaa6303eb533c2cddc39b8fb0
diff --git a/devel/opengrok/options.mk b/devel/opengrok/options.mk
new file mode 100644
index 00000000000..c6c69d5bf13
--- /dev/null
+++ b/devel/opengrok/options.mk
@@ -0,0 +1,15 @@
+# $NetBSD: options.mk,v 1.1.1.1 2007/04/08 16:59:41 adrianp Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.opengrok
+
+PKG_SUPPORTED_OPTIONS= svn
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Support Subversion revision control
+###
+.if !empty(PKG_OPTIONS:Msvn)
+. include "../../devel/subversion-base/buildlink3.mk"
+BUILDLINK_API_DEPENDS.subversion-base+= subversion-base>=1.3.0
+.endif
diff --git a/devel/opengrok/patches/patch-aa b/devel/opengrok/patches/patch-aa
new file mode 100644
index 00000000000..310b677c9be
--- /dev/null
+++ b/devel/opengrok/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/04/08 16:59:41 adrianp Exp $
+
+--- run.sh.orig 2007-04-08 16:52:59.000000000 +0100
++++ run.sh
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+
+-PROGDIR=`dirname $0`
++PROGDIR=@PREFIX@/share/opengrok
+
+ # REQUIRED The root of your source tree
+ SRC_ROOT=/your/src/tree/
diff --git a/devel/opengrok/patches/patch-ab b/devel/opengrok/patches/patch-ab
new file mode 100644
index 00000000000..e3a01f0e5e9
--- /dev/null
+++ b/devel/opengrok/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/04/08 16:59:41 adrianp Exp $
+
+--- run-quiet.sh.orig 2007-04-08 16:52:59.000000000 +0100
++++ run-quiet.sh
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+
+-PROGDIR=`dirname $0`
++PROGDIR=@PREFIX@/share/opengrok
+
+ # REQUIRED The root of your source tree
+ SRC_ROOT=/your/src/tree/