aboutsummaryrefslogtreecommitdiff
path: root/misc/documancer
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-02-02 07:50:45 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-02-02 07:50:45 +0000
commitd300548af3e515f7d3edeebb48fa3bbdd927e8f0 (patch)
treeff7cbedd48900d2e9dba2e39fbdab0372f9af04d /misc/documancer
parent350026a189ea4dbae0d727ed6905c89c5d628b12 (diff)
downloadports-d300548af3e515f7d3edeebb48fa3bbdd927e8f0.tar.gz
ports-d300548af3e515f7d3edeebb48fa3bbdd927e8f0.zip
Notes
Diffstat (limited to 'misc/documancer')
-rw-r--r--misc/documancer/Makefile30
-rw-r--r--misc/documancer/distinfo1
-rw-r--r--misc/documancer/files/patch-Makefile.in61
-rw-r--r--misc/documancer/pkg-descr12
-rw-r--r--misc/documancer/pkg-plist75
5 files changed, 179 insertions, 0 deletions
diff --git a/misc/documancer/Makefile b/misc/documancer/Makefile
new file mode 100644
index 000000000000..f4ce5f96c28c
--- /dev/null
+++ b/misc/documancer/Makefile
@@ -0,0 +1,30 @@
+# ex:ts=8
+# Ports collection makefile for: documancer
+# Date created: Oct 27, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= documancer
+PORTVERSION= 0.2.3
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A programmer's documentation reader
+
+BUILD_DEPENDS= wget:${PORTSDIR}/ftp/wget \
+ swish-e:${PORTSDIR}/www/swish-e
+LIB_DEPENDS= wxmozilla_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxmozilla
+RUN_DEPENDS= ${BUILD_DEPENDS} \
+ ${PYTHON_SITELIBDIR}/wxPython/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython
+
+USE_PYTHON= 2.3
+USE_PERL5= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --libdir=${PREFIX}/share
+MAKE_ENV= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR}
+
+.include <bsd.port.mk>
diff --git a/misc/documancer/distinfo b/misc/documancer/distinfo
new file mode 100644
index 000000000000..29212116aa1b
--- /dev/null
+++ b/misc/documancer/distinfo
@@ -0,0 +1 @@
+MD5 (documancer-0.2.3.tar.gz) = deb7bef07b0ac5fe959e604b9f971b62
diff --git a/misc/documancer/files/patch-Makefile.in b/misc/documancer/files/patch-Makefile.in
new file mode 100644
index 000000000000..2346dd551f6e
--- /dev/null
+++ b/misc/documancer/files/patch-Makefile.in
@@ -0,0 +1,61 @@
+--- Makefile.in.orig Sat Jan 31 03:56:14 2004
++++ Makefile.in Mon Feb 2 15:41:16 2004
+@@ -57,34 +57,37 @@
+ $(INSTALL_DIR) $(DESTDIR)$(bindir)
+ $(INSTALL_DIR) $(DESTDIR)$(pkglibdir)
+ $(INSTALL_DIR) $(DESTDIR)$(pkglibdir)/data
+- $(INSTALL_DIR) $(DESTDIR)$(pkglibdir)/gui
++ $(INSTALL_DIR) $(DESTDIR)$(PYTHON_SITELIBDIR)/documancer/gui
+ $(INSTALL_DIR) $(DESTDIR)$(pkglibdir)/helpers
+ $(INSTALL_DIR) $(DESTDIR)$(pkglibdir)/helpers/man2html
+ $(INSTALL_DIR) $(DESTDIR)$(pkglibdir)/helpers/info2html
+- $(INSTALL_DIR) $(DESTDIR)$(pkglibdir)/providers
+- $(INSTALL_DIR) $(DESTDIR)$(pkglibdir)/providers/html
+- $(INSTALL_DIR) $(DESTDIR)$(pkglibdir)/providers/info
+- $(INSTALL_DIR) $(DESTDIR)$(pkglibdir)/providers/man
+- $(INSTALL_DIR) $(DESTDIR)$(pkglibdir)/providers/pythondoc
++ $(INSTALL_DIR) $(DESTDIR)$(PYTHON_SITELIBDIR)/documancer/providers
++ $(INSTALL_DIR) $(DESTDIR)$(PYTHON_SITELIBDIR)/documancer/providers/html
++ $(INSTALL_DIR) $(DESTDIR)$(PYTHON_SITELIBDIR)/documancer/providers/info
++ $(INSTALL_DIR) $(DESTDIR)$(PYTHON_SITELIBDIR)/documancer/providers/man
++ $(INSTALL_DIR) $(DESTDIR)$(PYTHON_SITELIBDIR)/documancer/providers/pythondoc
+
+ # Install man2html:
+ $(INSTALL_PROG) src/helpers/man2html/man2html $(DESTDIR)$(pkglibdir)/helpers/man2html
+ $(INSTALL_PROG) $(srcdir)/src/helpers/man2html/man2html.cgi $(DESTDIR)$(pkglibdir)/helpers/man2html
+- $(INSTALL_DATA) $(srcdir)/src/helpers/man2html/{index.html,man2html.css} $(DESTDIR)$(pkglibdir)/helpers/man2html
++ $(INSTALL_DATA) $(srcdir)/src/helpers/man2html/index.html $(DESTDIR)$(pkglibdir)/helpers/man2html
++ $(INSTALL_DATA) $(srcdir)/src/helpers/man2html/man2html.css $(DESTDIR)$(pkglibdir)/helpers/man2html
+
+ # Install man2info:
+- $(INSTALL_PROG) $(srcdir)/src/helpers/info2html/{info2html,infocat} $(DESTDIR)$(pkglibdir)/helpers/info2html
++ $(INSTALL_PROG) $(srcdir)/src/helpers/info2html/info2html $(DESTDIR)$(pkglibdir)/helpers/info2html
++ $(INSTALL_PROG) $(srcdir)/src/helpers/info2html/infocat $(DESTDIR)$(pkglibdir)/helpers/info2html
+ $(INSTALL_DATA) $(srcdir)/src/helpers/info2html/info2html.conf $(DESTDIR)$(pkglibdir)/helpers/info2html
+
+ # Install the app:
+- (cd $(srcdir)/src ; for i in `find -name '*.py'` ; do $(INSTALL_DATA) $$i $(DESTDIR)$(pkglibdir)/`dirname $$i` ; done)
++ (cd $(srcdir)/src ; for i in `find * -name '*.py'` ; do $(INSTALL_DATA) $$i $(DESTDIR)$(PYTHON_SITELIBDIR)/documancer/`dirname $$i` ; done)
+
+ # Rewrite python location in documancer.py:
+- sed -e 's,#!/usr/bin/env python,#!/usr/bin/env $(PYTHON),g' \
+- $(srcdir)/src/documancer.py >$(DESTDIR)$(pkglibdir)/documancer.py
++# sed -e 's,#!/usr/bin/env python,#!/usr/bin/env $(PYTHON),g' \
++# $(srcdir)/src/documancer.py >$(DESTDIR)$(pkglibdir)/documancer.py
++ $(INSTALL_DATA) $(srcdir)/src/documancer.py $(DESTDIR)$(PYTHON_SITELIBDIR)/documancer
+
+
+- chmod +x $(DESTDIR)$(pkglibdir)/documancer.py
++ chmod +x $(DESTDIR)$(PYTHON_SITELIBDIR)/documancer/documancer.py
+
+ # Install data files:
+ $(INSTALL_DATA) $(srcdir)/COPYING $(srcdir)/NEWS $(DESTDIR)$(pkglibdir)/data
+@@ -92,7 +95,7 @@
+
+
+ # Install symlink into bindir:
+- ln -sf $(pkglibdir)/documancer.py $(DESTDIR)$(bindir)/documancer
++ ln -sf $(PYTHON_SITELIBDIR)/documancer/documancer.py $(DESTDIR)$(bindir)/documancer
+
+
+ dist: all
diff --git a/misc/documancer/pkg-descr b/misc/documancer/pkg-descr
new file mode 100644
index 000000000000..fabc63a51328
--- /dev/null
+++ b/misc/documancer/pkg-descr
@@ -0,0 +1,12 @@
+Documancer is programmer's documentation reader for Unix and Windows which has
+very fast fulltext searching. It has several advantages over using web browser
+or specialized format-specific viewers (such as info):
+ * unified access to all documentation formats
+ * the GUI is better suited for documentation reading that generic web
+ browser
+ * documancer can create fulltext index for the docs and enables the user
+ to quickly search it
+ * bookmarks and indexes are manual-specific, which reduces false matches
+ and chaos in bookmarks
+
+WWW: http://documancer.sourceforge.net/
diff --git a/misc/documancer/pkg-plist b/misc/documancer/pkg-plist
new file mode 100644
index 000000000000..519e323d2a68
--- /dev/null
+++ b/misc/documancer/pkg-plist
@@ -0,0 +1,75 @@
+bin/documancer
+%%DATADIR%%/data/COPYING
+%%DATADIR%%/data/NEWS
+%%DATADIR%%/data/aboutbox.html
+%%DATADIR%%/data/add.png
+%%DATADIR%%/data/busy_indexing.png
+%%DATADIR%%/data/documancer-16.png
+%%DATADIR%%/data/documancer-22.png
+%%DATADIR%%/data/documancer-32.png
+%%DATADIR%%/data/documancer.ico
+%%DATADIR%%/data/documancer.png
+%%DATADIR%%/data/fullscreen.png
+%%DATADIR%%/data/go_home.png
+%%DATADIR%%/data/go_left.png
+%%DATADIR%%/data/go_right.png
+%%DATADIR%%/data/info2html_index.png
+%%DATADIR%%/data/info2html_left.png
+%%DATADIR%%/data/info2html_right.png
+%%DATADIR%%/data/info2html_up.png
+%%DATADIR%%/data/mozilla.png
+%%DATADIR%%/data/next_match.png
+%%DATADIR%%/data/osi-certified.png
+%%DATADIR%%/data/powered-by-swish-e.png
+%%DATADIR%%/data/prev_match.png
+%%DATADIR%%/data/properties.png
+%%DATADIR%%/data/remove.png
+%%DATADIR%%/data/search.png
+%%DATADIR%%/data/sourceforge.png
+%%DATADIR%%/data/wxpython.png
+%%DATADIR%%/data/wxwin.png
+%%DATADIR%%/helpers/info2html/info2html
+%%DATADIR%%/helpers/info2html/info2html.conf
+%%DATADIR%%/helpers/info2html/infocat
+%%DATADIR%%/helpers/man2html/index.html
+%%DATADIR%%/helpers/man2html/man2html
+%%DATADIR%%/helpers/man2html/man2html.cgi
+%%DATADIR%%/helpers/man2html/man2html.css
+@dirrm %%DATADIR%%/helpers/man2html
+@dirrm %%DATADIR%%/helpers/info2html
+@dirrm %%DATADIR%%/helpers
+@dirrm %%DATADIR%%/data
+@dirrm %%DATADIR%%
+%%PYTHON_SITELIBDIR%%/documancer/book.py
+%%PYTHON_SITELIBDIR%%/documancer/documancer.py
+%%PYTHON_SITELIBDIR%%/documancer/gui/AboutBox.py
+%%PYTHON_SITELIBDIR%%/documancer/gui/BooksManagerDialog.py
+%%PYTHON_SITELIBDIR%%/documancer/gui/BusyIndicator.py
+%%PYTHON_SITELIBDIR%%/documancer/gui/HtmlBrowser.py
+%%PYTHON_SITELIBDIR%%/documancer/gui/HtmlBrowser_activex_ie.py
+%%PYTHON_SITELIBDIR%%/documancer/gui/HtmlBrowser_activex_mozilla.py
+%%PYTHON_SITELIBDIR%%/documancer/gui/MainFrame.py
+%%PYTHON_SITELIBDIR%%/documancer/gui/__init__.py
+%%PYTHON_SITELIBDIR%%/documancer/gui/app.py
+%%PYTHON_SITELIBDIR%%/documancer/indexer.py
+%%PYTHON_SITELIBDIR%%/documancer/providers/__init__.py
+%%PYTHON_SITELIBDIR%%/documancer/providers/html/__init__.py
+%%PYTHON_SITELIBDIR%%/documancer/providers/html/confgui.py
+%%PYTHON_SITELIBDIR%%/documancer/providers/html/provider.py
+%%PYTHON_SITELIBDIR%%/documancer/providers/info/__init__.py
+%%PYTHON_SITELIBDIR%%/documancer/providers/info/confgui.py
+%%PYTHON_SITELIBDIR%%/documancer/providers/info/provider.py
+%%PYTHON_SITELIBDIR%%/documancer/providers/man/__init__.py
+%%PYTHON_SITELIBDIR%%/documancer/providers/man/confgui.py
+%%PYTHON_SITELIBDIR%%/documancer/providers/man/provider.py
+%%PYTHON_SITELIBDIR%%/documancer/providers/pythondoc/__init__.py
+%%PYTHON_SITELIBDIR%%/documancer/providers/pythondoc/provider.py
+%%PYTHON_SITELIBDIR%%/documancer/server.py
+%%PYTHON_SITELIBDIR%%/documancer/utils.py
+@dirrm %%PYTHON_SITELIBDIR%%/documancer/providers/pythondoc
+@dirrm %%PYTHON_SITELIBDIR%%/documancer/providers/man
+@dirrm %%PYTHON_SITELIBDIR%%/documancer/providers/info
+@dirrm %%PYTHON_SITELIBDIR%%/documancer/providers/html
+@dirrm %%PYTHON_SITELIBDIR%%/documancer/providers
+@dirrm %%PYTHON_SITELIBDIR%%/documancer/gui
+@dirrm %%PYTHON_SITELIBDIR%%/documancer