Date: 3 Feb 2006 22:08:37 -0000 From: nivit@email.it (Nicola Vitale) To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/92783: [NEW PORT] www/mimetex: A CGI script that lets you embed LaTeX math in your HTML pages Message-ID: <20060203220837.52173.qmail@stellina> Resent-Message-ID: <200602032220.k13MK3bJ065955@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92783 >Category: ports >Synopsis: [NEW PORT] www/mimetex: A CGI script that lets you embed LaTeX math in your HTML pages >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Feb 03 22:20:02 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Nicola Vitale >Release: FreeBSD 5.4-RELEASE-p10 i386 >Organization: >Environment: System: FreeBSD stellina.domo.sva 5.4-RELEASE-p10 FreeBSD 5.4-RELEASE-p10 #7: Wed Jan 25 21:43:38 CET 2006 >Description: 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. It's easy to use. Just place an html <img> tag in your document wherever you want to see the corresponding LaTeX expression. Author: John Forkosh <john@forkosh.com> WWW: http://www.forkosh.com/mimetex.html Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- mimetex-1.60.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mimetex # mimetex/pkg-descr # mimetex/Makefile # mimetex/pkg-plist # mimetex/distinfo # echo c - mimetex mkdir -p mimetex > /dev/null 2>&1 echo x - mimetex/pkg-descr sed 's/^X//' >mimetex/pkg-descr << 'END-of-mimetex/pkg-descr' XMimeTeX, licensed under the gpl, lets you easily embed LaTeX math in Xyour html pages. It parses a LaTeX math expression and immediately Xemits the corresponding gif image, rather than the usual TeX dvi. XAnd mimeTeX is an entirely separate little program that doesn't Xuse TeX or its fonts in any way. It's just one cgi that you put in Xyour site's cgi-bin/ directory, with no other dependencies. XIt's easy to use. Just place an html <img> tag in your document Xwherever you want to see the corresponding LaTeX expression. X XAuthor: John Forkosh <john@forkosh.com> XWWW: http://www.forkosh.com/mimetex.html END-of-mimetex/pkg-descr echo x - mimetex/Makefile sed 's/^X//' >mimetex/Makefile << 'END-of-mimetex/Makefile' X# New ports collection makefile for: mimetex X# Date created: 2006-02-03 X# Whom: Nicola Vitale <nivit@email.it> X# X# $FreeBSD$ X# X XPORTNAME= mimetex XPORTVERSION= 1.60 XCATEGORIES= www math XMASTER_SITES= http://www.forkosh.com/ \ X http://nivi.interfree.it/distfiles/${DIST_SUBDIR}/ XDISTNAME= ${PORTNAME} XDIST_SUBDIR= ${PORTNAME}/${PORTVERSION} X XMAINTAINER= nivit@email.it XCOMMENT= A CGI script that lets you embed LaTeX math in your HTML pages X XNO_WRKSUBDIR= yes XUSE_APACHE= yes XUSE_ZIP= yes X XFETCH_CMD= /usr/bin/fetch -rR # see PR bin/76134 X XCGI_BIN= ${PREFIX}/www/cgi-bin/ XCGI_PRG= ${PORTNAME}.cgi X Xdo-build: X cd ${WRKDIR};\ X ${CC} -DAA mimetex.c gifsave.c -lm -o ${CGI_PRG} X Xdo-install: X ${MKDIR} ${CGI_BIN} X ${INSTALL_PROGRAM} ${WRKSRC}/${CGI_PRG} ${CGI_BIN}/${CGI_PRG} X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${DOCSDIR} X.endif X X.include <bsd.port.mk> END-of-mimetex/Makefile echo x - mimetex/pkg-plist sed 's/^X//' >mimetex/pkg-plist << 'END-of-mimetex/pkg-plist' X@comment $FreeBSD$ X%%PORTDOCS%%%%DOCSDIR%%/mimetex.html Xwww/cgi-bin/mimetex.cgi X%%PORTDOCS%%@dirrm %%DOCSDIR%% X@dirrmtry www/cgi-bin END-of-mimetex/pkg-plist echo x - mimetex/distinfo sed 's/^X//' >mimetex/distinfo << 'END-of-mimetex/distinfo' XMD5 (mimetex/1.60/mimetex.zip) = 8ff4484c3d24c0bac2b76ae5bc951da2 XSHA256 (mimetex/1.60/mimetex.zip) = 54654292a4f8e879a645dd4c7234d1a5a0e272b95438b9b51e8c9a8aaa5a82ab XSIZE (mimetex/1.60/mimetex.zip) = 643704 END-of-mimetex/distinfo exit --- mimetex-1.60.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060203220837.52173.qmail>