# $Id: Portfile 37770 2008-06-22 18:16:47Z gwright@macports.org $ PortSystem 1.0 name cadabra version 0.136 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 md5 f0b57b39901c3d3717dd3c03c7e5adea \ sha1 f3e48ab63528196910f40cf3aafe82f6a586cfa2 \ rmd160 23b60f35e8484ca1a8e7fe55cbafd03753c052c5 variant texmacs description { install TeXmacs from end } { depends_run port:TeXmacs } variant no_gui description { do not build GUI } { depends_lib-delete port:gtkmm configure.args-append --disable-gui } patchfiles patch-Makefile.in.diff depends_lib port:modglue \ port:pcre \ port:gmp \ port:LiE \ port:gtkmm \ port:texlive build.env CC=gcc CXX=g++ post-build { system "env CDB_LOG=1 ${build.cmd} advtest" } post-activate { system "texhash" }