pkgsrc-wip/aamath/Makefile
Emil Sköldberg 0870b946f7 Import aamath-0.3 as wip/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.

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.
2009-04-02 16:51:09 +00:00

24 lines
582 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2009/04/02 16:51:09 emil_s Exp $
#
DISTNAME= aamath-0.3
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
WRKSRC= ${WRKDIR}/aamath
USE_LANGUAGES= c++
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"