Ticket #38164: Portfile

File Portfile, 1.3 KB (added by arne-macports@…, 11 years ago)
Line 
1# $Id: Portfile 96551 2012-08-14 03:31:25Z ryandesign@macports.org $
2
3PortSystem 1.0
4name       libarchive
5homepage        http://libarchive.org/
6master_sites    ${homepage}downloads/
7version         3.1.2
8
9#distfiles       ${name}-${version}.tar.gz
10
11categories       archivers
12license          BSD
13maintainers      toby
14description      functions for reading and writing streaming archives
15long_description \
16        Libarchive is a programming library that can create and \
17        read several different streaming archive formats, including \
18        most popular tar variants, several cpio formats, 7zip and rar. It can \
19        also write shar archives.
20platforms        darwin
21
22checksums        rmd160  77c42598b754996481c1fa45c71eca5a428a094c \
23                 sha256  eb87eacd8fe49e8d90c8fdc189813023ccc319c5e752b01fb6ad0cc7b2c53d5e
24
25depends_lib      port:bzip2 port:zlib port:openssl port:libxml2
26
27configure.args   --enable-bsdtar=shared --enable-bsdcpio=shared \
28                 --without-lzmadec --without-lzma
29
30# For 7zip and rar support lzma is required, use the variant by default
31default_variants +lzma
32
33variant lzma description "LZMA support" {
34    configure.args-delete   --without-lzma
35    depends_lib-append      port:xz
36}
37
38livecheck.type  regex
39livecheck.regex libarchive-(\[0-9.\]+)\\.tar.gz