Ticket #32555: iAIDA-1.0.22-Portfile.patch

File iAIDA-1.0.22-Portfile.patch, 1.2 KB (added by apfeiffer1@…, 9 years ago)

Patch for iAIDA portfile needed for version 1.0.22 (and later)

  • Portfile

    diff --git a/Portfile b/Portfile
    index 71767ce..86bc7ec 100644
    a b  
    1 # $Id: Portfile 83385 2011-08-31 01:52:26Z dports@macports.org $
     1# $Id:$
    22
    33PortSystem          1.0
    44
    55name                iAIDA
    6 version             1.0.17
    7 revision        1
     6version             1.0.22
    87categories          science
    98maintainers         pd.infn.it:cristiano.fontana
    109license             LGPL-3
    platforms darwin 
    1514extract.suffix      .tgz
    1615master_sites        sourceforge:iaida
    1716
    18 checksums           md5 a352ea32ad61678cda6c94e299f94ca3
     17checksums           rmd160  fc7b97410ca75c11ed43a350b3e6c2e124ecbe8d \
     18                    sha256  6c1e55a141dbc431252174eb897114201859ce01f5aebb3f83984561dbb3cb61
    1919
    2020depends_lib         port:aida \
    2121                    port:grace \
    depends_lib port:aida \ 
    2727
    2828universal_variant   no
    2929
    30 patchfiles          patch-configure.diff
    31 
    3230post-patch {
     31
     32    reinplace "s:-install_name @PREFIX_DIR@/lib/:-install_name ${prefix}/lib/:g" ${worksrcpath}/src/Makefile.in
     33
    3334    foreach d {"" /examples /include /src /tests} {
    3435        reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}${d}/Makefile.in
    3536    }