PortSystem          1.0
PortGroup           muniversal 1.0

name                lzop
version             1.04
categories          sysutils compression
license             GPL-2+
maintainers         nomaintainer
description         Fast file compressor
long_description \
   lzop is a file compressor which is very similar to gzip. lzop uses the \
   LZO data compression library for compression services, and its main \
   advantages over gzip are much higher compression and decompression speed \
   (at the cost of some compression ratio).

homepage            http://www.lzop.org/
master_sites        ${homepage}/download/

platforms           darwin

checksums           sha1    3540761ce8fc6dc42c326a9fcb1471e190a4db62 \
                    rmd160  8db21dafffc368a44536c058be83af92ab2d2fc4

depends_lib         port:lzo2

configure.args      --mandir=${prefix}/share/man

post-destroot {
   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
   xinstall -m 644 -W ${worksrcpath}/doc lzop.html lzop.ps lzop.tex lzop.txt \
      ${destroot}${prefix}/share/doc/${name}
}
