1 | # $Id: Portfile 96551 2012-08-14 03:31:25Z ryandesign@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name libarchive |
---|
5 | homepage http://libarchive.org/ |
---|
6 | master_sites ${homepage}downloads/ |
---|
7 | version 3.1.2 |
---|
8 | |
---|
9 | #distfiles ${name}-${version}.tar.gz |
---|
10 | |
---|
11 | categories archivers |
---|
12 | license BSD |
---|
13 | maintainers toby |
---|
14 | description functions for reading and writing streaming archives |
---|
15 | long_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. |
---|
20 | platforms darwin |
---|
21 | |
---|
22 | checksums rmd160 77c42598b754996481c1fa45c71eca5a428a094c \ |
---|
23 | sha256 eb87eacd8fe49e8d90c8fdc189813023ccc319c5e752b01fb6ad0cc7b2c53d5e |
---|
24 | |
---|
25 | depends_lib port:bzip2 port:zlib port:openssl port:libxml2 |
---|
26 | |
---|
27 | configure.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 |
---|
31 | default_variants +lzma |
---|
32 | |
---|
33 | variant lzma description "LZMA support" { |
---|
34 | configure.args-delete --without-lzma |
---|
35 | depends_lib-append port:xz |
---|
36 | } |
---|
37 | |
---|
38 | livecheck.type regex |
---|
39 | livecheck.regex libarchive-(\[0-9.\]+)\\.tar.gz |
---|