# $Id$

PortSystem 1.0

name                mono-basic
version             2.10
categories          devel lang mono
platforms           darwin
maintainers         mww
license             {LGPL-2 MIT}
description         Visual Basic .NET compiler for mono
long_description    ${description}

homepage            http://www.mono-project.com/
master_sites        http://download.mono-project.com/sources/${name}/ \
                    http://ftp.novell.com/pub/mono/sources/${name}/
use_bzip2           yes

checksums           md5     b459890e5447419ab1a5ea43d9b8afe8 \
                    sha1    b6bd7214ff1cd4d522d13b213e2a8c2bed80d276 \
                    rmd160  0d15240d36666f7e12c467a882dc6d03ebe7fec6

depends_lib         port:mono

# mono is not universal
universal_variant   no

patch { reinplace "s|@cp -pu|cp|g" ${worksrcpath}/vbnc/vbnc/Makefile }

test.run            no

livecheck.type      regex
livecheck.url       http://download.mono-project.com/sources/${name}/
livecheck.regex     mono-basic-(\\d+(?:\\.\\d+)*).tar.bz2