# $Id$ PortSystem 1.0 name cadabra version 1.29 revision 1 categories math platforms darwin maintainers gwright 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://cadabra.phi-sci.com/ master_sites ${homepage} checksums md5 ea6e64535e6a9abe8810e5baa6a579a8 \ sha1 e11102d1bfc1a8b9527cb71f06b334b0d934b150 \ rmd160 572924281546077b13327ba8958300b73f3ac092 # Invalid C++, ticket #33045 compiler.blacklist clang variant texmacs description { install TeXmacs front end } { depends_run-append port:TeXmacs } variant maintainer_tests description { debug tests used by the maintainer } { # This variant is only used for the value # of maintainer_tests. } variant no_gui description { do not build GUI } { depends_lib-delete port:gtkmm configure.args-append --disable-gui } patchfiles patch-Makefile.in.diff \ patch-configure.diff depends_build port:pkgconfig depends_lib port:modglue \ port:pcre \ port:gmp \ port:LiE \ port:gtkmm \ port:texlive \ port:texlive-bin-extra post-patch { reinplace "s|XXPATH_TO_GCCXX|${configure.cc}|" ${worksrcpath}/configure } build.env CC=${configure.cc} CXX=${configure.cxx} post-build { if {[variant_isset maintainer_tests]} { system "cd ${worksrcpath} && env CDB_LOG=1 ${build.cmd} test" system "cd ${worksrcpath} && env CDB_LOG=1 ${build.cmd} advtest" } } post-activate { system "${prefix}/bin/texhash" }