From d24d2efda3ff543d042d5cffbf5543f340f38847 Mon Sep 17 00:00:00 2001 From: asau Date: Sat, 5 Sep 2009 17:32:40 +0000 Subject: Import aamath 0.3 as math/aamath. aamath is a program that reads mathematical expressions in infix notation and renders them as ASCII art. It may be useful to send mathematics through text-only media, such as e-mail or newsgroups. Packaged by Emil Skoeldberg for pkgsrc-wip. --- math/aamath/DESCR | 24 ++++++++++++++++++++++++ math/aamath/Makefile | 27 +++++++++++++++++++++++++++ math/aamath/PLIST | 3 +++ math/aamath/distinfo | 5 +++++ 4 files changed, 59 insertions(+) create mode 100644 math/aamath/DESCR create mode 100644 math/aamath/Makefile create mode 100644 math/aamath/PLIST create mode 100644 math/aamath/distinfo (limited to 'math/aamath') diff --git a/math/aamath/DESCR b/math/aamath/DESCR new file mode 100644 index 00000000000..07c18fc0165 --- /dev/null +++ b/math/aamath/DESCR @@ -0,0 +1,24 @@ +aamath is a program that reads mathematical expressions in infix +notation and renders them as ASCII art. It may be useful to send +mathematics through text-only media, such as e-mail or newsgroups. + +As a simple example, the output for an expression such as + + A_OPR = x*sqrt(x^2-1)/2 - int(sqrt(t^2-1), t = 1 .. x) + +will look like + + x + ______ / + / 2 | ______ + x \/ x - 1 | / 2 +A = ----------- - | \/ t - 1 dt + OPR 2 | + | + / + 1 + +Other than the usual operations (addition, subtraction, +multiplication, division, and exponentiation), aamath can also handle +functions, integrals, limits, sums, products, matrices and +vectors. diff --git a/math/aamath/Makefile b/math/aamath/Makefile new file mode 100644 index 00000000000..981dc79abef --- /dev/null +++ b/math/aamath/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/09/05 17:32:40 asau Exp $ +# + +DISTNAME= aamath-0.3 +PKGREVISION= 1 +CATEGORIES= math +MASTER_SITES= http://fuse.superglue.se/aamath/ + +MAINTAINER= emil@math.su.se +HOMEPAGE= http://fuse.superglue.se/aamath/ +COMMENT= ASCII art mathematics + +PKG_DESTDIR_SUPPORT= user-destdir +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 + +WRKSRC= ${WRKDIR}/aamath +USE_LANGUAGES= c++ +MAKE_JOBS_SAFE= no + +BUILD_TARGET= aamath + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/aamath ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/aamath.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + +.include "../../devel/readline/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/math/aamath/PLIST b/math/aamath/PLIST new file mode 100644 index 00000000000..0069dd530fa --- /dev/null +++ b/math/aamath/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/09/05 17:32:40 asau Exp $ +bin/aamath +man/man1/aamath.1 diff --git a/math/aamath/distinfo b/math/aamath/distinfo new file mode 100644 index 00000000000..ab0d005abc0 --- /dev/null +++ b/math/aamath/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/09/05 17:32:40 asau Exp $ + +SHA1 (aamath-0.3.tar.gz) = dc68abaf2131c73ddb1a520c95d65596e30f1b0a +RMD160 (aamath-0.3.tar.gz) = 396ce7213a30a5c133dc964e2a531fe28a24b6c0 +Size (aamath-0.3.tar.gz) = 21894 bytes -- cgit v1.2.3