1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name xar |
---|
6 | version 1.6.1 |
---|
7 | |
---|
8 | categories archivers sysutils |
---|
9 | platforms darwin freebsd linux |
---|
10 | license BSD |
---|
11 | description xar is the eXtensible ARchiver |
---|
12 | maintainers mww |
---|
13 | long_description ${description} |
---|
14 | homepage http://mackyle.github.io/xar/ |
---|
15 | master_sites https://github.com/downloads/mackyle/xar/ |
---|
16 | checksums rmd160 4f33141a065e737af2d78b2f17da058010dcaf15 \ |
---|
17 | sha256 ee46089968457cf710b8cf1bdeb98b7ef232eb8a4cdeb34502e1f16ef4d2153e |
---|
18 | |
---|
19 | depends_lib port:bzip2 \ |
---|
20 | port:xz \ |
---|
21 | port:libiconv \ |
---|
22 | port:libxml2 \ |
---|
23 | path:lib/libssl.dylib:openssl \ |
---|
24 | port:zlib |
---|
25 | |
---|
26 | patchfiles patch-ext2.c |
---|
27 | |
---|
28 | configure.args --mandir=${prefix}/share/man \ |
---|
29 | --with-libz=${prefix} \ |
---|
30 | --with-libbzip2=${prefix} \ |
---|
31 | --with-liblzma=${prefix} \ |
---|
32 | --with-libcrypto=${prefix} \ |
---|
33 | --with-xml2-config=${prefix}/bin/xml2-config |
---|
34 | |
---|
35 | post-destroot { |
---|
36 | reinplace "s/installed=no/installed=yes/" ${destpath}${prefix}/lib/libxar.la |
---|
37 | } |
---|
38 | |
---|
39 | # ToDo: Switch livecheck to point at (for example): |
---|
40 | # https://github.com/mackyle/xar/archive/xar-1.6.1.tar.gz |
---|
41 | #livecheck.type regex |
---|
42 | #livecheck.url http://code.google.com/p/xar/downloads/list?can=2&q=&sort=-uploaded |
---|
43 | #livecheck.regex files/xar-(\[0-9\.\]+).tar.gz |
---|
44 | |
---|