[108124] trunk/dports/math/cadabra/Portfile
larryv at macports.org
larryv at macports.org
Sat Jul 13 08:54:02 PDT 2013
Revision: 108124
https://trac.macports.org/changeset/108124
Author: larryv at macports.org
Date: 2013-07-13 08:54:01 -0700 (Sat, 13 Jul 2013)
Log Message:
-----------
cadabra: Add modeline, fix whitespace and formatting, move variants to end.
Modified Paths:
--------------
trunk/dports/math/cadabra/Portfile
Modified: trunk/dports/math/cadabra/Portfile
===================================================================
--- trunk/dports/math/cadabra/Portfile 2013-07-13 15:26:44 UTC (rev 108123)
+++ trunk/dports/math/cadabra/Portfile 2013-07-13 15:54:01 UTC (rev 108124)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -2,24 +3,26 @@
-name cadabra
-version 1.33
-revision 1
-categories math
-platforms darwin
-license GPL-3+
-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.
+name cadabra
+version 1.33
+revision 1
+categories math
+platforms darwin
+license GPL-3+
+maintainers gwright
-homepage http://cadabra.phi-sci.com/
-master_sites ${homepage}
+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.
-checksums rmd160 52686bdd7a635a6db30a91add951720f14c1ddc6 \
- sha256 075dad3a1a9fd8774473f6d28f036f65629a286304c02f0ac1e10be3cb2ebd12
+homepage http://cadabra.phi-sci.com/
+master_sites ${homepage}
+checksums rmd160 52686bdd7a635a6db30a91add951720f14c1ddc6 \
+ sha256 075dad3a1a9fd8774473f6d28f036f65629a286304c02f0ac1e10be3cb2ebd12
+
# Invalid C++, ticket #33045
@@ -32,12 +35,34 @@
# too. Furthermore, we cannot use anything except 4.2 because that will
# lead to cadabra being linked to two different libstdc++ libraries,
# with malloc failures as a result.
-configure.compiler apple-gcc-4.2
+configure.compiler apple-gcc-4.2
-variant texmacs description { install TeXmacs front end } {
- depends_run-append port:TeXmacs
- }
+depends_build port:pkgconfig \
+ port:pcrexx
+depends_lib port:modglue \
+ port:pcre \
+ port:gmp \
+ port:LiE
+
+configure.args --disable-gui \
+ --disable-runtime-dependency-check
+
+build.env CC=${configure.cc} \
+ CXX=${configure.cxx}
+
+test.run yes
+test.env CDB_LOG=1
+test.target test advtest
+
+post-activate {
+ system "${prefix}/bin/texhash"
+}
+
+variant texmacs description {install TeXmacs front end} {
+ depends_run-append port:TeXmacs
+}
+
# Legacy no_gui variant to be removed after July 2014
variant no_gui conflicts gui description {Legacy compatibility variant} {}
variant gui description {build with GUI} {
@@ -53,24 +78,3 @@
} else {
default_variants +gui
}
-
-depends_build port:pkgconfig \
- port:pcrexx
-
-depends_lib port:modglue \
- port:pcre \
- port:gmp \
- port:LiE
-
-configure.args --disable-gui \
- --disable-runtime-dependency-check
-
-build.env CC=${configure.cc} CXX=${configure.cxx}
-
-test.run yes
-test.env CDB_LOG=1
-test.target test advtest
-
-post-activate {
- system "${prefix}/bin/texhash"
- }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130713/55f84d99/attachment-0001.html>
More information about the macports-changes
mailing list