summaryrefslogtreecommitdiff
path: root/math/naturalmath
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-12-03 06:20:00 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-12-03 06:20:00 +0000
commit93afc658ba8549898ba819c348a822edf65a0c54 (patch)
tree9ed1070c6504ff10fbec1dd421231f182d32aa32 /math/naturalmath
parentAdd xmms-sndstretch-0.5, a plugin for xmms to change the pitch and/or speed (diff)
Add naturalmath-0.5, a script to turn intuitively written math into latex
PR: 31701 Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
Notes
Notes: svn path=/head/; revision=50943
Diffstat (limited to 'math/naturalmath')
-rw-r--r--math/naturalmath/Makefile39
-rw-r--r--math/naturalmath/distinfo1
-rw-r--r--math/naturalmath/pkg-comment1
-rw-r--r--math/naturalmath/pkg-descr7
-rw-r--r--math/naturalmath/pkg-plist8
5 files changed, 56 insertions, 0 deletions
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