1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name wandio |
---|
7 | version 1.0.3 |
---|
8 | |
---|
9 | categories devel |
---|
10 | maintainers caida.org:alistair \ |
---|
11 | openmaintainer |
---|
12 | description C library for compressed file I/O |
---|
13 | long_description Libwandio is a software library written in C that provides \ |
---|
14 | an API for transparently reading from and writing to files \ |
---|
15 | using a variety of supported compression methods. I/O \ |
---|
16 | performance is improved by doing any compression and/or \ |
---|
17 | decompression using a separate thread. |
---|
18 | |
---|
19 | platforms darwin |
---|
20 | license GPL-2 |
---|
21 | |
---|
22 | homepage http://research.wand.net.nz/software/libwandio.php |
---|
23 | master_sites http://research.wand.net.nz/software/wandio/ |
---|
24 | |
---|
25 | checksums rmd160 39af9d065b54e7a9602463f0dbb3b784a0bd85f4 \ |
---|
26 | sha256 31dcc1402ace3023020446d6c7284fd84447f9b36e570206a179895e1eaa705b |
---|
27 | |
---|
28 | variant zlib description {Build ZLIB (gz) support} { |
---|
29 | depends_lib-append port:zlib |
---|
30 | configure.args-delete --without-zlib |
---|
31 | configure.args-append --with-zlib |
---|
32 | } |
---|
33 | |
---|
34 | variant bzip2 description {Build BZIP2 (bz2) support} { |
---|
35 | depends_lib-append port:bzip2 |
---|
36 | configure.args-delete --without-bzip2 |
---|
37 | configure.args-append --with-bzip2 |
---|
38 | } |
---|
39 | |
---|
40 | variant lzo description {Build LZO support} { |
---|
41 | depends_lib-append port:lzo2 |
---|
42 | configure.args-delete --without-lzo2 |
---|
43 | configure.args-append --with-lzo2 |
---|
44 | } |
---|
45 | |
---|
46 | variant lzma description {Build LZMA (xz) support} { |
---|
47 | depends_lib-append port:xz |
---|
48 | configure.args-delete --without-lzma |
---|
49 | configure.args-append --with-lzma |
---|
50 | } |
---|
51 | |
---|
52 | variant http description {Build HTTP support} { |
---|
53 | depends_lib-append port:curl |
---|
54 | configure.args-delete --without-http |
---|
55 | configure.args-append --with-http |
---|
56 | } |
---|
57 | |
---|
58 | default_variants +zlib +bzip2 +http |
---|
59 | |
---|
60 | test {} |
---|