# -*- 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 95573 2012-07-17 03:10:08Z ryandesign@macports.org $

PortSystem          1.0

name                lame
version             3.99.5
set branch          [join [lrange [split ${version} .] 0 1] .]
categories          audio
license             LGPL-2.1+
platforms           darwin freebsd
maintainers         nomaintainer

description         Lame Ain't 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.

homepage            http://lame.sourceforge.net/
master_sites        sourceforge:project/lame/lame/${branch}

depends_lib         port:ncurses \
                    port:libiconv

checksums           rmd160  8a0990af918b635cc79eb27a3beafc6c0ee13a9f \
                    sha256  24346b4158e4af3bd9f2e194bb23eb473c75fb7377011523353196b19b9a23ff

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