Changeset 108071


Ignore:
Timestamp:
Jul 12, 2013, 10:30:28 AM (7 years ago)
Author:
mojca@…
Message:

iAIDA: upgrade to 1.1.2, cmake-based build from github, new maintainers (#39610), fixes #39675

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/iAIDA/Portfile

    r96870 r108071  
     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
    12# $Id$
    23
    34PortSystem          1.0
     5PortGroup           cmake 1.0
     6PortGroup           github 1.0
     7
     8github.setup        apfeiffer1 iAIDA 1.1.2 iAIDA-
    49
    510name                iAIDA
    6 version             1.0.22
    711categories          science
    8 maintainers         pd.infn.it:cristiano.fontana
     12maintainers         mojca gmail.com:apfeiffer1 openmaintainer
    913license             LGPL-3
    1014description         An implementation in C++ of the AIDA Abstract Interfaces for Data Analysis
     
    1216homepage            http://iaida.dynalias.net/
    1317platforms           darwin
    14 extract.suffix      .tgz
    15 master_sites        sourceforge:iaida
     18# alternative download sites
     19# extract.suffix      .tgz
     20# master_sites        sourceforge:iaida
     21# master_sites        http://iaida.dynalias.net/downloads/
    1622
    17 checksums           rmd160  fc7b97410ca75c11ed43a350b3e6c2e124ecbe8d \
    18                     sha256  6c1e55a141dbc431252174eb897114201859ce01f5aebb3f83984561dbb3cb61
     23checksums           rmd160  9df31ae94cfa5578ee5887b233f8e27787677a16 \
     24                    sha256  f816823de3d663ad509c84c1a89297bbc344eadaf049dd62b41ab6fa446b5432
    1925
    2026depends_lib         port:aida \
     
    2632                    port:zlib
    2733
    28 universal_variant   no
     34configure.dir       ${workpath}/build
     35build.dir           ${configure.dir}
    2936
    30 post-patch {
    31 
    32     reinplace "s:-install_name @PREFIX_DIR@/lib/:-install_name ${prefix}/lib/:g" ${worksrcpath}/src/Makefile.in
    33 
    34     foreach d {"" /examples /include /src /tests} {
    35         reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}${d}/Makefile.in
    36     }
     37post-extract {
     38    file mkdir ${configure.dir}
    3739}
    3840
    39 configure.args      --with-grace=${prefix} \
    40                     --with-boost=${prefix} \
    41                     --with-aida=${prefix}/include
    42 
    43 build.args          CXX=${configure.cxx}
    44 
    45 post-build {
    46     system "cd ${worksrcpath}/examples && make ${build.args}"
    47     system "cd ${worksrcpath}/tests && make ${build.args}"
    48 
    49     foreach f {examples/Makefile examples/Makefile.in tests/Makefile tests/Makefile.in tests/runTests.py tests/runTests.py.in} {
    50         reinplace "s:../bin/aida-config:aida-config:g" ${worksrcpath}/${f}
    51     }
    52 
    53     foreach f {tests/runTests.py tests/runTests.py.in} {
    54         reinplace "s:logFile = entry+'.log':logFile = '/tmp/'+entry+'.log':g" ${worksrcpath}/${f}
    55     }
    56 }
    57 
    58 post-destroot {
    59     xinstall -d ${destroot}${prefix}/share/${name}
    60     file copy ${worksrcpath}/examples ${worksrcpath}/tests ${destroot}${prefix}/share/${name}
    61 
    62     file copy ${worksrcpath}/src ${destroot}${prefix}/src/${name}
    63 }
     41configure.post_args ${worksrcpath}/${name}
Note: See TracChangeset for help on using the changeset viewer.