source: trunk/dports/science/clhep/Portfile @ 121114

Last change on this file since 121114 was 121114, checked in by mojca@…, 6 years ago

clhep: cppflags are no longer there (#42872)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
RevLine 
[88335]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
[62790]2# $Id: Portfile 121114 2014-06-17 20:55:48Z mojca@macports.org $
3
4PortSystem          1.0
[88364]5PortGroup           cmake 1.0
[117888]6PortGroup           compiler_blacklist_versions 1.0
[62790]7
8name                clhep
[120006]9version             2.1.4.2
[62790]10categories          science
[107535]11maintainers         mojca openmaintainer
[88364]12license             LGPL-3
13
[62790]14description         A Class Library for High Energy Physics
15long_description    A Class Library for High Energy Physics
16homepage            http://www.cern.ch/clhep
17platforms           darwin
[62791]18extract.suffix      .tgz
[62790]19master_sites        http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/
[117827]20#                   http://git.cern.ch/pubweb/CLHEP.git
[62790]21
[120006]22checksums           rmd160  73daadddb9541f5ad0b336a42159c675d7ab5b20 \
23                    sha256  ffd72997fb921fa7ef770c40c6bb12f603aa4761e642dc577160d1ee2aa695f0
[62790]24
25worksrcdir          ${version}/CLHEP
26
[88364]27configure.dir       ${workpath}/build
28build.dir           ${configure.dir}
29
30post-extract {
31    file mkdir ${configure.dir}
[62790]32}
[63750]33
[88364]34configure.post_args ${worksrcpath}
35
[63750]36post-build {
[88363]37    fs-traverse file ${build.dir} {
38        if {[string match {*-config} ${file}]} {
39            reinplace -E {s|-arch [^ ]+||g} ${file}
40        }
41    }
[63750]42}
[88334]43
44livecheck.type      regex
[116065]45livecheck.url       http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/
46livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.