Ticket #49363: Portfile

File Portfile, 2.0 KB (added by alistair@…, 9 years ago)

Portfile

Line 
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
4PortSystem          1.0
5
6name                wandio
7version             1.0.3
8
9categories          devel
10maintainers         caida.org:alistair \
11                    openmaintainer
12description         C library for compressed file I/O
13long_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
19platforms           darwin
20license             GPL-2
21
22homepage            http://research.wand.net.nz/software/libwandio.php
23master_sites        http://research.wand.net.nz/software/wandio/
24
25checksums           rmd160  39af9d065b54e7a9602463f0dbb3b784a0bd85f4 \
26                    sha256  31dcc1402ace3023020446d6c7284fd84447f9b36e570206a179895e1eaa705b
27
28variant 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
34variant 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
40variant 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
46variant 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
52variant 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
58default_variants    +zlib +bzip2 +http
59
60test                {}