From ba332dcce76f7982caa2e7c55b28e71b024da9e9 Mon Sep 17 00:00:00 2001 From: petef Date: Mon, 3 Dec 2001 06:20:00 +0000 Subject: Add naturalmath-0.5, a script to turn intuitively written math into latex PR: 31701 Submitted by: Stephen Montgomery-Smith --- math/naturalmath/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ math/naturalmath/distinfo | 1 + math/naturalmath/pkg-comment | 1 + math/naturalmath/pkg-descr | 7 +++++++ math/naturalmath/pkg-plist | 8 ++++++++ 5 files changed, 56 insertions(+) create mode 100644 math/naturalmath/Makefile create mode 100644 math/naturalmath/distinfo create mode 100644 math/naturalmath/pkg-comment create mode 100644 math/naturalmath/pkg-descr create mode 100644 math/naturalmath/pkg-plist (limited to 'math/naturalmath') diff --git a/math/naturalmath/Makefile b/math/naturalmath/Makefile new file mode 100644 index 0000000..ff58fdc --- /dev/null +++ b/math/naturalmath/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: naturalmath +# Date created: 1 November 2001 +# Whom: Stephen Montgomery-Smith +# +# $FreeBSD$ +# + +PORTNAME= naturalmath +PORTVERSION= 0.5 +CATEGORIES= math +MASTER_SITES= http://www.math.missouri.edu/~stephen/naturalmath/ + +MAINTAINER= stephen@math.missouri.edu + +BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX + +USE_PERL5= yes + +post-patch: + @${PERL} -pi -e 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/naturalmath + +do-build: + (cd ${WRKSRC}; ./naturalmath tutor.nat; \ + ${LOCALBASE}/bin/latex tutor; ${LOCALBASE}/bin/latex tutor; \ + ${LOCALBASE}/bin/dvips tutor -o tutor.ps) + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/naturalmath ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/install.html ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/tutor.nat ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/tutor.tex ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/tutor.dvi ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/tutor.ps ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/naturalmath.cgi ${DOCSDIR} +.endif + +.include diff --git a/math/naturalmath/distinfo b/math/naturalmath/distinfo new file mode 100644 index 0000000..553da54 --- /dev/null +++ b/math/naturalmath/distinfo @@ -0,0 +1 @@ +MD5 (naturalmath-0.5.tar.gz) = 2414aaadf1bc6a524890db59e5c2a2c4 diff --git a/math/naturalmath/pkg-comment b/math/naturalmath/pkg-comment new file mode 100644 index 0000000..d31ac02 --- /dev/null +++ b/math/naturalmath/pkg-comment @@ -0,0 +1 @@ +Script to turn intuitively written math into latex diff --git a/math/naturalmath/pkg-descr b/math/naturalmath/pkg-descr new file mode 100644 index 0000000..da6f63f --- /dev/null +++ b/math/naturalmath/pkg-descr @@ -0,0 +1,7 @@ +This program is an easy way to typeset mathematics. You can try it +out at +http://cauchy.math.missouri.edu/~stephen/cgi-bin/naturalmath.cgi +Actually what it does is to convert text written in the Natural Math +language into latex. + +WWW: http://www.math.missouri.edu/~stephen/naturalmath/ diff --git a/math/naturalmath/pkg-plist b/math/naturalmath/pkg-plist new file mode 100644 index 0000000..085af37 --- /dev/null +++ b/math/naturalmath/pkg-plist @@ -0,0 +1,8 @@ +bin/naturalmath +%%PORTDOCS%%share/doc/naturalmath/install.html +%%PORTDOCS%%share/doc/naturalmath/naturalmath.cgi +%%PORTDOCS%%share/doc/naturalmath/tutor.dvi +%%PORTDOCS%%share/doc/naturalmath/tutor.nat +%%PORTDOCS%%share/doc/naturalmath/tutor.ps +%%PORTDOCS%%share/doc/naturalmath/tutor.tex +%%PORTDOCS%%@dirrm share/doc/naturalmath -- cgit v1.1