pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/aamath Import aamath 0.3 as math/aamath.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ada3f13a88fd
branches:  trunk
changeset: 398646:ada3f13a88fd
user:      asau <asau%pkgsrc.org@localhost>
date:      Sat Sep 05 17:32:40 2009 +0000

description:
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:

 math/aamath/DESCR    |  24 ++++++++++++++++++++++++
 math/aamath/Makefile |  27 +++++++++++++++++++++++++++
 math/aamath/PLIST    |   3 +++
 math/aamath/distinfo |   5 +++++
 4 files changed, 59 insertions(+), 0 deletions(-)

diffs (75 lines):

diff -r e42da3a3d41d -r ada3f13a88fd math/aamath/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/aamath/DESCR Sat Sep 05 17:32:40 2009 +0000
@@ -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 -r e42da3a3d41d -r ada3f13a88fd math/aamath/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/aamath/Makefile      Sat Sep 05 17:32:40 2009 +0000
@@ -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@localhost
+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 -r e42da3a3d41d -r ada3f13a88fd math/aamath/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/aamath/PLIST Sat Sep 05 17:32:40 2009 +0000
@@ -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 -r e42da3a3d41d -r ada3f13a88fd math/aamath/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/aamath/distinfo      Sat Sep 05 17:32:40 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index