a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: $
PortSystem 1.0
name cadabra
version 0.100
categories math
platforms darwin
maintainers gwright@macports.org
description A field theory approach to symbolic computer algebra
long_description \
Cadabra is a computer algebra system for the manipulation \
of what could loosely be called tensorial expressions. It is \
aimed at, though not necessarily restricted to, theoretical \
high energy physicists. Because of its target audience, the \
program's interface, storage system and underlying philosophy \
differ substantially from other computer algebra systems.
homepage http://www.aei.mpg.de/~peekas/cadabra/
master_sites ${homepage}/
checksums sha1 be66cbec9b78a5172665ec7e5257c2184c31fa2a
depends_run port:TeXmacs
depends_lib port:modglue \
port:pcre \
port:pcre++ \
port:gmp \
port:LiE
configure.env CPPFLAGS=-I${prefix}/include
build { cd ${worksrcpath}
system "LDFLAGS=-L${prefix}/lib ${build.cmd} ${build.target}"
system "CDB_LOG=1 LDFLAGS=-L${prefix}/lib ${build.cmd} test"
system "CDB_LOG=1 LDFLAGS=-L${prefix}/lib ${build.cmd} advtest"
}