summaryrefslogtreecommitdiff
path: root/print/dvipng
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-08-05 07:21:56 +0000
committerwiz <wiz@pkgsrc.org>2003-08-05 07:21:56 +0000
commitcb63619124e8454e4f435ebd97358b2af2e42407 (patch)
tree28f94a7371a4c79fcbd2026ebe46d14305761671 /print/dvipng
parent2fa4ab376f25ec119b00826b92f78a5f7420bd66 (diff)
downloadpkgsrc-cb63619124e8454e4f435ebd97358b2af2e42407.tar.gz
Initial import of dvipng-0.5, a program to convert DVI to PNG.
This program makes PNG graphics from DVI files as obtained from TeX and its relatives. It is intended to produce anti-aliased screen-resolution images as fast as is possible. The target audience is people who need to generate and regenerate many images again and again. The primary target is the preview-latex (X)Emacs package, a package to preview formulas from within (X)Emacs. Yes, you get to see your formulas in the (X)Emacs buffer, see `http://preview-latex.sf.net'. Another example is WeBWorK, an internet-based method for delivering homework problems to students over the internet, giving students instant feedback as to whether or not their answers are correct, see `http://webwork.math.rochester.edu'. Other applications may also benefit, like web applications as latex2html and WYSIWYG editors like LyX.
Diffstat (limited to 'print/dvipng')
-rw-r--r--print/dvipng/DESCR17
-rw-r--r--print/dvipng/Makefile23
-rw-r--r--print/dvipng/PLIST3
-rw-r--r--print/dvipng/distinfo5
-rw-r--r--print/dvipng/patches/patch-aa17
5 files changed, 65 insertions, 0 deletions
diff --git a/print/dvipng/DESCR b/print/dvipng/DESCR
new file mode 100644
index 00000000000..ab8d06ddd36
--- /dev/null
+++ b/print/dvipng/DESCR
@@ -0,0 +1,17 @@
+This program makes PNG graphics from DVI files as obtained from
+TeX and its relatives.
+
+It is intended to produce anti-aliased screen-resolution images as
+fast as is possible. The target audience is people who need to
+generate and regenerate many images again and again. The primary
+target is the preview-latex (X)Emacs package, a package to preview
+formulas from within (X)Emacs. Yes, you get to see your formulas
+in the (X)Emacs buffer, see `http://preview-latex.sf.net'.
+
+Another example is WeBWorK, an internet-based method for delivering
+homework problems to students over the internet, giving students
+instant feedback as to whether or not their answers are correct,
+see `http://webwork.math.rochester.edu'.
+
+Other applications may also benefit, like web applications as
+latex2html and WYSIWYG editors like LyX.
diff --git a/print/dvipng/Makefile b/print/dvipng/Makefile
new file mode 100644
index 00000000000..76646339108
--- /dev/null
+++ b/print/dvipng/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/08/05 07:21:56 wiz Exp $
+#
+
+DISTNAME= dvipng-0.5
+CATEGORIES= textproc converters
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=preview-latex/}
+
+MAINTAINER= wiz@NetBSD.org
+HOMEPAGE= http://preview-latex.sourceforge.net/
+COMMENT= Convert DVI files to PNG files
+
+USE_BUILDLINK2= yes
+USE_MAKEINFO= yes
+USE_NEW_TEXINFO= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+
+INFO_FILES= dvipng.info
+
+.include "../../graphics/gd/buildlink2.mk"
+.include "../../graphics/png/buildlink2.mk"
+.include "../../print/teTeX2-bin/kpathsea.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/dvipng/PLIST b/print/dvipng/PLIST
new file mode 100644
index 00000000000..f48f5eaa884
--- /dev/null
+++ b/print/dvipng/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/05 07:21:56 wiz Exp $
+bin/dvipng
+info/dvipng.info
diff --git a/print/dvipng/distinfo b/print/dvipng/distinfo
new file mode 100644
index 00000000000..c1a026d1faa
--- /dev/null
+++ b/print/dvipng/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/08/05 07:21:56 wiz Exp $
+
+SHA1 (dvipng-0.5.tar.gz) = 1e86ecfe3625a77694b3a8af3f15b249f33b38bb
+Size (dvipng-0.5.tar.gz) = 107122 bytes
+SHA1 (patch-aa) = 6442856f6a91b5e7afeb7a731bbf9dd391e0e3ee
diff --git a/print/dvipng/patches/patch-aa b/print/dvipng/patches/patch-aa
new file mode 100644
index 00000000000..69441e3bb5c
--- /dev/null
+++ b/print/dvipng/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/08/05 07:21:56 wiz Exp $
+
+--- Makefile.in.orig Tue Aug 5 08:58:36 2003
++++ Makefile.in
+@@ -70,10 +70,10 @@ README: readme.texi
+
+ install-docs:
+ -$(MKINSTALLDIRS) $(infodir)
+- for x in preview-latex.info* ; do \
++ for x in dvipng.info* ; do \
+ $(INSTALL_DATA) $$x $(infodir) ; \
+ done
+- -$(INSTALL_INFO) --info-dir=$(infodir) preview-latex.info
++ -$(INSTALL_INFO) --info-dir=$(infodir) dvipng.info
+
+
+ ####################################### The test