# $Id: Portfile 67323 2010-05-05 15:51:10Z vinc17@macports.org $

PortSystem 1.0

name                lzip
version             1.10
epoch               20091025
categories          archivers
platforms           darwin
maintainers         vinc17 openmaintainer
description         Compression program based on LZMA similar to gzip or bzip2
long_description    Lzip is a lossless data compressor based on the LZMA    \
                    algorithm, with very safe integrity checking and a      \
                    user interface similar to the one of gzip or bzip2.     \
                    Lzip decompresses almost as fast as gzip and compresses \
                    better than bzip2, which makes it well suited for       \
                    software distribution and data archiving.
homepage            http://www.nongnu.org/lzip/lzip.html
master_sites        http://download.savannah.gnu.org/releases/lzip/
checksums           md5     84879f20450a69a94e125a67f4724d12 \
                    sha1    ac2ac4be12cfbd9ba28998a52e5a2ab957369408 \
                    rmd160  164cf51f1b3163a247da87e95009467ee70117c9

post-destroot {
    set docdir ${destroot}${prefix}/share/doc/${name}
    file mkdir ${docdir}
    xinstall -m 644 -v -W ${worksrcpath} \
      AUTHORS ChangeLog COPYING NEWS ${docdir}
}

livecheck.type      regex
livecheck.url       ${master_sites}/?C=M&O=D
livecheck.regex     ${name}-(\[-0-9.\]+)\\.tar\\.gz
