[94638] trunk/dports/math/eigen3/Portfile
eborisch at macports.org
eborisch at macports.org
Mon Jun 25 11:05:45 PDT 2012
Revision: 94638
https://trac.macports.org/changeset/94638
Author: eborisch at macports.org
Date: 2012-06-25 11:05:45 -0700 (Mon, 25 Jun 2012)
Log Message:
-----------
eigen3: Whitespace
Modified Paths:
--------------
trunk/dports/math/eigen3/Portfile
Modified: trunk/dports/math/eigen3/Portfile
===================================================================
--- trunk/dports/math/eigen3/Portfile 2012-06-25 16:20:36 UTC (rev 94637)
+++ trunk/dports/math/eigen3/Portfile 2012-06-25 18:05:45 UTC (rev 94638)
@@ -8,7 +8,8 @@
categories math science
maintainers eborisch \
openmaintainer
-description A C++ template library for linear algebra: vectors, matrices, and related algorithms.
+description A C++ template library for linear algebra: vectors, \
+ matrices, and related algorithms.
long_description ${description}
homepage http://eigen.tuxfamily.org/
platforms darwin
@@ -29,32 +30,42 @@
universal_variant yes
configure.universal_args ""
-# Install via CMake by default. Slower than a header-only install, but makes other CMake-based builds happy
+# Install via CMake by default. Slower than a header-only install, but makes
+# other CMake-based builds happy
default_variants +cmake
# Variants
-variant gcc44 description {Use MacPorts' gcc44 compilers} conflicts gcc45 gcc46 {
+variant gcc44 description {Use MacPorts' gcc44 compilers} \
+ conflicts gcc45 gcc46 {
depends_build-append port:gcc44
configure.compiler macports-gcc-4.4
}
-variant gcc45 description {Use MacPorts' gcc45 compilers} conflicts gcc44 gcc46 {
+variant gcc45 description {Use MacPorts' gcc45 compilers} \
+ conflicts gcc44 gcc46 {
depends_build-append port:gcc45
configure.compiler macports-gcc-4.5
}
-variant gcc46 description {Use MacPorts' gcc46 compilers} conflicts gcc44 gcc45 {
+variant gcc46 description {Use MacPorts' gcc46 compilers} \
+ conflicts gcc44 gcc45 {
depends_build-append port:gcc46
configure.compiler macports-gcc-4.6
}
-variant doc description {Place local documentation into <prefix>/share/doc/eigen3/html} requires cmake {
+variant doc \
+ description {Place local documentation into <prefix>/share/doc/eigen3/html} \
+ requires cmake {
depends_build-append port:doxygen port:texlive-latex
build.target-append doc
}
-variant blas description {Build eigen-based blas (libeigen_blas*)} requires cmake {
- if {![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
+variant blas description \
+ {Build eigen-based blas (libeigen_blas*) : needs +gcc4*} \
+ requires cmake {
+ if {![variant_isset gcc44] &&
+ ![variant_isset gcc45] &&
+ ![variant_isset gcc46]} {
ui_error "eigen3: ##### +blas needs either +gcc44 or +gcc45 or +gcc46 enabled #####"
return -code error
} else {
@@ -62,7 +73,8 @@
}
}
-variant cmake description {CMake-based install: Disabling removes CMake support} {
+variant cmake \
+ description {CMake-based install: Disabling removes CMake support} {
PortGroup muniversal 1.0
# Not using cmake portgroup as it sets -DCMAKE_OSX_ARCHITECTURES
# in a way we don't seem to be able disable.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120625/23a7331a/attachment.html>
More information about the macports-changes
mailing list