summaryrefslogtreecommitdiff
path: root/graphics/xdvipresent
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xdvipresent')
-rw-r--r--graphics/xdvipresent/DESCR7
-rw-r--r--graphics/xdvipresent/Makefile37
-rw-r--r--graphics/xdvipresent/PLIST29
-rw-r--r--graphics/xdvipresent/distinfo5
-rw-r--r--graphics/xdvipresent/patches/patch-aa16
5 files changed, 94 insertions, 0 deletions
diff --git a/graphics/xdvipresent/DESCR b/graphics/xdvipresent/DESCR
new file mode 100644
index 00000000000..c449d76ea51
--- /dev/null
+++ b/graphics/xdvipresent/DESCR
@@ -0,0 +1,7 @@
+xdvipresent provides glue for developing slides for on-line presentation using
+LaTeX and xdvi, and a (portable) computer with a XGA (1024x768), SVGA
+(800x600), VGA (640x480), or SUN (1152x900) screen running Xwindows. The idea
+is that you prepare the slides in LaTeX with the enclosed style file(s) and
+you use the "xdvipresent" script (which simply calls xdvi with an appropriate
+set of options) to show the slides on the screen.
+This package provides a convenient style for slideshow presentations as well.
diff --git a/graphics/xdvipresent/Makefile b/graphics/xdvipresent/Makefile
new file mode 100644
index 00000000000..1cc7fdaca37
--- /dev/null
+++ b/graphics/xdvipresent/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/12/05 14:54:50 jschauma Exp $
+#
+
+DISTNAME= xdvipresent-0.6p12
+CATEGORIES= graphics textproc print x11
+MASTER_SITES= http://clip.dia.fi.upm.es/Software/
+
+MAINTAINER= jschauma@netbsd.org
+HOMEPAGE= http://clip.dia.fi.upm.es/Software/
+COMMENT= Slide Presentations Using LaTeX/xdvi
+
+DEPENDS+= latex2html>=2002.2:../../textproc/latex2html
+
+WRKSRC= ${WRKDIR}/xdvipresent
+USE_BUILDLINK2= yes
+NO_BUILD= yes
+NO_CONFIGURE= yes
+
+STYDIR= ${PREFIX}/share/texmf/tex/latex/other
+EXAMPLES_DIR= ${PREFIX}/share/examples/xdvipresent
+MAN_DIR= ${PREFIX}/man/
+HTML_DIR= ${PREFIX}/share/doc/html/xdvipresent
+
+do-install:
+ ${INSTALL_DATA_DIR} ${STYDIR}/images
+ ${INSTALL_DATA} ${WRKSRC}/*.cls ${STYDIR}
+ ${INSTALL_DATA} ${WRKSRC}/images/* ${STYDIR}/images
+ ${INSTALL_SCRIPT} ${WRKSRC}/xdvipresent ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xdvipresent
+ ${INSTALL_DATA} ${WRKSRC}/example.tex ${EXAMPLES_DIR}
+ ${INSTALL_MAN} ${WRKSRC}/doc/xdvipresent.manl ${MAN_DIR}/man1/xdvipresent.1
+ ${INSTALL_DATA_DIR} ${HTML_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/xdvipresent_html/* ${HTML_DIR}
+ ${PREFIX}/bin/texconfig rehash
+
+.include "../../print/teTeX-bin/kpathsea.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/xdvipresent/PLIST b/graphics/xdvipresent/PLIST
new file mode 100644
index 00000000000..eee6e3f34c2
--- /dev/null
+++ b/graphics/xdvipresent/PLIST
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/05 14:54:50 jschauma Exp $
+bin/xdvipresent
+man/man1/xdvipresent.1
+share/doc/html/xdvipresent/xdvipresent.css
+share/doc/html/xdvipresent/xdvipresent.html
+share/doc/html/xdvipresent/xdvipresent_1.html
+share/doc/html/xdvipresent/xdvipresent_2.html
+share/doc/html/xdvipresent/xdvipresent_3.html
+share/doc/html/xdvipresent/xdvipresent_toc.html
+share/examples/xdvipresent/example.tex
+share/texmf/tex/latex/other/images/Clip.ps
+share/texmf/tex/latex/other/images/blue.line.eps
+share/texmf/tex/latex/other/images/blueball.ps
+share/texmf/tex/latex/other/images/clip.eps
+share/texmf/tex/latex/other/images/clip_small.ps
+share/texmf/tex/latex/other/images/clip_tiny.eps
+share/texmf/tex/latex/other/images/example_figure.eps
+share/texmf/tex/latex/other/images/greenball.ps
+share/texmf/tex/latex/other/images/line.fig
+share/texmf/tex/latex/other/images/redball.ps
+share/texmf/tex/latex/other/images/thin_line.fig
+share/texmf/tex/latex/other/images/thin_line.red.eps
+share/texmf/tex/latex/other/xdvislides.cls
+@exec %D/bin/texconfig rehash
+@dirrm share/texmf/tex/latex/other/images
+@unexec ${RMDIR} %D/share/texmf/other 2>/dev/null || ${TRUE}
+@dirrm share/examples/xdvipresent
+@dirrm share/doc/html/xdvipresent/
+@unexec %D/bin/texconfig rehash
diff --git a/graphics/xdvipresent/distinfo b/graphics/xdvipresent/distinfo
new file mode 100644
index 00000000000..0f59d194657
--- /dev/null
+++ b/graphics/xdvipresent/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/12/05 14:54:50 jschauma Exp $
+
+SHA1 (xdvipresent-0.6p12.tar.gz) = aa65b03ae3b71269958d04f16d0f82191719de6d
+Size (xdvipresent-0.6p12.tar.gz) = 119950 bytes
+SHA1 (patch-aa) = 51918db941fa65311ce8fb81923bc3723761a874
diff --git a/graphics/xdvipresent/patches/patch-aa b/graphics/xdvipresent/patches/patch-aa
new file mode 100644
index 00000000000..943016870d9
--- /dev/null
+++ b/graphics/xdvipresent/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/12/05 14:54:50 jschauma Exp $
+
+--- xdvipresent.orig Thu Dec 5 09:43:47 2002
++++ xdvipresent Thu Dec 5 09:45:35 2002
+@@ -49,6 +49,11 @@
+ -sidemargin 0cm -topmargin 0cm -paper 10.5x6.23 \
+ -hush $dvifile $*
+ # -display balboa:0.0
++# IBM T30 laptop with 1024x768 resolution
++elif [ $displaystyle = t30 ] ; then
++ xdvi -s 6 -bw 1 -expert -p 600 -geometry 1024x764-0-0 \
++ -sidemargin 0cm -topmargin 0cm -paper 25.8x19.3 \
++ -hush $dvifile $*
+ else
+ echo "Usage: $2 <vga|svga|xga|a4paper|letterpaper> <filename>.dvi <xdvi_opts>"
+ fi