Ticket #38164: libarchive-3.1.2.diff

File libarchive-3.1.2.diff, 1.7 KB (added by arne-macports@…, 12 years ago)

same but as patch

  • Portfile

    old new  
    11# $Id: Portfile 96551 2012-08-14 03:31:25Z ryandesign@macports.org $
    22
    33PortSystem 1.0
    4 PortGroup        github 1.0
     4name       libarchive
     5homepage        http://libarchive.org/
     6master_sites    ${homepage}downloads/
     7version         3.1.2
     8
     9#distfiles       ${name}-${version}.tar.gz
    510
    6 github.setup     libarchive libarchive 2.8.5 v
    7 github.tarball_from downloads
    811categories       archivers
    912license          BSD
    1013maintainers      toby
     
    1215long_description \
    1316        Libarchive is a programming library that can create and \
    1417        read several different streaming archive formats, including \
    15         most popular tar variants and several cpio formats. It can \
     18        most popular tar variants, several cpio formats, 7zip and rar. It can \
    1619        also write shar archives.
    17 homepage         http://libarchive.github.com/
    1820platforms        darwin
    1921
    20 checksums        rmd160  b4b75a5cf5b15312dff8addde44d91161ad1a7a4 \
    21                  sha256  13993e0ffbd121ccda46ea226b1f8eac218de0fa8da7d8b1f998093d5c32a72d
     22checksums        rmd160  77c42598b754996481c1fa45c71eca5a428a094c \
     23                 sha256  eb87eacd8fe49e8d90c8fdc189813023ccc319c5e752b01fb6ad0cc7b2c53d5e
    2224
    2325depends_lib      port:bzip2 port:zlib port:openssl port:libxml2
    2426
    2527configure.args   --enable-bsdtar=shared --enable-bsdcpio=shared \
    2628                 --without-lzmadec --without-lzma
    2729
     30# For 7zip and rar support lzma is required, use the variant by default
     31default_variants +lzma
     32
    2833variant lzma description "LZMA support" {
    2934    configure.args-delete   --without-lzma
    3035    depends_lib-append      port:xz
    3136}
     37
     38livecheck.type  regex
     39livecheck.regex libarchive-(\[0-9.\]+)\\.tar.gz