summaryrefslogtreecommitdiff
path: root/math/aamath
diff options
context:
space:
mode:
authorasau <asau>2009-09-05 17:32:40 +0000
committerasau <asau>2009-09-05 17:32:40 +0000
commit4232552521896583b843c7a424d2e226e4c3b689 (patch)
treefee126adfc01435ae9c0b496e2ad9e5421e9cd8a /math/aamath
parent76a6750cf55c6857eccc143532b2bb090033bc27 (diff)
downloadpkgsrc-4232552521896583b843c7a424d2e226e4c3b689.tar.gz
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.
Diffstat (limited to 'math/aamath')
-rw-r--r--math/aamath/DESCR24
-rw-r--r--math/aamath/Makefile27
-rw-r--r--math/aamath/PLIST3
-rw-r--r--math/aamath/distinfo5
4 files changed, 59 insertions, 0 deletions
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