# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0

name             a52dec
version          0.7.4
categories       audio
maintainers      nomaintainer
description      library for decoding ATSC A/52 streams, aka AC-3
long_description \
	liba52 is a free library for decoding ATSC A/52 streams. \
	It is released under the terms of the GPL license. The \
	A/52 standard is used in a variety of applications, \
	including digital television and DVD. It is also known as AC-3.
homepage         http://liba52.sourceforge.net/
platforms        darwin
master_sites     ${homepage}files/
checksums        md5 caa9f5bc44232dc8aeea773fea56be80

configure.args   --enable-shared --mandir=${prefix}/share/man
configure.ccache no

livecheck.type   regex
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"

depends_build   port:libtool
pre-configure {
	system "cd ${worksrcpath} && autoreconf -fvi"
}
