Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Changeset 28483

Show
Ignore:
Timestamp:
09/01/07 11:25:52 (15 months ago)
Author:
nox@…
Message:

sharutils:

  • NLS is not anymore a variant.
  • Fixed livecheck.
  • Removed superfluous configure.args.
Files:
1 modified

Legend:

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

    r28060 r28483  
    2222use_bzip2                       yes 
    2323 
     24depends_lib                     port:gettext \ 
     25                                        port:libiconv 
     26 
    2427checksums                       md5 729c070d814d9c688489d88dd7fd3efb \ 
    2528                                        sha1 0b8c1d54fdcf97a93aba079d342d1873a8fc423b \ 
    2629                                        rmd160 6ef271d21ea41003ff13d6aef241c6a4fd4dc296 
    2730 
    28 configure.args-append   --mandir=${prefix}/share/man \ 
    29                                                 --infodir=${prefix}/share/info \ 
    30                                                 --disable-nls 
    31  
    32 set docdir                              ${prefix}/share/doc/${name}-${version} 
    33  
    3431post-destroot { 
     32        set docdir ${prefix}/share/doc/${name}-${version} 
    3533        xinstall -d ${destroot}${docdir} 
    36         xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README THANKS TODO \ 
    37                 ${destroot}${docdir} 
    38 } 
    39  
    40 variant nls description {Enable NLS support} { 
    41         depends_lib-append              port:gettext \ 
    42                                                         port:libiconv 
    43  
    44         configure.args-delete   --disable-nls 
    45  
    46         post-destroot { 
    47                 xinstall -m 0644 ${worksrcpath}/ABOUT-NLS ${destroot}${docdir} 
    48         } 
     34        xinstall -m 0644 -W ${worksrcpath} ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README THANKS \ 
     35                TODO ${destroot}${docdir} 
    4936} 
    5037 
    5138livecheck.check         regex 
    52 livecheck.url           http://ftp.gnu.org/gnu/sharutils/?M=D 
     39livecheck.url           http://ftp.gnu.org/gnu/sharutils/?C=M&O=D 
    5340livecheck.regex         REL-(\\d+(?:\\.\\d+)*) 
    5441