PortSystem			1.0

name				oggsplit
version				0.1.0
revision            1
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

platforms			darwin

homepage			http://www.freshports.org/audio/oggsplit/

master_sites		ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/

use_bzip2           yes

checksums			md5 a0cfe3258930ed3c6bf678ac996725e1

depends_build       port:autoconf port:automake
depends_lib			port:libogg

patchfiles          patch-system.h \
                    patch-xmalloc.c
                    
pre-configure {
    system "cd ${worksrcpath} && ./autogen.sh"
}