aboutsummaryrefslogtreecommitdiff
path: root/print/texvc
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-06-18 23:27:33 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-06-18 23:27:33 +0000
commit94eb69cdf3246d2893819090a22db1803009ad67 (patch)
treef9e0c11daff4a1675d16260c20aed63fec695615 /print/texvc
parent9b5da4ef4f6b890ab1ca1a6615de177306f00111 (diff)
downloadports-94eb69cdf3246d2893819090a22db1803009ad67.tar.gz
ports-94eb69cdf3246d2893819090a22db1803009ad67.zip
texvc takes LaTeX-compatible equations and produces formatted output in
HTML, MathML, and (via LaTeX/dvips/ImageMagick) rasterized PNG images. Input data is parsed and scrutinized for safety, and the output includes an estimate of whether the code is simple enough that HTML rendering will look acceptable. WWW: http://www.mediawiki.org/wiki/Texvc PR: ports/124607 Submitted by: Max Brazhnikov <makc at issp.ac.ru>
Notes
Notes: svn path=/head/; revision=215186
Diffstat (limited to 'print/texvc')
-rw-r--r--print/texvc/Makefile39
-rw-r--r--print/texvc/distinfo3
-rw-r--r--print/texvc/pkg-descr7
3 files changed, 49 insertions, 0 deletions
diff --git a/print/texvc/Makefile b/print/texvc/Makefile
new file mode 100644
index 000000000000..a0630f3e5482
--- /dev/null
+++ b/print/texvc/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: texvc
+# Date created: 2008-06-14
+# Whom: Max Brazhnikov <makc@issp.ac.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= texvc
+PORTVERSION= 20050202
+CATEGORIES= print
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR=wikipedia
+DISTNAME= ${PORTNAME}-linux-x86-${PORTVERSION}
+
+MAINTAINER= makc@issp.ac.ru
+COMMENT= Convert latex equations to HTML, MathML, PNG
+
+USE_OCAML= yes
+NO_OCAML_RUNDEPENDS= yes
+USE_GMAKE= yes
+BUILD_WRKSRC= ${WRKSRC}/src
+
+PLIST_FILES= bin/texvc
+
+OPTIONS= RASTER "rasterization support" on
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_RASTER)
+USE_GHOSTSCRIPT_RUN= yes
+RUN_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base \
+ dvips:${PORTSDIR}/print/dvipsk-tetex \
+ convert:${PORTSDIR}/graphics/ImageMagick
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/texvc ${PREFIX}/bin
+
+.include <bsd.port.post.mk>
diff --git a/print/texvc/distinfo b/print/texvc/distinfo
new file mode 100644
index 000000000000..6c25b5e4032b
--- /dev/null
+++ b/print/texvc/distinfo
@@ -0,0 +1,3 @@
+MD5 (texvc-linux-x86-20050202.tar.gz) = 9f57d535f6c66b3a84f743e696f7eaf3
+SHA256 (texvc-linux-x86-20050202.tar.gz) = 0ab27b1f04ba7b120042734959cc2afcde4becb61a1167e371c94948cadf24c7
+SIZE (texvc-linux-x86-20050202.tar.gz) = 159378
diff --git a/print/texvc/pkg-descr b/print/texvc/pkg-descr
new file mode 100644
index 000000000000..a80bd435adcd
--- /dev/null
+++ b/print/texvc/pkg-descr
@@ -0,0 +1,7 @@
+texvc takes LaTeX-compatible equations and produces formatted output in
+HTML, MathML, and (via LaTeX/dvips/ImageMagick) rasterized PNG images.
+Input data is parsed and scrutinized for safety, and the output includes
+an estimate of whether the code is simple enough that HTML rendering will
+look acceptable.
+
+WWW: http://www.mediawiki.org/wiki/Texvc