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

PortSystem          1.0

name                oggsplit
version             0.1.0
revision            1
checksums           rmd160  762a9a5bac0ad12032a5c87dfced35cc90b3e716 \
                    sha256  22ede17b06e31b4869ef916eb49db89391de7240a73c24c96d6277ca94f78746 \
                    size    31318

categories          audio
license             GPL-2+
maintainers         nomaintainer
description         Split multiplexed (grouped or chained) Ogg files into separate streams
long_description \
    oggsplit is a simple tool for splitting multiplexed (grouped or chained) Ogg \
    files into separate streams. It can thus be used to take apart two concatenated \
    streams (i.e. it undoes the process of cat file1.ogg file2.ogg > file3.ogg) or \
    to split two streams which are grouped, for example the video and audio streams \
    in a theora+vorbis file

homepage            http://www.freshports.org/audio/oggsplit/
master_sites        ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
use_bzip2           yes

depends_build       port:autoconf port:automake

depends_lib         port:libogg

patchfiles          patch-system.h \
                    implicit.patch \
                    patch-xmalloc.c

pre-configure {
    system "cd ${worksrcpath} && ./autogen.sh"
}
