# $Id: Portfile 67066 2010-04-28 08:34:22Z ryandesign@macports.org $

PortSystem	1.0

name		libdvdcss	
version		1.2.10
categories	devel multimedia
platforms	darwin freebsd
maintainers	nomaintainer
description	portable abstraction library for DVD decryption

long_description	libdvdcss is a simple library designed for accessing \
					DVDs like a block device without having to bother \
					about the decryption.

homepage		http://www.videolan.org/developers/libdvdcss.html
master_sites    http://download.videolan.org/pub/${name}/${version}/
use_bzip2		yes

checksums		md5 ebd5370b79ac5a83e5c61b24a214cf74 \
				sha1 7c933d011e34c218048d48f0c1a8b4ff56798dcd \
				rmd160 e896a7f3d482c2ce9dadf86fddc31804e7d8215d

configure.args	--disable-doc

post-destroot {
	set docdir ${prefix}/share/doc/${name}-${version}
	xinstall -d ${destroot}${docdir}
	xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
		${destroot}${docdir}
}
