# $Id: Portfile,v 1.3 2004/01/21 20:26:20 matt Exp $

PortSystem 1.0
name		libdvdread
version		0.9.4
revision	0
categories	devel multimedia
maintainers	darwinports@opendarwin.org
description	simple foundation for reading DVD-Video images 
long_description	\
	libdvdread provides a simple foundation for reading DVD-Video \
	images.	It offers DVD applications: \
	\
	1. A simple abstraction for reading the files on a DVD image \
	   (dvd_reader.h). \
	2. A simple library for parsing the information (IFO) files \
	   (ifo_read.h/ifo_types.h). \
	3. A simple library for parsing the navigation (NAV) packets \
	   (nav_read.h/nav_types.h).
homepage	http://www.dtek.chalmers.se/groups/dvd/ 
platforms	darwin
master_sites	\
	http://www.dtek.chalmers.se/groups/dvd/dist/
checksums	md5 06353d7b14541ff8b431e69ad404db84
configure.env \
	LDFLAGS="-L${prefix}/lib" \
 	CPPFLAGS="-I${prefix}/include -no-cpp-precomp"
default_variants	+libdvdcss

variant libdvdcss {
	depends_lib-append	lib:libdvdcss:libdvdcss
	configure.args-append	--with-libdvdcss
}
