# $Id: Portfile 33344 2008-01-24 12:03:01Z ryandesign@macports.org $

PortSystem 1.0

name            Io
version         2008-01-20
categories      lang
platforms       macosx
maintainers     nomaintainer
description     Io is small prototype-based programming language
long_description \
    Io is small prototype-based programming language. The ideas in Io are   \
    mostly inspired by Smalltalk (all values are objects), Self,            \
    NewtonScript and Act1 (prototype-based differential inheritance, actors \
    and futures for concurrency), LISP (code is a runtime inspectable /     \
    modifiable tree) and Lua (small, embeddable).

homepage        http://www.iolanguage.com/
master_sites    http://io.urbanape.com/release/ \
                http://www.sigusr1.org/~steve/
checksums       md5 19d4e5610653803edfa377f6e198cb2e \
                sha1 f30872de0fed0afe9b78af0fa3ef20c46ff2079f \
                rmd160 15dc52aed7d9c409195d7928afe7295f0d090d70

use_configure   no
pre-build {
    system "cd ${worksrcpath} && make"
}
build.type      pbx
build.target    -project osxvm.xcodeproj -target osxvm
build.args      -configuration Deployment
build.dir       ${worksrcpath}/extras/osxvm

destroot {
    xinstall ${build.dir}/build/Deployment/osxvm ${destroot}${prefix}/bin
}

livecheck.check regex
livecheck.url   ${homepage}downloads/
livecheck.regex ${name}-(\[0-9-\]+)\\.tar
