# $Id: Portfile,v 1.2 2005/06/20 23:50:32 matt Exp $

PortSystem 1.0

name			a52decX
version			0.25
categories		aqua multimedia
platforms		darwin
maintainers		darwinports@opendarwin.org
homepage		http://homepage1.nifty.com/~toku/software_en.html#a52decX
description		Converts AC-3 file to an AIFF file

long_description	a52decX converts an AC-3 file being used for the sound of \
			DVD-Video into an AIFF file.
			
			
master_sites		http://homepage1.nifty.com/~toku/software/
checksums		md5 7760780873de9b9c4d13e7d396f31b54

use_configure		no

pre-build {		system "cd ${worksrcpath}/a52dec/ ; make \
				&& cd ${worksrcpath}/lame/ ; make"
			}

build.type		pbx
build.target

destroot {		xinstall -d -m 755 ${destroot}/Applications/DarwinPorts
			file copy ${worksrcpath}/build/${name}.app \
				${destroot}/Applications/DarwinPorts/${name}.app
			}

