# -*- 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 85441 2011-10-13 23:36:35Z dports@macports.org $

PortSystem 1.0

name             a52dec
version          0.7.4
categories       audio
maintainers      nomaintainer
license          GPL-2+
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}"

use_autoreconf  yes
autoreconf.args -fvi
