# -*- 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 PortGroup cmake 1.0 PortGroup compiler_blacklist_versions 1.0 PortGroup cxx11 1.0 name clhep version 2.3.3.2 categories science maintainers mojca openmaintainer license LGPL-3 description A Class Library for High Energy Physics long_description A Class Library for High Energy Physics homepage http://www.cern.ch/clhep platforms darwin extract.suffix .tgz master_sites http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/ # http://git.cern.ch/pubweb/CLHEP.git checksums rmd160 911ebd528c7e99e5571a637e8473d8b2b94c670d \ sha256 4e69a5afb1b7ecc435395195140afc85bbbb9f4d3572f59451c3882f3015a7c1 cmake.out_of_source yes worksrcdir ${version}/CLHEP configure.cxx_stdlib libc++ # https://its.cern.ch/jira/browse/CLHEP-134 compiler.blacklist-append *gcc* {clang < 600} macports-clang-3.3 macports-clang-3.4 compiler.fallback-append macports-clang-3.8 macports-clang-3.7 macports-clang-3.6 macports-clang-3.5 post-build { fs-traverse file ${build.dir} { if {[string match {*-config} ${file}]} { reinplace -E {s|-arch [^ ]+||g} ${file} } } } configure.ldflags-append -stdlib=libc++ livecheck.type regex # livecheck.url http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/ livecheck.url http://proj-clhep.web.cern.ch/proj-clhep/clhep23.html livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}