diff options
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/naturalmath/Makefile | 39 | ||||
-rw-r--r-- | math/naturalmath/distinfo | 1 | ||||
-rw-r--r-- | math/naturalmath/pkg-comment | 1 | ||||
-rw-r--r-- | math/naturalmath/pkg-descr | 7 | ||||
-rw-r--r-- | math/naturalmath/pkg-plist | 8 |
6 files changed, 57 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index 34194caa958b..02bb7ec370fa 100644 --- a/math/Makefile +++ b/math/Makefile @@ -51,6 +51,7 @@ SUBDIR += metis SUBDIR += mtrxmath SUBDIR += mupad + SUBDIR += naturalmath SUBDIR += nauty SUBDIR += netcdf SUBDIR += ngraph diff --git a/math/naturalmath/Makefile b/math/naturalmath/Makefile new file mode 100644 index 000000000000..ff58fdcca272 --- /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 <bsd.port.mk> diff --git a/math/naturalmath/distinfo b/math/naturalmath/distinfo new file mode 100644 index 000000000000..553da5437677 --- /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 000000000000..d31ac0237332 --- /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 000000000000..da6f63f729c5 --- /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 000000000000..085af37eaf39 --- /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 |