source: trunk/dports/science/clhep/Portfile

Last change on this file was 154208, checked in by mojca@…, 13 months ago

clhep: upgrade to 2.3.3.2

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 154208 2016-10-24 13:47:24Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6PortGroup           compiler_blacklist_versions 1.0
7PortGroup           cxx11 1.0
8
9name                clhep
10version             2.3.3.2
11categories          science
12maintainers         mojca openmaintainer
13license             LGPL-3
14
15description         A Class Library for High Energy Physics
16long_description    A Class Library for High Energy Physics
17homepage            http://www.cern.ch/clhep
18platforms           darwin
19extract.suffix      .tgz
20master_sites        http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/
21#                   http://git.cern.ch/pubweb/CLHEP.git
22
23checksums           rmd160  911ebd528c7e99e5571a637e8473d8b2b94c670d \
24                    sha256  4e69a5afb1b7ecc435395195140afc85bbbb9f4d3572f59451c3882f3015a7c1
25
26cmake.out_of_source yes
27worksrcdir          ${version}/CLHEP
28
29configure.cxx_stdlib libc++
30# https://its.cern.ch/jira/browse/CLHEP-134
31compiler.blacklist-append *gcc* {clang < 600} macports-clang-3.3 macports-clang-3.4
32compiler.fallback-append macports-clang-3.8 macports-clang-3.7 macports-clang-3.6 macports-clang-3.5
33
34post-build {
35    fs-traverse file ${build.dir} {
36        if {[string match {*-config} ${file}]} {
37            reinplace -E {s|-arch [^ ]+||g} ${file}
38        }
39    }
40}
41configure.ldflags-append -stdlib=libc++
42
43livecheck.type      regex
44# livecheck.url     http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/
45livecheck.url       http://proj-clhep.web.cern.ch/proj-clhep/clhep23.html
46livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.