Changeset 38699


Ignore:
Timestamp:
Jul 29, 2008, 7:26:21 AM (11 years ago)
Author:
ryandesign@…
Message:

mapm3: install a wrapper so the user doesn't have to set the MAPM_LIB environment variable himself

Location:
trunk/dports/science/mapm3
Files:
1 added
1 edited

Legend:

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

    r30251 r38699  
    55name                mapm3
    66version             3
    7 revision                        1
     7revision            2
    88platforms           darwin
    99maintainers         nomaintainer
     
    3333                    }
    3434
    35 
     35post-destroot {
     36    xinstall -d ${destroot}${prefix}/lib/${name}
     37    foreach prog {mapmaker qtl} {
     38        move ${destroot}${prefix}/bin/${prog} ${destroot}${prefix}/lib/${name}
     39        xinstall -m 755 ${filespath}/wrapper.in ${destroot}${prefix}/bin/${prog}
     40        reinplace "s%@PREFIX@%${prefix}%g" ${destroot}${prefix}/bin/${prog}
     41    }
     42}
    3643
    3744variant   large_datasets  {
Note: See TracChangeset for help on using the changeset viewer.