# $Id: Portfile,v 1.1 2006/06/01 20:43:29 mww Exp $

PortSystem 1.0
name             mimms
version          0.0.9
categories       net
maintainers      ecronin@gizmolabs.org
platforms        darwin
description      MiMMS isn't an MMS Message Sender
long_description \
        MiMMS, a maintained version of \"mmsclient\", is a simple client \
        to download streaming audio and/or video media from the \
        internet using the MMS protocol (i.e. from mms:// type URLs, \
        generally found in asx files). Downloaded streams can then be \
        replayed offline at your leisure, using any compatible media \
        player of your choice.
homepage         http://savannah.nongnu.org/projects/mimms/
master_sites     http://download.savannah.gnu.org/releases/${portname}/
checksums        md5  b44c22edf8d0f07b3e09d693a7e95d0c \
                 sha1 6753fc3cd22ca6da78bc9d2d75560ff5aa276f26

depends_build    bin:txt2man:txt2man
depends_lib      port:popt
patchfiles       patch-Makefile.diff
configure        {}
build.env        CXXFLAGS="-I${prefix}/include" \
                 LDFLAGS="-L${prefix}/lib"
destroot         { xinstall -m 755 -d ${destroot}${prefix}/bin \
                     ${destroot}${prefix}/share/man/man1
                   xinstall -m 755 ${worksrcpath}/${portname} \
                     ${destroot}${prefix}/bin/${portname}
                   xinstall -m 644 ${worksrcpath}/${portname}.1 \
                     ${destroot}${prefix}/share/man/man1/${portname}.1 }
