# $Id: Portfile 86006 2011-10-18 07:52:13Z ryandesign@macports.org $

PortSystem        1.0

name              lame
version           3.99
revision          1
categories        audio
license           LGPL-2.1+
platforms         darwin freebsd
maintainers       nomaintainer

description       Lame Aint an MP3 Encoder
long_description  LAME is an educational tool to be used for learning \
  about MP3 encoding. The goal of the LAME project is to use the open \
  source model to improve the psycho acoustics, noise shaping and speed \
  of MP3. LAME is not for everyone - it is distributed as source code \
  only and requires the ability to use a C compiler.

homepage          http://lame.sourceforge.net/
#master_sites      sourceforge:project/lame/lame/${version}
master_sites      macports_distfiles

# 3.99 was stealth-updated; remove this next time
dist_subdir         ${name}/${version}_1

depends_lib         port:ncurses \
                    port:libiconv

checksums           rmd160  d8e10f0604646b1ba8dad9b01a525f2c6f28c969 \
                    sha256  d71d804c25cac69592939865033787849cef52b6c9b783ed31ea8dcebeadbbba

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

livecheck.type  regex
livecheck.url   ${homepage}
livecheck.regex "v(\\d+(?:\\.\\d+)*)"
