Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2001 19:34:01 -0600 (CST)
From:      Stephen Montgomery-Smith <stephen@cauchy.math.missouri.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/31701: New port: script to convert intuitive math to latex
Message-ID:  <200111020134.fA21Y1P33774@cauchy.math.missouri.edu>

next in thread | raw e-mail | index | archive | help

>Number:         31701
>Category:       ports
>Synopsis:       New port: script to convert intuitive math to latex
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 01 17:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Montgomery-Smith
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
University of Missouri
>Environment:
System: FreeBSD cauchy 4.4-STABLE FreeBSD 4.4-STABLE #0: Sat Oct 13 10:12:39 CDT 2001 stephen@cauchy:/usr/obj/usr/src/sys/cauchy i386


	
>Description:

Natural Math is a script that converts intuitively written math into latex.

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	naturalmath
#	naturalmath/Makefile
#	naturalmath/pkg-comment
#	naturalmath/pkg-descr
#	naturalmath/pkg-plist
#	naturalmath/distinfo
#
echo c - naturalmath
mkdir -p naturalmath > /dev/null 2>&1
echo x - naturalmath/Makefile
sed 's/^X//' >naturalmath/Makefile << 'END-of-naturalmath/Makefile'
X# New ports collection makefile for:    naturalmath
X# Date created:                1 November 2001
X# Whom:                        Stephen Montgomery-Smith
X#
X# $FreeBSD$
X#
X
XPORTNAME=	naturalmath
XPORTVERSION=	0.5
XCATEGORIES=	math
XMASTER_SITES=	http://www.math.missouri.edu/~stephen/naturalmath/
X
XMAINTAINER=	stephen@math.missouri.edu
X
XBUILD_DEPENDS=	latex:${PORTSDIR}/print/teTeX
X
Xdo-build:
X	(cd ${WRKSRC}; ./naturalmath tutor.nat; latex tutor; latex tutor; \
X	 dvips tutor -o tutor.ps)
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/naturalmath ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/naturalmath
X	${INSTALL_DATA} ${WRKSRC}/install.html ${PREFIX}/share/doc/naturalmath
X	${INSTALL_DATA} ${WRKSRC}/tutor.nat ${PREFIX}/share/doc/naturalmath
X	${INSTALL_DATA} ${WRKSRC}/tutor.tex ${PREFIX}/share/doc/naturalmath
X	${INSTALL_DATA} ${WRKSRC}/tutor.dvi ${PREFIX}/share/doc/naturalmath
X	${INSTALL_DATA} ${WRKSRC}/tutor.ps ${PREFIX}/share/doc/naturalmath
X	${INSTALL_DATA} ${WRKSRC}/naturalmath.cgi ${PREFIX}/share/doc/naturalmath
X.endif
X
X.include <bsd.port.mk>
END-of-naturalmath/Makefile
echo x - naturalmath/pkg-comment
sed 's/^X//' >naturalmath/pkg-comment << 'END-of-naturalmath/pkg-comment'
XScript to turn intuitively written math into latex
END-of-naturalmath/pkg-comment
echo x - naturalmath/pkg-descr
sed 's/^X//' >naturalmath/pkg-descr << 'END-of-naturalmath/pkg-descr'
XThis program is an easy way to typeset mathematics.  You can try it
Xout at
Xhttp://cauchy.math.missouri.edu/~stephen/cgi-bin/naturalmath.cgi
XActually what it does is to convert text written in the Natural Math
Xlanguage into latex.
X
XWWW: http://www.math.missouri.edu/~stephen/naturalmath/
END-of-naturalmath/pkg-descr
echo x - naturalmath/pkg-plist
sed 's/^X//' >naturalmath/pkg-plist << 'END-of-naturalmath/pkg-plist'
Xbin/naturalmath
X%%PORTDOCS%%share/doc/naturalmath/install.html
X%%PORTDOCS%%share/doc/naturalmath/tutor.nat
X%%PORTDOCS%%share/doc/naturalmath/tutor.tex
X%%PORTDOCS%%share/doc/naturalmath/tutor.dvi
X%%PORTDOCS%%share/doc/naturalmath/tutor.ps
X%%PORTDOCS%%share/doc/naturalmath/naturalmath.cgi
X%%PORTDOCS%%@dirrm share/doc/naturalmath
END-of-naturalmath/pkg-plist
echo x - naturalmath/distinfo
sed 's/^X//' >naturalmath/distinfo << 'END-of-naturalmath/distinfo'
XMD5 (naturalmath-0.5.tar.gz) = 2414aaadf1bc6a524890db59e5c2a2c4
END-of-naturalmath/distinfo
exit


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111020134.fA21Y1P33774>