summaryrefslogtreecommitdiffstats
path: root/math/naturalmath
diff options
context:
space:
mode:
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 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 <bsd.port.mk>
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
OpenPOWER on IntegriCloud