Ignore:
Timestamp:
Jul 1, 2012, 12:55:56 PM (8 years ago)
Author:
afb@…
Message:

xz: upgrade to 5.0.4

Stop splitting the port into a static xz and a shared liblzma,
include everything in the "xz" port like done with bzip2 etc.
Ignore the license and bloat issues that this brings, for now.
Mark the "liblzma" port as being replaced_by the new xz port.

File:
1 edited

Legend:

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

    r80528 r94838  
    44
    55name            xz
    6 version         5.0.3
     6version         5.0.4
    77categories      archivers
    88# some executables are GPL, libs and everything else are public domain
     
    2121use_bzip2       yes
    2222
    23 checksums       sha1    79661fd1c24603437e325d76732046b1da683b32 \
    24                 rmd160  10127da6e2e35e5e92b3125f6088c756b80931e5
     23checksums       sha1    7dd986aa42e0181cad3af236826f65514d2f7c19 \
     24                rmd160  25463b22fb24156a5d6c62450265ebe1b29e670e
    2525
    2626depends_lib     port:libiconv port:gettext
    2727
    2828configure.args  --with-libiconv-prefix=${prefix} --with-libintl-prefix=${prefix}
    29 
    30 # previous version defaulted to static liblzma (through --enable-dynamic=mixed)
    31 configure.args-append --disable-shared
    3229
    3330# document that we always need legacy symlinks now that "lzmautils" refers here
     
    3734configure.cppflags -I${worksrcpath}/src/liblzma/check -I${prefix}/include
    3835
    39 # the library is being provided by the liblzma port instead
    40 post-destroot {
    41     file delete -force ${destroot}${prefix}/include/lzma.h
    42     file delete -force ${destroot}${prefix}/include/lzma
    43     foreach lib [glob ${destroot}${prefix}/lib/liblzma*] { file delete $lib }
    44     file delete ${destroot}${prefix}/lib/pkgconfig/liblzma.pc
    45 }
    46 
    4736livecheck.url   ${homepage}
    4837livecheck.regex xz-(\[0-9.a-z\]*)\.tar\.gz
Note: See TracChangeset for help on using the changeset viewer.