[cig-commits] commit: update the Portfile for macport installation.
Mercurial
hg at geodynamics.org
Sat Aug 10 03:44:11 PDT 2013
changeset: 208:af6a7b4add7a
tag: tip
user: Sylvain Barbot <sbarbot at ntu.edu.sg>
date: Sat Aug 10 18:43:57 2013 +0800
files: release/ports/science/relax3d/Portfile
description:
update the Portfile for macport installation.
diff -r 1692d378d72f -r af6a7b4add7a release/ports/science/relax3d/Portfile
--- a/release/ports/science/relax3d/Portfile Thu Jul 25 11:01:14 2013 +0200
+++ b/release/ports/science/relax3d/Portfile Sat Aug 10 18:43:57 2013 +0800
@@ -21,6 +21,7 @@
homepage http://www.geodynamics.org/cig/software/relax/
master_sites http://www.geodynamics.org/cig/software/relax/macports
use_bzip2 yes
+
checksums rmd160 ed82d798758783657f54cd6d5cc6f274fa381793 \
sha256 1b5dd4914256a39c6fb64bc2fd29215f8f0d188c57a057c4c5fcc06a4068e0a9
@@ -28,15 +29,10 @@
port:gmt4 \
port:proj47 \
port:python27
-depends_run-append port:gmt4 \
- port:proj47 \
- port:fftw-3-single
# gmt4 is not universal
universal_variant no
-default_variants +gcc47
-
configure.ldflags-append "-L${prefix}/lib -lfftw3 -lfftw3_threads -lfftw3f -lfftw3f_threads"
configure.args --use-fftw \
@@ -52,26 +48,29 @@
destroot {
xinstall -m 755 ${worksrcpath}/build/relax ${destroot}${prefix}/bin/relax
- xinstall -m 755 ${worksrcpath}/man/man1/relax.1 ${destroot}${prefix}/share/man/man1/relax.1
+ xinstall -m 644 ${worksrcpath}/man/man1/relax.1 ${destroot}${prefix}/share/man/man1/relax.1
}
-variant gcc45 description {build with gfortran from gcc45} conflicts gcc46 gcc47 {
- configure.cc gcc-mp-4.5
- configure.fc gfortran-mp-4.5
- depends_build-append port:gcc45
+variant gcc45 conflicts gcc46 gcc47 gcc48 description {Compile with gcc 4.5} {
+ configure.compiler macports-gcc-4.5
require_active_variants fftw-3-single gcc45
}
-variant gcc46 description {build with gfortran from gcc46} conflicts gcc45 gcc47 {
- configure.cc gcc-mp-4.6
- configure.fc gfortran-mp-4.6
- depends_build-append port:gcc46
+variant gcc46 conflicts gcc45 gcc47 gcc48 description {Compile with gcc 4.6} {
+ configure.compiler macports-gcc-4.6
require_active_variants fftw-3-single gcc46
}
-variant gcc47 description {build with gfortran from gcc47} conflicts gcc45 gcc46 {
- configure.cc gcc-mp-4.7
- configure.fc gfortran-mp-4.7
- depends_build-append port:gcc47
+variant gcc47 conflicts gcc45 gcc46 gcc48 description {Compile with gcc 4.7} {
+ configure.compiler macports-gcc-4.7
require_active_variants fftw-3-single gcc47
}
+
+variant gcc48 conflicts gcc45 gcc46 gcc47 description {Compile with gcc 4.8} {
+ configure.compiler macports-gcc-4.8
+ require_active_variants fftw-3-single gcc48
+}
+
+if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc48]} {
+ default_variants +gcc47
+}
More information about the CIG-COMMITS
mailing list