aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormph <mph@FreeBSD.org>1998-05-05 09:00:22 +0800
committermph <mph@FreeBSD.org>1998-05-05 09:00:22 +0800
commit261577cbd6bdb5b58772e1974c4995fc86ab185b (patch)
treeda72257cd8aaeffc217f63dfdfcc7c9b86e248a3 /textproc
parentee4d4ab949319139cc3db9fca8af22622b36e2cc (diff)
downloadfreebsd-ports-gnome-261577cbd6bdb5b58772e1974c4995fc86ab185b.tar.gz
freebsd-ports-gnome-261577cbd6bdb5b58772e1974c4995fc86ab185b.tar.zst
freebsd-ports-gnome-261577cbd6bdb5b58772e1974c4995fc86ab185b.zip
Import of latex2html, which turns LaTeX into HTML
PR: 6502 Submitted by: Brett Taylor <brett@peloton.physics.montana.edu>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/latex2html/Makefile66
-rw-r--r--textproc/latex2html/distinfo1
-rw-r--r--textproc/latex2html/files/local.pm28
-rw-r--r--textproc/latex2html/pkg-comment1
-rw-r--r--textproc/latex2html/pkg-descr6
-rw-r--r--textproc/latex2html/pkg-plist282
6 files changed, 384 insertions, 0 deletions
diff --git a/textproc/latex2html/Makefile b/textproc/latex2html/Makefile
new file mode 100644
index 000000000000..a820207765ca
--- /dev/null
+++ b/textproc/latex2html/Makefile
@@ -0,0 +1,66 @@
+# New ports collection makefile for: latex2html
+# Version required: 98.1
+# Date created: 3 May 1998
+# Whom: brett@peloton.physics.montana.edu
+#
+# $Id:$
+#
+
+DISTNAME= latex2html-98.1p1
+CATEGORIES= textproc
+MASTER_SITES= http://www-dsed.llnl.gov/files/programs/unix/latex2html/sources/ \
+ ftp://ftp.mpn.com/pub/nikos/latex2html-mirror/sources/
+
+MAINTAINER= brett@peloton.physics.montana.edu
+
+RUN_DEPENDS= ${PREFIX}/bin/perl:${PORTSDIR}/lang/perl5 \
+ ${PREFIX}/bin/latex:${PORTSDIR}/print/latex \
+ ${PREFIX}/bin/dvips:${PORTSDIR}/print/dvips \
+ ${PREFIX}/bin/gs:${PORTSDIR}/print/ghostscript5 \
+ ${X11BASE}/bin/anytopnm:${PORTSDIR}/graphics/netpbm
+
+WRKSRC= ${WRKDIR}/latex2html
+
+NO_BUILD= yes
+IS_INTERACTIVE= yes
+NO_PACKAGE= An interrogation follows installation
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/latex2html
+ @${INSTALL_DATA} ${FILESDIR}/local.pm ${PREFIX}/share/latex2html
+ @ for dir in makeseg IndicTeX-HTML cweb2html docs example icons.gif icons.png styles tests versions; do \
+ ${CP} -R ${WRKSRC}/$$dir ${PREFIX}/share/latex2html; \
+ done
+ @ for prog in Override.pm configure-pstoimg install-test latex2html makemap pstoimg\
+ pstoimg_nopipes texexpand; do \
+ ${INSTALL_SCRIPT} ${WRKSRC}/$$prog ${PREFIX}/share/latex2html; \
+ done
+ @ for file in FAQ MANIFEST README README.dvips dot.latex2html-init latex2html.config ; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/share/latex2html; \
+ done
+ @${MKDIR} ${PREFIX}/share/texmf/tex/latex/latex2html
+ @${INSTALL_DATA} ${WRKSRC}/texinputs/* ${PREFIX}/share/texmf/tex/latex/latex2html
+ @${INSTALL_SCRIPT} ${WRKSRC}/latex2html ${PREFIX}/bin
+
+post-install:
+ @cd ${PREFIX}/share/latex2html && env LATEX2HTMLDIR=${PREFIX}/share/latex2html ${PREFIX}/bin/perl ${PREFIX}/share/latex2html/install-test
+ @${ECHO_MSG} "********************************************************"
+ @${ECHO_MSG} "Latex2html has now been installed with a very basic"
+ @${ECHO_MSG} "configuration and HTML specific style files have been"
+ @${ECHO_MSG} "moved to ${PREFIX}/share/texmf/tex/latex/latex2html."
+ @${ECHO_MSG} "You will need to make sure that latex can now see these"
+ @${ECHO_MSG} "style files, for instance by running texhash if you are"
+ @${ECHO_MSG} "using teTeX. Due to the differences in how web "
+ @${ECHO_MSG} "servers are set up, it's probably a good idea to read"
+ @${ECHO_MSG} "through the configuration, which can be found in "
+ @${ECHO_MSG} "${PREFIX}/local/share/latex2html/latex2html.config"
+ @${ECHO_MSG} "and adjusting things to set up system wide preferences."
+ @${ECHO_MSG} "You may then want to re-run install-test found in the"
+ @${ECHO_MSG} "same directory and copy the new latex2html script"
+ @${ECHO_MSG} "to ${PREFIX}/local/bin. Individual user configurations"
+ @${ECHO_MSG} "can be accomplished by placing a copy of"
+ @${ECHO_MSG} "${PREFIX}/local/share/latex2html/dot.latex2html-init"
+ @${ECHO_MSG} "in the user's home directory and editing to preference."
+ @${ECHO_MSG} "********************************************************"
+
+.include <bsd.port.mk>
diff --git a/textproc/latex2html/distinfo b/textproc/latex2html/distinfo
new file mode 100644
index 000000000000..77d78778ebe6
--- /dev/null
+++ b/textproc/latex2html/distinfo
@@ -0,0 +1 @@
+MD5 (latex2html-98.1p1.tar.gz) = b424fa1e63a5fe7f19365a9050742292
diff --git a/textproc/latex2html/files/local.pm b/textproc/latex2html/files/local.pm
new file mode 100644
index 000000000000..61d170a36173
--- /dev/null
+++ b/textproc/latex2html/files/local.pm
@@ -0,0 +1,28 @@
+#################################################################
+# local.pm
+#
+# Local Configuration for LaTeX2HTML
+#
+# This file is created automatically. Do not edit!
+#
+#################################################################
+
+package main;
+
+### start pstoimg configuration ###
+$GS_LIB = '/usr/local/share/ghostscript/5.0'; # Inserted by configure-pstoimg
+$PNMCAT = '/usr/X11R6/bin/pnmcat'; # Inserted by configure-pstoimg
+$PPMQUANT = '/usr/X11R6/bin/ppmquant'; # Inserted by configure-pstoimg
+$PNMFLIP = '/usr/X11R6/bin/pnmflip'; # Inserted by configure-pstoimg
+$PPMTOGIF = '/usr/X11R6/bin/ppmtogif'; # Inserted by configure-pstoimg
+$HOWTO_TRANSPARENT_GIF = 'netpbm'; # Inserted by configure-pstoimg
+$GS_DEVICE = 'ppmraw'; # Inserted by configure-pstoimg
+$GS = '/usr/local/bin/gs'; # Inserted by configure-pstoimg
+$PNMFILE = '/usr/X11R6/bin/pnmfile'; # Inserted by configure-pstoimg
+$HOWTO_INTERLACE_GIF = 'netpbm'; # Inserted by configure-pstoimg
+$PBMMAKE = '/usr/X11R6/bin/pbmmake'; # Inserted by configure-pstoimg
+$PNMCROP = '/usr/X11R6/bin/pnmcrop'; # Inserted by configure-pstoimg
+
+### end pstoimg configuration ###
+
+1;
diff --git a/textproc/latex2html/pkg-comment b/textproc/latex2html/pkg-comment
new file mode 100644
index 000000000000..3b58d46eea97
--- /dev/null
+++ b/textproc/latex2html/pkg-comment
@@ -0,0 +1 @@
+This program can be used to convert LaTeX documents to HTML.
diff --git a/textproc/latex2html/pkg-descr b/textproc/latex2html/pkg-descr
new file mode 100644
index 000000000000..2c59ac10d421
--- /dev/null
+++ b/textproc/latex2html/pkg-descr
@@ -0,0 +1,6 @@
+This program can be used to convert LaTeX to HTML. It has many configuration
+options configurable by editing a configuration file. It can handle equations
+and postscript images as well.
+
+-Brett Taylor
+brett@peloton.physics.montana.edu
diff --git a/textproc/latex2html/pkg-plist b/textproc/latex2html/pkg-plist
new file mode 100644
index 000000000000..1792e5b4e46e
--- /dev/null
+++ b/textproc/latex2html/pkg-plist
@@ -0,0 +1,282 @@
+bin/latex2html
+share/latex2html/local.pm
+share/latex2html/makeseg/makeseg
+share/latex2html/makeseg/makeseg.tex
+share/latex2html/IndicTeX-HTML/hindi.sty
+share/latex2html/IndicTeX-HTML/telugu.perl
+share/latex2html/IndicTeX-HTML/tibetan.sty
+share/latex2html/IndicTeX-HTML/malyalam.perl
+share/latex2html/IndicTeX-HTML/gujarati.perl
+share/latex2html/IndicTeX-HTML/oriya.perl
+share/latex2html/IndicTeX-HTML/gurmukhi.perl
+share/latex2html/IndicTeX-HTML/telugu.sty
+share/latex2html/IndicTeX-HTML/sanskrit.sty
+share/latex2html/IndicTeX-HTML/sinhlese.sty
+share/latex2html/IndicTeX-HTML/README
+share/latex2html/IndicTeX-HTML/oriya.sty
+share/latex2html/IndicTeX-HTML/bengali.sty
+share/latex2html/IndicTeX-HTML/kannada.perl
+share/latex2html/IndicTeX-HTML/sinhlese.perl
+share/latex2html/IndicTeX-HTML/hindi.perl
+share/latex2html/IndicTeX-HTML/gujrathi.perl
+share/latex2html/IndicTeX-HTML/devnagri.perl
+share/latex2html/IndicTeX-HTML/bengali.perl
+share/latex2html/IndicTeX-HTML/indica.perl
+share/latex2html/IndicTeX-HTML/tibetan.perl
+share/latex2html/IndicTeX-HTML/tamil.perl
+share/latex2html/IndicTeX-HTML/malyalam.sty
+share/latex2html/IndicTeX-HTML/tamil.sty
+share/latex2html/IndicTeX-HTML/gujrathi.sty
+share/latex2html/IndicTeX-HTML/gujarati.sty
+share/latex2html/IndicTeX-HTML/gurmukhi.sty
+share/latex2html/IndicTeX-HTML/kannada.sty
+share/latex2html/IndicTeX-HTML/devnagri.sty
+share/latex2html/IndicTeX-HTML/indica.sty
+share/latex2html/IndicTeX-HTML/sanskrit.perl
+share/latex2html/cweb2html/wcltx.bib
+share/latex2html/cweb2html/linkex1.w
+share/latex2html/cweb2html/cweb2html
+share/latex2html/cweb2html/htcweb.tex
+share/latex2html/cweb2html/htcweb.sty
+share/latex2html/cweb2html/makemake.pl
+share/latex2html/cweb2html/README
+share/latex2html/cweb2html/Makefile
+share/latex2html/cweb2html/cweb.perl
+share/latex2html/cweb2html/htcweb.perl
+share/latex2html/cweb2html/wcltx.w
+share/latex2html/cweb2html/linkex2.w
+share/latex2html/docs/changebar/update.txt
+share/latex2html/docs/changebar/manifest.txt
+share/latex2html/docs/changebar/00readme.txt
+share/latex2html/docs/changebar/changebar.idx
+share/latex2html/docs/changebar/changebar.ins
+share/latex2html/docs/changebar/changebar.bug
+share/latex2html/docs/changebar/changebar.dtx
+share/latex2html/docs/changebar/00Contents
+share/latex2html/docs/changebar/catalog.txt
+share/latex2html/docs/changebar/chbar.sh
+share/latex2html/docs/hthtml/readme.hthtml
+share/latex2html/docs/hthtml/Makefile
+share/latex2html/docs/hthtml/hthtml.tex
+share/latex2html/docs/hthtml/hthtml.sty
+share/latex2html/docs/psfiles/eqarrB15.ps
+share/latex2html/docs/psfiles/eqn15.ps
+share/latex2html/docs/psfiles/eform.ps
+share/latex2html/docs/psfiles/HTMLtab.ps
+share/latex2html/docs/psfiles/figure.ps
+share/latex2html/docs/psfiles/eform2.ps
+share/latex2html/docs/psfiles/table.ps
+share/latex2html/docs/psfiles/eqarrB2.ps
+share/latex2html/docs/psfiles/eqarrB1.ps
+share/latex2html/docs/psfiles/dn.gif
+share/latex2html/docs/psfiles/eqn1.ps
+share/latex2html/docs/psfiles/eqn2.ps
+share/latex2html/docs/psfiles/eqarrA2.ps
+share/latex2html/docs/psfiles/eqarrA1.ps
+share/latex2html/docs/psfiles/eqarrA15.ps
+share/latex2html/docs/psfiles/up.gif
+share/latex2html/docs/manual.bbl
+share/latex2html/docs/manual.ind
+share/latex2html/docs/manhtml.tex
+share/latex2html/docs/changebar.sty
+share/latex2html/docs/credits.tex
+share/latex2html/docs/l2hfiles.dat
+share/latex2html/docs/Makefile
+share/latex2html/docs/justify.sty
+share/latex2html/docs/hypextra.tex
+share/latex2html/docs/manual.cb
+share/latex2html/docs/overview.tex
+share/latex2html/docs/htmllist.sty
+share/latex2html/docs/support.tex
+share/latex2html/docs/licence.tex
+share/latex2html/docs/l2hidx.ist
+share/latex2html/docs/features.tex
+share/latex2html/docs/html.sty
+share/latex2html/docs/url.sty
+share/latex2html/docs/l2hglo.ist
+share/latex2html/docs/problems.tex
+share/latex2html/docs/l2hman.sty
+share/latex2html/docs/appendix.tex
+share/latex2html/docs/userman.tex
+share/latex2html/docs/manual.index
+share/latex2html/docs/manual.tex
+share/latex2html/docs/manual.gls
+share/latex2html/example/sec1.tex
+share/latex2html/example/report.tex
+share/latex2html/example/sec2.tex
+share/latex2html/example/Makefile
+share/latex2html/icons.gif/previous_motif.gif
+share/latex2html/icons.gif/icons.html
+share/latex2html/icons.gif/blueball.gif
+share/latex2html/icons.gif/redball.gif
+share/latex2html/icons.gif/purpleball.gif
+share/latex2html/icons.gif/change_begin_right.gif
+share/latex2html/icons.gif/greenball.gif
+share/latex2html/icons.gif/previous_group_motif.gif
+share/latex2html/icons.gif/image.gif
+share/latex2html/icons.gif/contents.xbm
+share/latex2html/icons.gif/change_delete.gif
+share/latex2html/icons.gif/orangeball.gif
+share/latex2html/icons.gif/next_group_motif.gif
+share/latex2html/icons.gif/change_end_right.gif
+share/latex2html/icons.gif/invis_anchor.xbm
+share/latex2html/icons.gif/next_group_motif_gr.gif
+share/latex2html/icons.gif/previous_group_motif_gr.gif
+share/latex2html/icons.gif/up_motif.gif
+share/latex2html/icons.gif/cross_ref_motif.gif
+share/latex2html/icons.gif/contents_motif.gif
+share/latex2html/icons.gif/whiteball.gif
+share/latex2html/icons.gif/previous_motif_gr.gif
+share/latex2html/icons.gif/change_delete_right.gif
+share/latex2html/icons.gif/pinkball.gif
+share/latex2html/icons.gif/change_end.gif
+share/latex2html/icons.gif/foot_motif.gif
+share/latex2html/icons.gif/up_motif_gr.gif
+share/latex2html/icons.gif/next_motif_gr.gif
+share/latex2html/icons.gif/yellowball.gif
+share/latex2html/icons.gif/index_motif.gif
+share/latex2html/icons.gif/next_motif.gif
+share/latex2html/icons.gif/change_begin.gif
+share/latex2html/icons.png/previous_motif.png
+share/latex2html/icons.png/blueball.png
+share/latex2html/icons.png/redball.png
+share/latex2html/icons.png/purpleball.png
+share/latex2html/icons.png/greenball.png
+share/latex2html/icons.png/previous_group_motif.png
+share/latex2html/icons.png/image.png
+share/latex2html/icons.png/change_delete.png
+share/latex2html/icons.png/orangeball.png
+share/latex2html/icons.png/next_group_motif.png
+share/latex2html/icons.png/next_group_motif_gr.png
+share/latex2html/icons.png/previous_group_motif_gr.png
+share/latex2html/icons.png/up_motif.png
+share/latex2html/icons.png/cross_ref_motif.png
+share/latex2html/icons.png/contents_motif.png
+share/latex2html/icons.png/whiteball.png
+share/latex2html/icons.png/previous_motif_gr.png
+share/latex2html/icons.png/pinkball.png
+share/latex2html/icons.png/change_end.png
+share/latex2html/icons.png/foot_motif.png
+share/latex2html/icons.png/up_motif_gr.png
+share/latex2html/icons.png/next_motif_gr.png
+share/latex2html/icons.png/yellowball.png
+share/latex2html/icons.png/index_motif.png
+share/latex2html/icons.png/next_motif.png
+share/latex2html/icons.png/change_begin.png
+share/latex2html/styles/CJK.perl
+share/latex2html/styles/alltt.perl
+share/latex2html/styles/amsmath.perl
+share/latex2html/styles/chemsym.perl
+share/latex2html/styles/seminar.perl
+share/latex2html/styles/makeidx.perl
+share/latex2html/styles/amsbook.perl
+share/latex2html/styles/latexsym.perl
+share/latex2html/styles/changebar.perl
+share/latex2html/styles/havard.perl
+share/latex2html/styles/justify.perl
+share/latex2html/styles/natbib.perl
+share/latex2html/styles/colordvi.perl
+share/latex2html/styles/letter.perl
+share/latex2html/styles/inputenc.perl
+share/latex2html/styles/floatfig.perl
+share/latex2html/styles/floatflt.perl
+share/latex2html/styles/german.perl
+share/latex2html/styles/amsart.perl
+share/latex2html/styles/amssymb.perl
+share/latex2html/styles/amstex.perl
+share/latex2html/styles/rgb.txt
+share/latex2html/styles/report.perl
+share/latex2html/styles/wrapfig.perl
+share/latex2html/styles/xspace.perl
+share/latex2html/styles/more_amsmath.perl
+share/latex2html/styles/enumerate.perl
+share/latex2html/styles/crayola.txt
+share/latex2html/styles/graphics.perl
+share/latex2html/styles/graphicx.perl
+share/latex2html/styles/multicol.perl
+share/latex2html/styles/germanb.perl
+share/latex2html/styles/htmllist.perl
+share/latex2html/styles/heqn.perl
+share/latex2html/styles/html.perl
+share/latex2html/styles/hthtml.perl
+share/latex2html/styles/slides.perl
+share/latex2html/styles/article.perl
+share/latex2html/styles/amsfonts.perl
+share/latex2html/styles/verbatim.perl
+share/latex2html/styles/texdefs.perl
+share/latex2html/styles/francais.perl
+share/latex2html/styles/french.perl
+share/latex2html/styles/book.perl
+share/latex2html/styles/xy.perl
+share/latex2html/styles/frames.perl
+share/latex2html/styles/babel.perl
+share/latex2html/styles/harvard.perl
+share/latex2html/styles/epsfig.perl
+share/latex2html/styles/epsbox.perl
+share/latex2html/styles/nharvard.perl
+share/latex2html/styles/verbatimfiles.perl
+share/latex2html/styles/supertabular.perl
+share/latex2html/styles/longtable.perl
+share/latex2html/styles/color.perl
+share/latex2html/tests/jcl-verb.tex
+share/latex2html/tests/pages.tex
+share/latex2html/tests/pages1.eps
+share/latex2html/tests/jcl-env.tex
+share/latex2html/tests/jcl-pag.tex
+share/latex2html/tests/rrm-col.tex
+share/latex2html/versions/lang.pl
+share/latex2html/versions/html3_2.pl
+share/latex2html/versions/html2_2.pl
+share/latex2html/versions/html3_0.pl
+share/latex2html/versions/html4_0.pl
+share/latex2html/versions/html3_1.pl
+share/latex2html/versions/html2_1.pl
+share/latex2html/versions/latin6.pl
+share/latex2html/versions/latin4.pl
+share/latex2html/versions/latin5.pl
+share/latex2html/versions/latin2.pl
+share/latex2html/versions/latin3.pl
+share/latex2html/versions/latin1.pl
+share/latex2html/versions/i18n.pl
+share/latex2html/versions/unicode.pl
+share/latex2html/versions/table.pl
+share/latex2html/versions/math.pl
+share/latex2html/configure-pstoimg
+share/latex2html/install-test
+share/latex2html/latex2html
+share/latex2html/makemap
+share/latex2html/pstoimg
+share/latex2html/pstoimg_nopipes
+share/latex2html/texexpand
+share/latex2html/FAQ
+share/latex2html/MANIFEST
+share/latex2html/Override.pm
+share/latex2html/README
+share/latex2html/README.dvips
+share/latex2html/dot.latex2html-init
+share/latex2html/latex2html.config
+share/texmf/tex/latex/latex2html/floatflt.ins
+share/texmf/tex/latex/latex2html/frames.sty
+share/texmf/tex/latex/latex2html/heqn.sty
+share/texmf/tex/latex/latex2html/hthtml.sty
+share/texmf/tex/latex/latex2html/html.sty
+share/texmf/tex/latex/latex2html/htmllist.sty
+share/texmf/tex/latex/latex2html/justify.sty
+share/texmf/tex/latex/latex2html/ldump.sty
+share/texmf/tex/latex/latex2html/url.sty
+share/texmf/tex/latex/latex2html/verbatimfiles.sty
+@dirrm share/latex2html/makeseg
+@dirrm share/latex2html/IndicTeX-HTML
+@dirrm share/latex2html/cweb2html
+@dirrm share/latex2html/docs/changebar
+@dirrm share/latex2html/docs/hthtml
+@dirrm share/latex2html/docs/psfiles
+@dirrm share/latex2html/docs
+@dirrm share/latex2html/example
+@dirrm share/latex2html/icons.gif
+@dirrm share/latex2html/icons.png
+@dirrm share/latex2html/styles
+@dirrm share/latex2html/tests
+@dirrm share/latex2html/versions
+@dirrm share/texmf/tex/latex/latex2html
+@dirrm share/latex2html