# $Id: Portfile 47911 2009-03-09 22:10:16Z blb@macports.org $

PortSystem 1.0

name			dvdrtools
version			0.2.1
categories		sysutils
platforms		darwin
maintainers		nomaintainer
description		a fork of cdrtools DVD writer support
long_description	"Linux dvd-rw/dvd-r writing made easy and free..." \
				Dvdrtools is a fork of cdrtools, with the primary goal of \
				supporting writable DVD drives. \
				Note, this port conflicts with the cdrtools port.
homepage		http://www.nongnu.org/dvdrtools/
master_sites	http://savannah.nongnu.org/download/dvdrtools/
checksums		md5 e82d359137e716e8c0b04d5c73bd3e79

platform darwin {
	configure.env	LIBS="-lIOKit -framework CoreFoundation"
	patchfiles		patch-scsi-mac-iokit.c \
				patch-cdda2wav-cdda2wav.c \
				patch-cdrecord-cdrecord.c
}

configure.args	--mandir=${prefix}/share/man
