Portfile

# $Id: Portfile 22118 2007-02-18 00:25:49Z mww@macports.org $

PortSystem 1.0

name aamath
version 0.3
categories math textproc
platforms darwin
maintainers nomaintainer@macports.org
description renders ASCII art from mathematical expressions
long_description 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.

homepage http://fuse.superglue.se/aamath/
master_sites http://fuse.superglue.se/aamath/
checksums md5 f0e835bd06069b1bdaddd9e9c3447c12
patchfiles patch-Makefile

worksrcdir aamath

use_configure no

build.env CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib

platform darwin 8 {
build.args CXX=/usr/bin/g++-4.0 LD=/usr/bin/g++-4.0
}

destroot {
xinstall -m 755 ${worksrcpath}/aamath ${destroot}${prefix}/bin
xinstall -m 644 ${worksrcpath}/aamath.1 ${destroot}${prefix}/share/man/man1
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog README \
${destroot}${prefix}/share/doc/${name}
}

files