aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/Makefile1
-rw-r--r--print/latex2slides/Makefile36
-rw-r--r--print/latex2slides/distinfo1
-rw-r--r--print/latex2slides/pkg-comment1
-rw-r--r--print/latex2slides/pkg-descr11
-rw-r--r--print/latex2slides/pkg-plist28
6 files changed, 78 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index 7ba0573b24cc..10d295a20ad6 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -79,6 +79,7 @@
SUBDIR += ktexshell
SUBDIR += latex
SUBDIR += latex2rtf
+ SUBDIR += latex2slides
SUBDIR += lgrind
SUBDIR += libgnomeprint
SUBDIR += libijs
diff --git a/print/latex2slides/Makefile b/print/latex2slides/Makefile
new file mode 100644
index 000000000000..8afc427d048c
--- /dev/null
+++ b/print/latex2slides/Makefile
@@ -0,0 +1,36 @@
+# ex:ts=8
+# Ports collection makefile for: latex2slides
+# Date created: May 23, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= latex2slides
+PORTVERSION= 0.8.1
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ports@FreeBSD.org
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
+ dvips:${PORTSDIR}/print/teTeX \
+ convert:${PORTSDIR}/graphics/ImageMagick
+
+USE_PYTHON= yes
+NO_BUILD= yes
+
+MANCOMPRESSED= yes
+MAN1= latex2slides.1
+
+post-patch:
+ @${PERL} -pi -e "s,/usr,${PREFIX},g ; \
+ s,share/man,man,g" ${WRKSRC}/install
+ @${PERL} -pi -e "s,/usr/share,${PREFIX}/share,g" ${WRKSRC}/latex2slides
+
+do-install:
+ @(cd ${WRKSRC} ; ${PYTHON_CMD} ./install)
+
+.include <bsd.port.mk>
diff --git a/print/latex2slides/distinfo b/print/latex2slides/distinfo
new file mode 100644
index 000000000000..011a435ade45
--- /dev/null
+++ b/print/latex2slides/distinfo
@@ -0,0 +1 @@
+MD5 (latex2slides-0.8.1.tgz) = da72068e03a9e6d7a6b682bc32750f59
diff --git a/print/latex2slides/pkg-comment b/print/latex2slides/pkg-comment
new file mode 100644
index 000000000000..74f44f024375
--- /dev/null
+++ b/print/latex2slides/pkg-comment
@@ -0,0 +1 @@
+Produces a set of HTML/JPEG slides from a TeX or LaTeX source
diff --git a/print/latex2slides/pkg-descr b/print/latex2slides/pkg-descr
new file mode 100644
index 000000000000..cc7caec69e80
--- /dev/null
+++ b/print/latex2slides/pkg-descr
@@ -0,0 +1,11 @@
+latex2slides is a simple graphical program that produces a set of HTML/JPEG
+slides from a LaTeX (or TeX) source FILE. The program first produces a
+multipage postscript, using latex (or tex ) and dvips. Each postscript page
+is converted to a JPEG image using ImageMagick's convert. The program then
+makes one HTML page for each JPEG (or slide), and an index.html page. As a
+result, each slide in your slide presentation corresponds to one of the
+postscript pages you would obtain running latex on the LaTeX source.
+Alternatively, the source can be a multipage postscript, DVI or PDF FILE,and
+the image format for the slides can be set to PNG.
+
+WWW: http://udel.edu/~lmilano/latex2slides/
diff --git a/print/latex2slides/pkg-plist b/print/latex2slides/pkg-plist
new file mode 100644
index 000000000000..09cd59652424
--- /dev/null
+++ b/print/latex2slides/pkg-plist
@@ -0,0 +1,28 @@
+bin/latex2slides
+share/latex2slides/latex2slides-0.8.1/doc/documentation.html
+share/latex2slides/latex2slides-0.8.1/doc/faq.html
+share/latex2slides/latex2slides-0.8.1/doc/logo.jpg
+share/latex2slides/latex2slides-0.8.1/doc/manual.html
+share/latex2slides/latex2slides-0.8.1/doc/style.css
+share/latex2slides/latex2slides-0.8.1/icons/README
+share/latex2slides/latex2slides-0.8.1/icons/first.jpg
+share/latex2slides/latex2slides-0.8.1/icons/first.png
+share/latex2slides/latex2slides-0.8.1/icons/index.jpg
+share/latex2slides/latex2slides-0.8.1/icons/index.png
+share/latex2slides/latex2slides-0.8.1/icons/last.ico
+share/latex2slides/latex2slides-0.8.1/icons/last.jpg
+share/latex2slides/latex2slides-0.8.1/icons/last.png
+share/latex2slides/latex2slides-0.8.1/icons/next.ico
+share/latex2slides/latex2slides-0.8.1/icons/next.jpg
+share/latex2slides/latex2slides-0.8.1/icons/next.png
+share/latex2slides/latex2slides-0.8.1/icons/prev.jpg
+share/latex2slides/latex2slides-0.8.1/icons/prev.png
+share/latex2slides/latex2slides-0.8.1/samples/README
+share/latex2slides/latex2slides-0.8.1/samples/landscape.tex
+share/latex2slides/latex2slides-0.8.1/samples/landscape2.tex
+share/latex2slides/latex2slides-0.8.1/samples/portrait.tex
+@dirrm share/latex2slides/latex2slides-0.8.1/doc
+@dirrm share/latex2slides/latex2slides-0.8.1/icons
+@dirrm share/latex2slides/latex2slides-0.8.1/samples
+@dirrm share/latex2slides/latex2slides-0.8.1
+@dirrm share/latex2slides