PortSystem      1.0

name            ppmd
version         20050811
categories      archivers
license         public-domain
platforms       darwin
maintainers     nomaintainer
description     A fast archiver with a good compression ratio

long_description \
    PPMD is a fast archiver with a good compression ratio. It is written for embedding \
    in user programs mainly it is not intended for immediate use. Speed and performance \
    improvements of abstract PPM model 1-6 are the main goal.

homepage        http://packages.debian.org/unstable/utils/ppmd
master_sites    http://critical.ch/distfiles/

checksums       md5 59727053ba0ec35ba83f3547f55c0bbc \
                sha1 317169ab6d0a48d5c482d900d80f68b4842f3066 \
                rmd160 c0d146544dcb9408910b351fc6be337d1735796f

use_configure   no

build.type      bsd
build.args      "CXXFLAGS=\"${configure.cflags}\""
build.env       CXX=${configure.cxx}

destroot {
    xinstall ${worksrcpath}/ppmd ${destroot}${prefix}/bin
    xinstall -m 0444 ${worksrcpath}/ppmd.1 ${destroot}${prefix}/share/man/man1

    set docdir ${prefix}/share/doc/${name}-${version}
    xinstall -d ${destroot}${docdir}
    xinstall -m 0644 ${worksrcpath}/read_me.txt ${destroot}${docdir}
}

variant universal {
    build.args "CXXFLAGS=\"${configure.cflags} ${configure.universal_cflags}\""
}

livecheck.type  none
