# -*- 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$

PortSystem      1.0

name            schroedinger
version         1.0.11
categories      multimedia
license         {MPL-1.1 MIT LGPL-2 GPL-2}
maintainers     devans openmaintainer
platforms       darwin
homepage        http://diracvideo.org/
master_sites    http://diracvideo.org/download/${name}

description \
    Schroedinger is a high-speed implementation in C of the Dirac codec.

long_description \
    Schroedinger is a high-speed implementation in C of the Dirac codec. \
    The Schroedinger software is available under any of the GPLv2, MIT or \
    MPL licences. Libraries may also be used under LGPL.

checksums       md5     da6af08e564ca1157348fb8d92efc891 \
                sha1    c01ee0bed6c1bd7608763927f719f94ebc6aaa41 \
                rmd160  2246f07d2a7310d7a4fa8b79f62b28f65c780322

depends_build   port:pkgconfig

depends_lib     port:orc

patchfiles      patch-testsuite-Makefile.am.diff \
                patch-configure.ac.diff

use_autoreconf  yes
autoreconf.args -vfi

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