diff options
author | markp <markp@FreeBSD.org> | 2001-10-05 22:55:02 +0800 |
---|---|---|
committer | markp <markp@FreeBSD.org> | 2001-10-05 22:55:02 +0800 |
commit | dab9e795a227b0aec76da69a04728f0557287742 (patch) | |
tree | b601e26f7f86530b6a8860c07b15cbd48577a769 /palm/plucker | |
parent | a7a2169a37ddc94d4fda49354b55608096f0dff5 (diff) | |
download | freebsd-ports-gnome-dab9e795a227b0aec76da69a04728f0557287742.tar.gz freebsd-ports-gnome-dab9e795a227b0aec76da69a04728f0557287742.tar.zst freebsd-ports-gnome-dab9e795a227b0aec76da69a04728f0557287742.zip |
Add plucker 1.1.13, an offline HTML viewer for PalmOS devices.
PR: 27935
Submitted by: Jose Marques <noway@nohow.demon.co.uk>
Diffstat (limited to 'palm/plucker')
-rw-r--r-- | palm/plucker/Makefile | 77 | ||||
-rw-r--r-- | palm/plucker/distinfo | 1 | ||||
-rw-r--r-- | palm/plucker/files/patch-unix-setup.py.in | 32 | ||||
-rw-r--r-- | palm/plucker/pkg-comment | 1 | ||||
-rw-r--r-- | palm/plucker/pkg-descr | 7 | ||||
-rw-r--r-- | palm/plucker/pkg-plist | 194 |
6 files changed, 312 insertions, 0 deletions
diff --git a/palm/plucker/Makefile b/palm/plucker/Makefile new file mode 100644 index 000000000000..77ad2812ee57 --- /dev/null +++ b/palm/plucker/Makefile @@ -0,0 +1,77 @@ +# New ports collection makefile for: plucker +# Date created: 30th May 2001 +# Whom: Jose Marques <noway@nohow.demon.co.uk> +# +# $FreeBSD$ +# + +PORTNAME= plucker +PORTVERSION= 1.1.13 +CATEGORIES= palm www +MASTER_SITES= http://plkr.org/download/plucker-1.1/ +DISTNAME= ${PORTNAME}_bin-${PORTVERSION} + +MAINTAINER= noway@nohow.demon.co.uk + +BUILD_DEPENDS= ppmtoTbmp:${PORTSDIR}/palm/ppmtoTbmp \ + convert:${PORTSDIR}/graphics/ImageMagick \ + ppmtogif:${PORTSDIR}/graphics/netpbm \ + cjpeg:${PORTSDIR}/graphics/jpeg \ + ${LOCALBASE}/pilot/bin/pilot-xfer:${PORTSDIR}/palm/pilot-link +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_PYTHON= yes +USE_BZIP= yes +PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +INSTALL_TARGET= install-prc-files install-data install-pyplucker +HAS_CONFIGURE= yes +CONFIGURE_ARGS+= --with-docdir=${DOCSDIR} +MAN1= pluck-comics.1 plucker-build.1 plucker-decode.1 \ + plucker-dump.1 plucker-setup.1 +FIND?= find + +post-build: + ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ + ${WRKSRC}/parser/python/PyPlucker + ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ + ${WRKSRC}/parser/python/PyPlucker + +do-install: + ${MKDIR} ${PYTHON_SITELIBDIR}/PyPlucker/helper + cd ${WRKSRC}/parser/python ; ${FIND} PyPlucker \ + \( -name "*.py" -or -name "*.py?" \) \ + -exec ${INSTALL_DATA} {} ${PYTHON_SITELIBDIR}/{} \; +.for F in Spider.py PluckerDocs.py Decode.py + ${INSTALL_SCRIPT} ${WRKSRC}/parser/python/PyPlucker/${F} \ + ${PYTHON_SITELIBDIR}/PyPlucker +.endfor + ${INSTALL_SCRIPT} ${WRKSRC}/unix/setup.py ${PREFIX}/bin/plucker-setup + ${INSTALL_SCRIPT} ${WRKSRC}/tools/pluck-comics/pluck-comics.py \ + ${PREFIX}/bin/pluck-comics + ${LN} -sf ${PYTHON_SITELIBDIR}/PyPlucker/Spider.py \ + ${PREFIX}/bin/plucker-build + ${LN} -sf ${PYTHON_SITELIBDIR}/PyPlucker/PluckerDocs.py \ + ${PREFIX}/bin/plucker-decode + ${LN} -sf ${PYTHON_SITELIBDIR}/PyPlucker/Decode.py \ + ${PREFIX}/bin/plucker-dump + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/docs/PluckerUserGuide.pdb \ + ${WRKSRC}/viewer/*.prc ${WRKSRC}/viewer/ZLib/*.prc ${DATADIR} + ${MKDIR} ${PREFIX}/etc/plucker + ${INSTALL_DATA} ${WRKSRC}/parser/defaults/exclusionlist.txt \ + ${PREFIX}/etc/plucker/exclusionlist.txt.sample + ${INSTALL_DATA} ${WRKSRC}/parser/defaults/home.html \ + ${PREFIX}/etc/plucker/home.html.sample + ${INSTALL_DATA} ${WRKSRC}/parser/defaults/pluckerrc.sample \ + ${PREFIX}/etc/plucker +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR}/manual +.for F in ${MAN1} + ${INSTALL_MAN} ${WRKSRC}/docs/${F} ${MAN1PREFIX}/man/man1 +.endfor + ${INSTALL_DATA} ${WRKSRC}/FAQ ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/Plucker_Doc/* ${DOCSDIR}/manual +.endif + +.include <bsd.port.mk> diff --git a/palm/plucker/distinfo b/palm/plucker/distinfo new file mode 100644 index 000000000000..b5e6cf766689 --- /dev/null +++ b/palm/plucker/distinfo @@ -0,0 +1 @@ +MD5 (plucker_bin-1.1.13.tar.gz) = 8d5bc2852aa5297c04de4222779c780d diff --git a/palm/plucker/files/patch-unix-setup.py.in b/palm/plucker/files/patch-unix-setup.py.in new file mode 100644 index 000000000000..1ed46c4a0bb2 --- /dev/null +++ b/palm/plucker/files/patch-unix-setup.py.in @@ -0,0 +1,32 @@ +--- unix/setup.py.in.orig Fri Sep 14 03:34:24 2001 ++++ unix/setup.py.in Fri Oct 5 23:57:20 2001 +@@ -14,8 +14,9 @@ + + VERSION="@VERSION@" + +-CONFIGDIR=os.path.join("@PLUCKERDIR@","config") +-PALMDIR=os.path.join("@PLUCKERDIR@", "palm") ++CONFIGDIR=os.path.join("@prefix@","etc", "plucker") ++PALMDIR=os.path.join("@prefix@", "share", "plucker") ++PILOTXFER=os.path.join("@prefix@", "pilot", "bin", "pilot-xfer") + + if os.environ.has_key ('HOME'): + USERDIR = os.environ["HOME"] +@@ -99,7 +100,7 @@ + if get_answer("Install the User's Guide, too", 'y'): + guide = os.path.join(PALMDIR, "PluckerUserGuide.pdb") + +- os.system("pilot-xfer -i %s %s %s" % (viewer, zlib, guide)) ++ os.system(PILOTXFER + " -i %s %s %s" % (viewer, zlib, guide)) + + + # +@@ -131,7 +132,7 @@ + + install_config_files() + +-if not os.system('pilot-xfer > /dev/null 2>&1'): ++if not os.system(PILOTXFER + ' > /dev/null 2>&1'): + install_viewer() + else: + print "\nThe program 'pilot-xfer' is missing so the Palm applications cannot be installed. You'll find them in %s." % PALMDIR diff --git a/palm/plucker/pkg-comment b/palm/plucker/pkg-comment new file mode 100644 index 000000000000..123c474d2646 --- /dev/null +++ b/palm/plucker/pkg-comment @@ -0,0 +1 @@ +An offline HTML viewer for PalmOS devices diff --git a/palm/plucker/pkg-descr b/palm/plucker/pkg-descr new file mode 100644 index 000000000000..785fa30168cc --- /dev/null +++ b/palm/plucker/pkg-descr @@ -0,0 +1,7 @@ +Plucker is an offline HTML viewer for PalmOS devices packaged with UNIX and +Linux conduits. An included set of scripts will spider HTML pages which you +specify to a supplied depth, and parse them on your desktop machine. Those +webpages are processed there and transferred to the Palm for viewing by +Plucker. + +WWW: http://plkr.org/ diff --git a/palm/plucker/pkg-plist b/palm/plucker/pkg-plist new file mode 100644 index 000000000000..f192e42cb0eb --- /dev/null +++ b/palm/plucker/pkg-plist @@ -0,0 +1,194 @@ +bin/pluck-comics +bin/plucker-build +bin/plucker-dump +bin/plucker-decode +bin/plucker-setup +%%PYTHON_SITELIBDIR%%/PyPlucker/AliasList.py +%%PYTHON_SITELIBDIR%%/PyPlucker/AliasList.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/AliasList.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/ConfigFiles.py +%%PYTHON_SITELIBDIR%%/PyPlucker/ConfigFiles.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/ConfigFiles.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/Decode.py +%%PYTHON_SITELIBDIR%%/PyPlucker/Decode.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/Decode.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/ExclusionList.py +%%PYTHON_SITELIBDIR%%/PyPlucker/ExclusionList.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/ExclusionList.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/ImageParser.py +%%PYTHON_SITELIBDIR%%/PyPlucker/ImageParser.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/ImageParser.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/PalmImagePlugin.py +%%PYTHON_SITELIBDIR%%/PyPlucker/PalmImagePlugin.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/PalmImagePlugin.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/Parser.py +%%PYTHON_SITELIBDIR%%/PyPlucker/Parser.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/Parser.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/PluckerDocs.py +%%PYTHON_SITELIBDIR%%/PyPlucker/PluckerDocs.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/PluckerDocs.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/PluckerLinks.py +%%PYTHON_SITELIBDIR%%/PyPlucker/PluckerLinks.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/PluckerLinks.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/Retriever.py +%%PYTHON_SITELIBDIR%%/PyPlucker/Retriever.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/Retriever.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/Spider.py +%%PYTHON_SITELIBDIR%%/PyPlucker/Spider.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/Spider.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/TextParser.py +%%PYTHON_SITELIBDIR%%/PyPlucker/TextParser.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/TextParser.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/Url.py +%%PYTHON_SITELIBDIR%%/PyPlucker/Url.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/Url.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/Writer.py +%%PYTHON_SITELIBDIR%%/PyPlucker/Writer.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/Writer.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/__init__.py +%%PYTHON_SITELIBDIR%%/PyPlucker/__init__.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/__init__.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/PQAAppInfo.py +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/PQAAppInfo.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/PQAAppInfo.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/__init__.py +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/__init__.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/__init__.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/dict.py +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/dict.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/dict.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/doc_compress.py +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/doc_compress.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/doc_compress.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/gettext.py +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/gettext.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/gettext.pyo +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/prc.py +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/prc.pyc +%%PYTHON_SITELIBDIR%%/PyPlucker/helper/prc.pyo +%%PORTDOCS%%share/doc/plucker/FAQ +%%PORTDOCS%%share/doc/plucker/manual/Autoscroll.gif +%%PORTDOCS%%share/doc/plucker/manual/Bookmarks.gif +%%PORTDOCS%%share/doc/plucker/manual/Category.gif +%%PORTDOCS%%share/doc/plucker/manual/CopyURL.gif +%%PORTDOCS%%share/doc/plucker/manual/DBMgr.gif +%%PORTDOCS%%share/doc/plucker/manual/EditBookmarks.gif +%%PORTDOCS%%share/doc/plucker/manual/Find.gif +%%PORTDOCS%%share/doc/plucker/manual/Mail.gif +%%PORTDOCS%%share/doc/plucker/manual/MainScreen.gif +%%PORTDOCS%%share/doc/plucker/manual/Plucker_Doc.css +%%PORTDOCS%%share/doc/plucker/manual/Plucker_Doc.html +%%PORTDOCS%%share/doc/plucker/manual/Prefs.gif +%%PORTDOCS%%share/doc/plucker/manual/Result.gif +%%PORTDOCS%%share/doc/plucker/manual/Start.gif +%%PORTDOCS%%share/doc/plucker/manual/TapAction.gif +%%PORTDOCS%%share/doc/plucker/manual/chicken-head.gif +%%PORTDOCS%%share/doc/plucker/manual/contents.png +%%PORTDOCS%%share/doc/plucker/manual/index.html +%%PORTDOCS%%share/doc/plucker/manual/index.png +%%PORTDOCS%%share/doc/plucker/manual/next.png +%%PORTDOCS%%share/doc/plucker/manual/next_g.png +%%PORTDOCS%%share/doc/plucker/manual/node1.html +%%PORTDOCS%%share/doc/plucker/manual/node10.html +%%PORTDOCS%%share/doc/plucker/manual/node11.html +%%PORTDOCS%%share/doc/plucker/manual/node12.html +%%PORTDOCS%%share/doc/plucker/manual/node13.html +%%PORTDOCS%%share/doc/plucker/manual/node14.html +%%PORTDOCS%%share/doc/plucker/manual/node15.html +%%PORTDOCS%%share/doc/plucker/manual/node16.html +%%PORTDOCS%%share/doc/plucker/manual/node17.html +%%PORTDOCS%%share/doc/plucker/manual/node18.html +%%PORTDOCS%%share/doc/plucker/manual/node19.html +%%PORTDOCS%%share/doc/plucker/manual/node2.html +%%PORTDOCS%%share/doc/plucker/manual/node20.html +%%PORTDOCS%%share/doc/plucker/manual/node21.html +%%PORTDOCS%%share/doc/plucker/manual/node22.html +%%PORTDOCS%%share/doc/plucker/manual/node23.html +%%PORTDOCS%%share/doc/plucker/manual/node24.html +%%PORTDOCS%%share/doc/plucker/manual/node25.html +%%PORTDOCS%%share/doc/plucker/manual/node26.html +%%PORTDOCS%%share/doc/plucker/manual/node27.html +%%PORTDOCS%%share/doc/plucker/manual/node28.html +%%PORTDOCS%%share/doc/plucker/manual/node29.html +%%PORTDOCS%%share/doc/plucker/manual/node3.html +%%PORTDOCS%%share/doc/plucker/manual/node30.html +%%PORTDOCS%%share/doc/plucker/manual/node31.html +%%PORTDOCS%%share/doc/plucker/manual/node32.html +%%PORTDOCS%%share/doc/plucker/manual/node33.html +%%PORTDOCS%%share/doc/plucker/manual/node34.html +%%PORTDOCS%%share/doc/plucker/manual/node35.html +%%PORTDOCS%%share/doc/plucker/manual/node36.html +%%PORTDOCS%%share/doc/plucker/manual/node37.html +%%PORTDOCS%%share/doc/plucker/manual/node38.html +%%PORTDOCS%%share/doc/plucker/manual/node39.html +%%PORTDOCS%%share/doc/plucker/manual/node4.html +%%PORTDOCS%%share/doc/plucker/manual/node40.html +%%PORTDOCS%%share/doc/plucker/manual/node41.html +%%PORTDOCS%%share/doc/plucker/manual/node42.html +%%PORTDOCS%%share/doc/plucker/manual/node43.html +%%PORTDOCS%%share/doc/plucker/manual/node44.html +%%PORTDOCS%%share/doc/plucker/manual/node45.html +%%PORTDOCS%%share/doc/plucker/manual/node46.html +%%PORTDOCS%%share/doc/plucker/manual/node47.html +%%PORTDOCS%%share/doc/plucker/manual/node48.html +%%PORTDOCS%%share/doc/plucker/manual/node49.html +%%PORTDOCS%%share/doc/plucker/manual/node5.html +%%PORTDOCS%%share/doc/plucker/manual/node50.html +%%PORTDOCS%%share/doc/plucker/manual/node51.html +%%PORTDOCS%%share/doc/plucker/manual/node52.html +%%PORTDOCS%%share/doc/plucker/manual/node53.html +%%PORTDOCS%%share/doc/plucker/manual/node54.html +%%PORTDOCS%%share/doc/plucker/manual/node55.html +%%PORTDOCS%%share/doc/plucker/manual/node56.html +%%PORTDOCS%%share/doc/plucker/manual/node57.html +%%PORTDOCS%%share/doc/plucker/manual/node58.html +%%PORTDOCS%%share/doc/plucker/manual/node59.html +%%PORTDOCS%%share/doc/plucker/manual/node6.html +%%PORTDOCS%%share/doc/plucker/manual/node60.html +%%PORTDOCS%%share/doc/plucker/manual/node61.html +%%PORTDOCS%%share/doc/plucker/manual/node62.html +%%PORTDOCS%%share/doc/plucker/manual/node63.html +%%PORTDOCS%%share/doc/plucker/manual/node64.html +%%PORTDOCS%%share/doc/plucker/manual/node65.html +%%PORTDOCS%%share/doc/plucker/manual/node66.html +%%PORTDOCS%%share/doc/plucker/manual/node67.html +%%PORTDOCS%%share/doc/plucker/manual/node68.html +%%PORTDOCS%%share/doc/plucker/manual/node69.html +%%PORTDOCS%%share/doc/plucker/manual/node7.html +%%PORTDOCS%%share/doc/plucker/manual/node70.html +%%PORTDOCS%%share/doc/plucker/manual/node71.html +%%PORTDOCS%%share/doc/plucker/manual/node72.html +%%PORTDOCS%%share/doc/plucker/manual/node73.html +%%PORTDOCS%%share/doc/plucker/manual/node74.html +%%PORTDOCS%%share/doc/plucker/manual/node75.html +%%PORTDOCS%%share/doc/plucker/manual/node76.html +%%PORTDOCS%%share/doc/plucker/manual/node77.html +%%PORTDOCS%%share/doc/plucker/manual/node78.html +%%PORTDOCS%%share/doc/plucker/manual/node79.html +%%PORTDOCS%%share/doc/plucker/manual/node8.html +%%PORTDOCS%%share/doc/plucker/manual/node9.html +%%PORTDOCS%%share/doc/plucker/manual/prev.png +%%PORTDOCS%%share/doc/plucker/manual/prev_g.png +%%PORTDOCS%%share/doc/plucker/manual/up.png +%%PORTDOCS%%share/doc/plucker/manual/up_g.png +etc/plucker/exclusionlist.txt.sample +etc/plucker/home.html.sample +etc/plucker/pluckerrc.sample +share/plucker/PluckerUserGuide.pdb +share/plucker/SysZLib.prc +share/plucker/viewer_cs.prc +share/plucker/viewer_da.prc +share/plucker/viewer_de.prc +share/plucker/viewer_en.prc +share/plucker/viewer_fo.prc +share/plucker/viewer_fr.prc +share/plucker/viewer_it.prc +share/plucker/viewer_ja.prc +share/plucker/viewer_pl.prc +share/plucker/viewer_zh_CN.prc +@dirrm %%PYTHON_SITELIBDIR%%/PyPlucker/helper +@dirrm %%PYTHON_SITELIBDIR%%/PyPlucker +@dirrm etc/plucker +%%PORTDOCS%%@dirrm share/doc/plucker/manual +%%PORTDOCS%%@dirrm share/doc/plucker +@dirrm share/plucker |