ports/92783: [NEW PORT] www/mimetex: A CGI script that lets you embed LaTeX math in your HTML pages
Nicola Vitale
nivit at email.it
Thu Feb 16 14:10:08 UTC 2006
The following reply was made to PR ports/92783; it has been noted by GNATS.
From: nivit at email.it (Nicola Vitale)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/92783: [NEW PORT] www/mimetex: A CGI script that lets you embed LaTeX math in your HTML pages
Date: Thu, 16 Feb 2006 15:04:15 +0100
--qDbXVdCdHGoSgWSk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
New shar archive: fix size mismatch, because the Author has
in the meantime changed the package, without updating the version
number.
--qDbXVdCdHGoSgWSk
Content-Type: application/x-shar
Content-Disposition: attachment; filename="mimetex.shar"
Content-Transfer-Encoding: quoted-printable
# This is a shell archive. Save it in a file, remove anything before=0A# t=
his line, and then unpack it by entering "sh file". Note, it may=0A# creat=
e directories; files and directories will be owned by you and=0A# have defa=
ult permissions.=0A#=0A# This archive contains:=0A#=0A# mimetex=0A# mimetex=
/pkg-descr=0A# mimetex/Makefile=0A# mimetex/pkg-plist=0A# mimetex/distinfo=
=0A# mimetex/pkg-message=0A#=0Aecho c - mimetex=0Amkdir -p mimetex > /dev/n=
ull 2>&1=0Aecho x - mimetex/pkg-descr=0Ased 's/^X//' >mimetex/pkg-descr << =
'END-of-mimetex/pkg-descr'=0AXMimeTeX, licensed under the gpl, lets you eas=
ily embed LaTeX math in=0AXyour html pages. It parses a LaTeX math express=
ion and immediately=0AXemits the corresponding gif image, rather than the u=
sual TeX dvi.=0AXAnd mimeTeX is an entirely separate little program that do=
esn't=0AXuse TeX or its fonts in any way. It's just one cgi that you put i=
n=0AXyour site's cgi-bin/ directory, with no other dependencies.=0AXIt's ea=
sy to use. Just place an html <img> tag in your document=0AXwherever you wa=
nt to see the corresponding LaTeX expression.=0AX=0AXAuthor: John Forkosh <=
john at forkosh.com>=0AXWWW: http://www.forkosh.com/mimetex.html=0AEND-of-mime=
tex/pkg-descr=0Aecho x - mimetex/Makefile=0Ased 's/^X//' >mimetex/Makefile =
<< 'END-of-mimetex/Makefile'=0AX# New ports collection makefile for: mimete=
x=0AX# Date created: 2006-02-03=0AX# Whom: Nicola Vitale <nivit at email.it=
>=0AX#=0AX# $FreeBSD$=0AX#=0AX=0AXPORTNAME=3D mimetex=0AXPORTVERSION=3D 1.6=
0=0AXCATEGORIES=3D www math=0AXMASTER_SITES=3D http://www.forkosh.com/ \=0A=
X http://nivi.interfree.it/distfiles/${DIST_SUBDIR}/=0AXDISTNAME=3D ${PORT=
NAME}=0AXDIST_SUBDIR=3D ${PORTNAME}/${PORTVERSION}=0AX=0AXMAINTAINER=3D niv=
it at email.it=0AXCOMMENT=3D A CGI script that lets you embed LaTeX math in yo=
ur HTML pages=0AX=0AXNO_WRKSUBDIR=3D yes=0AXUSE_APACHE=3D yes=0AXUSE_ZIP=3D=
yes=0AX=0AXFETCH_CMD=3D /usr/bin/fetch -rR # see PR bin/76134=0AXLN_OPTS=
=3D -sf=0AX=0AXCGI_BIN=3D ${PREFIX}/www/cgi-bin/=0AXCGI_PRG=3D ${PORTNAME}.=
cgi=0AXWWW_DIR=3D ${PREFIX}/www/data/mimetex/=0AX=0AXdo-build:=0AX cd ${WRK=
DIR};\=0AX ${CC} ${CFLAGS} -DAA mimetex.c gifsave.c -lm -o ${CGI_PRG}=0AX=
=0AXdo-install:=0AX ${MKDIR} ${CGI_BIN}=0AX ${INSTALL_PROGRAM} ${WRKSRC}/${=
CGI_PRG} ${CGI_BIN}/${CGI_PRG}=0AX.if !defined(NOPORTDOCS)=0AX ${MKDIR} ${D=
OCSDIR}=0AX ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${DOCSDIR}=0AX ${MKD=
IR} ${WWW_DIR}=0AX ${LN} ${LN_OPTS} ${DOCSDIR}/${PORTNAME}.html ${WWW_DIR}/=
index.html=0AX.endif=0AX=0AXpost-install:=0AX ${CAT} ${PKGMESSAGE}=0AX=0AX.=
include <bsd.port.mk>=0AEND-of-mimetex/Makefile=0Aecho x - mimetex/pkg-plis=
t=0Ased 's/^X//' >mimetex/pkg-plist << 'END-of-mimetex/pkg-plist'=0AX at comme=
nt $FreeBSD$=0AX%%PORTDOCS%%%%DOCSDIR%%/mimetex.html=0AX%%PORTDOCS%%www/dat=
a/mimetex/index.html=0AXwww/cgi-bin/mimetex.cgi=0AX%%PORTDOCS%%@dirrm %%DOC=
SDIR%%=0AX%%PORTDOCS%%@dirrm www/data/mimetex=0AX at dirrmtry www/cgi-bin=0AEN=
D-of-mimetex/pkg-plist=0Aecho x - mimetex/distinfo=0Ased 's/^X//' >mimetex/=
distinfo << 'END-of-mimetex/distinfo'=0AXMD5 (mimetex/1.60/mimetex.zip) =3D=
9b201b0e36d83b2713caa9048958be82=0AXSHA256 (mimetex/1.60/mimetex.zip) =3D =
7cd7de6f62471301ebf58490e00a00ccc60728d629c2cdfcfb167dfe063e691b=0AXSIZE (m=
imetex/1.60/mimetex.zip) =3D 643731=0AEND-of-mimetex/distinfo=0Aecho x - mi=
metex/pkg-message=0Ased 's/^X//' >mimetex/pkg-message << 'END-of-mimetex/pk=
g-message'=0AX=0AX*********************************************************=
=0AX=0AX See online documentation at http://localhost/mimetex/=0AX=0AX****=
*****************************************************=0AEND-of-mimetex/pkg-=
message=0Aexit=0A=0A
--qDbXVdCdHGoSgWSk--
More information about the freebsd-ports-bugs
mailing list