# $Id: Portfile,v 1.1 2005/05/25 15:57:56 olegb Exp $

PortSystem 1.0
name		libdv
version		0.104	
categories	multimedia
maintainers 	filippo.natali@gmail.com	
platforms	darwin
description	Quasar DV codec (libdv): software codec for DV video encoding format	
long_description	The Quasar DV codec (libdv) is a software codec for DV video, the \
			encoding format used by most digital camcorders, typically those \
			that support the IEEE 1394 (a.k.a. FireWire or i.Link) interface. \
			Libdv was developed according to the official standards for DV \
			video: IEC 61834 and SMPTE 314M.	

homepage	http://libdv.sourceforge.net	
master_sites	sourceforge

checksums	md5 f6b08efce7472daa20685e6e8431f542

depends_lib	lib:libpopt:popt

configure.args  --mandir=${prefix}/share/man   --disable-gtktest --disable-gtk --disable-sdltest

configure.env   CPPFLAGS="-I${prefix}/include" \
                LDFLAGS="-L${prefix}/lib -flat_namespace -undefined suppress"

variant gtk {
        configure.args-delete   --disable-gtktest --disable-gtk
        depends_lib-append      lib:libgtk.1:gtk1
}

variant sdl {
        configure.args-delete   --disable-sdltest
	configure.args-append	--enable-sdl
        depends_lib-append      lib:libSDL:libsdl
}

variant pal {
	configure.args-append	--with-pal-yuv
}
