Ignore:
Timestamp:
Sep 19, 2009, 6:15:52 AM (11 years ago)
Author:
mww@…
Message:

remove variant 'with_default_names' and place a not gnu-prefixed version of gnutar in ${prefix}/libexec/gnubin (as discussed on @macports-dev);
increment revision (as this changes the default installation)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/archivers/gnutar/Portfile

    r57375 r57932  
    55name                gnutar
    66version             1.22
     7revision            1
    78categories          archivers
    89maintainers         mww
     
    3940    file rename ${destroot}${prefix}/share/info/tar.info-1 ${destroot}${prefix}/share/info/gnutar.info-1
    4041    file rename ${destroot}${prefix}/share/info/tar.info-2 ${destroot}${prefix}/share/info/gnutar.info-2
     42
     43    xinstall -m 755 -d ${destroot}/${prefix}/libexec/gnubin
     44    ln -sf ${prefix}/bin/gnutar ${destroot}${prefix}/libexec/gnubin/tar
    4145}
    42 
    43 variant with_default_names description {Install files without 'gnu' prefix} {
    44     post-destroot {
    45         foreach {d} {bin libexec share/info} {
    46             foreach {f} [glob -tails -directory ${destroot}${prefix}/${d} gnu*] {
    47                 ln -sf ${prefix}/${d}/${f} ${destroot}${prefix}/${d}/[string range ${f} 3 end]
    48             }
    49         }
    50     }
    51 }
    52 
    5346
    5447livecheck.type  regex
Note: See TracChangeset for help on using the changeset viewer.