# -*- 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
# $Id: Portfile 106904 2013-06-11 04:21:22Z rmstonecipher@macports.org $

PortSystem      1.0

name            libogg
version         1.3.1
categories      multimedia
license         BSD
platforms       darwin
use_parallel_build  yes
maintainers     rmstonecipher openmaintainer
description     Ogg Bitstream Library

long_description \
    Libogg is a library for manipulating ogg bitstreams. It handles both \
    making ogg bitstreams and getting packets from ogg bitstreams.

homepage        http://www.vorbis.com/
master_sites    http://downloads.xiph.org/releases/ogg/

checksums           rmd160  f73eae1a1c9850b7f41c7359da5da081df35d4e0 \
                    sha256  4e343f07aa5a1de8e0fa1107042d472186b3470d846b20b115b964eba5bae554

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -m 0644 -W ${worksrcpath} AUTHORS CHANGES COPYING README ${destroot}${docdir}
}

livecheck.url   ${master_sites}
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
