# $Id: Portfile 54117 2009-07-21 16:51:34Z macsforever2000@macports.org $

PortSystem 1.0
PortGroup python25 1.0

name            mimms
version         3.2.1
categories      multimedia
maintainers     boeyms gmail.com:cedric.luthi openmaintainer
description     MiMMS isn't an MMS Message Sender, it's an MMS \
                (e.g. mms://) stream downloader.
long_description \
    MiMMS is a program designed to allow you to download streams using the MMS \
    protocol and save them to your computer, as opposed to watching them live. \
    Similar functionality is available in full media player suites such as \
    Xine and MPlayer, but MiMMS is quick and easy to use, and for the time \
    being, remains a useful program.
homepage        http://savannah.nongnu.org/projects/mimms/
platforms       darwin
master_sites    http://download.savannah.gnu.org/releases/mimms/
checksums       md5     ec629d8899551b4789ba15c17402c36f \
                sha1    279eee76dd4032cd2c1dddf1d49292a952c57b80 \
                rmd160  669d5d80ae9bd318bf98c032197fa6980622182e
use_bzip2       yes
depends_lib     port:libmms

configure {
    reinplace "s|libmms.so.0|${prefix}/lib/libmms.0.dylib|g" ${worksrcpath}/libmimms/libmms.py
}

livecheck.check regex
livecheck.url   ${homepage}
livecheck.regex mimms (\\d+(\\.\\d+)*) released
