summaryrefslogtreecommitdiff
path: root/www/mimetex
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-05-27 02:58:40 +0000
committerobache <obache@pkgsrc.org>2007-05-27 02:58:40 +0000
commitae5567500c7bc1dbc268c91514124f8f96834834 (patch)
treed77c2f9d7da542122f5a195ad6edbeddc0a32a56 /www/mimetex
parentd6392c8c684747fe87daf2e36d78f3afe71c5443 (diff)
downloadpkgsrc-ae5567500c7bc1dbc268c91514124f8f96834834.tar.gz
Import mimetex version 1.64.
MimeTeX, licensed under the gpl, lets you easily embed LaTeX math in your html pages. It parses a LaTeX math expression and immediately emits the corresponding gif image, rather than the usual TeX dvi. And mimeTeX is an entirely separate little program that doesn't use TeX or its fonts in any way. It's just one cgi that you put in your site's cgi-bin/ directory, with no other dependencies. So mimeTeX is very easy to install. And it's equally easy to use. Just place an html <img> tag in your document wherever you want to see the corresponding LaTeX expression.
Diffstat (limited to 'www/mimetex')
-rw-r--r--www/mimetex/DESCR8
-rw-r--r--www/mimetex/Makefile27
-rw-r--r--www/mimetex/PLIST2
-rw-r--r--www/mimetex/distinfo5
4 files changed, 42 insertions, 0 deletions
diff --git a/www/mimetex/DESCR b/www/mimetex/DESCR
new file mode 100644
index 00000000000..fe07fa36340
--- /dev/null
+++ b/www/mimetex/DESCR
@@ -0,0 +1,8 @@
+MimeTeX, licensed under the gpl, lets you easily embed LaTeX math in your html
+pages. It parses a LaTeX math expression and immediately emits the corresponding
+gif image, rather than the usual TeX dvi. And mimeTeX is an entirely separate
+little program that doesn't use TeX or its fonts in any way. It's just one cgi
+that you put in your site's cgi-bin/ directory, with no other dependencies. So
+mimeTeX is very easy to install. And it's equally easy to use. Just place an
+html <img> tag in your document wherever you want to see the corresponding LaTeX
+expression.
diff --git a/www/mimetex/Makefile b/www/mimetex/Makefile
new file mode 100644
index 00000000000..6d2177db9ce
--- /dev/null
+++ b/www/mimetex/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/05/27 02:58:40 obache Exp $
+#
+
+DISTNAME= mimetex
+PKGNAME= ${DISTNAME}-1.64
+CATEGORIES= www math graphics
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=support/mimetex/}
+DIST_SUBDIR= ${PKGNAME_NOREV}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://www.forkosh.com/mimetex.html
+COMMENT= CGI to convert LaTeX math expression to GIF image
+
+USE_LANGUAGES= c
+
+WRKSRC= ${WRKDIR}
+
+do-build:
+ cd ${WRKSRC:Q} && \
+ env ${MAKE_ENV} ${CC} -DAA mimetex.c gifsave.c -lm \
+ -o mimetex.cgi
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC:Q}/mimetex.cgi ${PREFIX}/libexec/cgi-bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/mimetex/PLIST b/www/mimetex/PLIST
new file mode 100644
index 00000000000..89eefe524e0
--- /dev/null
+++ b/www/mimetex/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/27 02:58:40 obache Exp $
+libexec/cgi-bin/mimetex.cgi
diff --git a/www/mimetex/distinfo b/www/mimetex/distinfo
new file mode 100644
index 00000000000..5b1f458560b
--- /dev/null
+++ b/www/mimetex/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/05/27 02:58:40 obache Exp $
+
+SHA1 (mimetex-1.64/mimetex.zip) = 5e98a2140634af14efe0406f0ff70e5aadce36e7
+RMD160 (mimetex-1.64/mimetex.zip) = df36d4992a850591054e2cbebed6ab6084fbfe26
+Size (mimetex-1.64/mimetex.zip) = 658606 bytes