# -*- 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 79258 2011-06-07 06:58:37Z ryandesign@macports.org $

PortSystem          1.0

name                vala
version             0.12.1
set branch          [join [lrange [split ${version} .] 0 1] .]
categories          lang
maintainers         nomaintainer
description         Compiler for the GObject type system
long_description \
   Vala is a new programming language that aims to bring modern programming \
   language features to GNOME developers without imposing any additional \
   runtime requirements and without using a different ABI compared to \
   applications and libraries written in C.

platforms           darwin

homepage            http://live.gnome.org/Vala
master_sites        gnome:sources/${name}/${branch}/
use_bzip2           yes

checksums           sha1    defa61ac7b9f97abe8aac7ad7fb3f80f3c0b9657 \
                    rmd160  97e45e254ca3718e2cbaff70da6e692c6cb20717

depends_build       path:bin/pkg-config:pkgconfig \
                    port:libxslt

depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2

configure.args      --enable-vapigen

livecheck.type      regex
livecheck.url       http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
livecheck.regex     {LATEST-IS-(\d+(?:\.\d+)*)}
