pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/mimetex Import mimetex version 1.64.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/76684a2ac7af
branches:  trunk
changeset: 529191:76684a2ac7af
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun May 27 02:58:40 2007 +0000

description:
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:

 www/mimetex/DESCR    |   8 ++++++++
 www/mimetex/Makefile |  27 +++++++++++++++++++++++++++
 www/mimetex/PLIST    |   2 ++
 www/mimetex/distinfo |   5 +++++
 4 files changed, 42 insertions(+), 0 deletions(-)

diffs (58 lines):

diff -r ddc70b577347 -r 76684a2ac7af www/mimetex/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mimetex/DESCR Sun May 27 02:58:40 2007 +0000
@@ -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 -r ddc70b577347 -r 76684a2ac7af www/mimetex/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mimetex/Makefile      Sun May 27 02:58:40 2007 +0000
@@ -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@localhost
+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 -r ddc70b577347 -r 76684a2ac7af www/mimetex/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mimetex/PLIST Sun May 27 02:58:40 2007 +0000
@@ -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 -r ddc70b577347 -r 76684a2ac7af www/mimetex/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mimetex/distinfo      Sun May 27 02:58:40 2007 +0000
@@ -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



Home | Main Index | Thread Index | Old Index