[144294] trunk/dports/science/lanHEP/Portfile
dstrubbe at macports.org
dstrubbe at macports.org
Tue Jan 5 17:48:16 PST 2016
Revision: 144294
https://trac.macports.org/changeset/144294
Author: dstrubbe at macports.org
Date: 2016-01-05 17:48:16 -0800 (Tue, 05 Jan 2016)
Log Message:
-----------
lanHEP: Use compilers portgroup for Fortran variants (default C compiler is now used). Handle stealth update.
Modified Paths:
--------------
trunk/dports/science/lanHEP/Portfile
Modified: trunk/dports/science/lanHEP/Portfile
===================================================================
--- trunk/dports/science/lanHEP/Portfile 2016-01-06 01:13:38 UTC (rev 144293)
+++ trunk/dports/science/lanHEP/Portfile 2016-01-06 01:48:16 UTC (rev 144294)
@@ -2,9 +2,11 @@
# $Id$
PortSystem 1.0
+PortGroup compilers 1.0
name lanHEP
version 3.1.7
+revision 1
categories science
maintainers nomaintainer
platforms darwin
@@ -27,14 +29,20 @@
master_sites http://theory.sinp.msu.ru/~semenov/
distname lhep${short_version}
+# stealth update, remove this with next proper update
+dist_subdir ${name}/${version}_1
extract.suffix .tgz
-checksums rmd160 6809ef8057c119141bc7c9cf2276658ac59fa3f5 \
- sha256 108a04e1b6a7b8ddeb13b1582adce15b8761f5accdb33051dae1f0bfbbd6da3b
+checksums rmd160 68b5c4df1c7664b81217a076b431a953e1d3e0a9 \
+ sha256 97e458626da9d9307a0189a20574fe671e384cf5143f5fa5c5ed4faf753f3fed
+
worksrcdir lanhep${short_version}
use_configure no
+compilers.choose fc
+compilers.setup require_fortran
+
pre-build {
build.args CC=${configure.cc} \
CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
@@ -60,25 +68,3 @@
xinstall -m 644 -W ${worksrcpath}/manuals man30.pdf man31.pdf \
${share}/doc/${name}
}
-
-variant gcc43 conflicts gcc45 gcc46 gcc47 description {Build with GCC 4.3} {
- configure.compiler macports-gcc-4.3
-}
-
-variant gcc45 conflicts gcc43 gcc46 gcc47 description {Build with GCC 4.5} {
- configure.compiler macports-gcc-4.5
-}
-
-variant gcc46 conflicts gcc43 gcc45 gcc47 description {Build with GCC 4.6} {
- configure.compiler macports-gcc-4.6
-}
-
-variant gcc47 conflicts gcc43 gcc45 gcc46 description {Build with GCC 4.7} {
- configure.compiler macports-gcc-4.7
-}
-
-if {![variant_isset gcc43] && ![variant_isset gcc45] &&
- ![variant_isset gcc46]
-} then {
- default_variants +gcc47
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160105/98a2b8b9/attachment-0001.html>
More information about the macports-changes
mailing list