mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
add documancer 0.2.3
A programmer's documentation reader
This commit is contained in:
parent
350026a189
commit
d300548af3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99784
@ -61,6 +61,7 @@
|
||||
SUBDIR += dirtree
|
||||
SUBDIR += display
|
||||
SUBDIR += dnetc
|
||||
SUBDIR += documancer
|
||||
SUBDIR += dog
|
||||
SUBDIR += dotfile
|
||||
SUBDIR += dvorak7min
|
||||
|
30
misc/documancer/Makefile
Normal file
30
misc/documancer/Makefile
Normal file
@ -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>
|
1
misc/documancer/distinfo
Normal file
1
misc/documancer/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (documancer-0.2.3.tar.gz) = deb7bef07b0ac5fe959e604b9f971b62
|
61
misc/documancer/files/patch-Makefile.in
Normal file
61
misc/documancer/files/patch-Makefile.in
Normal file
@ -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
|
12
misc/documancer/pkg-descr
Normal file
12
misc/documancer/pkg-descr
Normal file
@ -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/
|
75
misc/documancer/pkg-plist
Normal file
75
misc/documancer/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user