summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2003-09-25 16:04:06 +0000
committerxtraeme <xtraeme>2003-09-25 16:04:06 +0000
commited2b005958c304fcebcf1f06901f1001e0db16b0 (patch)
tree8df9defff36e0a6656949cdf1d1e44edd2940995 /devel
parentd6accae71c18ed1575775beda2f575fe6c22ace4 (diff)
downloadpkgsrc-ed2b005958c304fcebcf1f06901f1001e0db16b0.tar.gz
Initial import of devhelp 0.7.
Package provided by Benedikt Meurer <bmeurer@unix-ag.org> via pkgsrc-wip. DevHelp is an application to view books created in a conjunction with XML and HTML. This application is commonly used for viewing books about reference libraries, articles or tutorials. It provides the following features: - Full indexing of books in XML - HTML viewer (GtkHTML2) - Search by function, struct, macro or whatever - Auto completion - Commandline search - Emacs and Vim integration
Diffstat (limited to 'devel')
-rw-r--r--devel/devhelp/DESCR12
-rw-r--r--devel/devhelp/Makefile35
-rw-r--r--devel/devhelp/PLIST60
-rw-r--r--devel/devhelp/distinfo5
-rw-r--r--devel/devhelp/patches/patch-aa20
5 files changed, 132 insertions, 0 deletions
diff --git a/devel/devhelp/DESCR b/devel/devhelp/DESCR
new file mode 100644
index 00000000000..32d61561247
--- /dev/null
+++ b/devel/devhelp/DESCR
@@ -0,0 +1,12 @@
+DevHelp is an application to view books created in a conjunction with XML and
+HTML. This application is commonly used for viewing books about reference
+libraries, articles or tutorials.
+
+It provides the following features:
+
+ - Full indexing of books in XML
+ - HTML viewer (GtkHTML2)
+ - Search by function, struct, macro or whatever
+ - Auto completion
+ - Commandline search
+ - Emacs and Vim integration
diff --git a/devel/devhelp/Makefile b/devel/devhelp/Makefile
new file mode 100644
index 00000000000..2d729d1f45c
--- /dev/null
+++ b/devel/devhelp/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/25 16:04:06 xtraeme Exp $
+
+DISTNAME= devhelp-0.7
+CATEGORIES= devel x11
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/devhelp/0.7/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= benedikt.meurer@unix-ag.uni-siegen.de
+HOMEPAGE= http://www.imendio.com/projects/devhelp/
+COMMENT= Documentation viewer based on GNOME2
+
+DEPENDS+= gnome2-dirs>=1.2:../../misc/gnome2-dirs
+
+USE_BUILDLINK2= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+USE_PERL5= build
+USE_PKGLOCALEDIR= yes
+USE_X11= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-html-widget=gtkhtml2
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/devhelp
+ ${INSTALL_DATA} ${WRKSRC}/misc/devhelp.el ${WRKSRC}/misc/devhelp.vim \
+ ${PREFIX}/share/examples/devhelp
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/devhelp
+ cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS COPYING ChangeLog README TODO \
+ ${PREFIX}/share/doc/devhelp
+
+.include "../../devel/libgnomeui/buildlink2.mk"
+.include "../../www/libgtkhtml/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/devhelp/PLIST b/devel/devhelp/PLIST
new file mode 100644
index 00000000000..455724d14cb
--- /dev/null
+++ b/devel/devhelp/PLIST
@@ -0,0 +1,60 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/25 16:04:07 xtraeme Exp $
+bin/devhelp
+lib/devhelp/libdevhelp.a
+lib/devhelp/libdevhelp.la
+lib/devhelp/libdevhelp.so
+share/applications/devhelp.desktop
+share/devhelp/dtd/devhelp-1.dtd
+share/devhelp/images/book_closed.png
+share/devhelp/images/book_open.png
+share/devhelp/images/helpdoc.png
+share/devhelp/ui/window.ui
+share/doc/devhelp/AUTHORS
+share/doc/devhelp/COPYING
+share/doc/devhelp/ChangeLog
+share/doc/devhelp/README
+share/doc/devhelp/TODO
+share/examples/devhelp/devhelp.el
+share/examples/devhelp/devhelp.vim
+${PKGLOCALEDIR}/locale/am/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/az/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/be/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/da/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/el/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/he/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/hi/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/is/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/kn/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/lv/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/ms/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/no/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/sr@Latn/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/vi/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/devhelp.mo
+${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/devhelp.mo
+share/mime-info/devhelp.keys
+share/mime-info/devhelp.mime
+share/pixmaps/devhelp.png
+@dirrm share/examples/devhelp
+@dirrm share/doc/devhelp
+@dirrm share/devhelp/ui
+@dirrm share/devhelp/images
+@dirrm share/devhelp/dtd
+@dirrm share/devhelp
+@dirrm lib/devhelp
diff --git a/devel/devhelp/distinfo b/devel/devhelp/distinfo
new file mode 100644
index 00000000000..0c3efd766cc
--- /dev/null
+++ b/devel/devhelp/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/09/25 16:04:06 xtraeme Exp $
+
+SHA1 (devhelp-0.7.tar.bz2) = a5f89a6fc2a255b62b8277af3df491129d1c028e
+Size (devhelp-0.7.tar.bz2) = 371493 bytes
+SHA1 (patch-aa) = 84acab25f3263613a7de6a317b8bcbbe55f0f083
diff --git a/devel/devhelp/patches/patch-aa b/devel/devhelp/patches/patch-aa
new file mode 100644
index 00000000000..2252389a103
--- /dev/null
+++ b/devel/devhelp/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/09/25 16:04:07 xtraeme Exp $
+
+--- src/dh-base.c.orig 2003-06-28 23:16:34.000000000 +0200
++++ src/dh-base.c
+@@ -221,9 +221,12 @@ base_init_books (DhBase *base)
+ }
+
+ /* Insert the books from default gtk-doc install path. */
+- base_add_books (base, DATADIR "/gtk-doc/html");
+- base_add_books (base, "/usr/share/gtk-doc/html");
+- base_add_books (base, DATADIR "/devhelp/books");
++ dir = g_build_filename (DATADIR, "doc", "html", NULL);
++ base_add_books (base, dir);
++ g_free (dir);
++ dir = g_build_filename (g_get_home_dir (), ".devhelp2", "books", NULL);
++ base_add_books (base, dir);
++ g_free (dir);
+ dir = g_build_filename (g_get_home_dir (), ".devhelp", "books", NULL);
+ base_add_books (base, dir);
+ g_free (dir);