# -*- 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$

PortSystem      1.0

name            libyaml
set dname       yaml
version         0.1.7
maintainers     nomaintainer
categories      devel
platforms       darwin
license         MIT

description     A YAML Parser.
long_description LibYAML is a YAML 1.1 parser and emitter written in C. It is \
                 in an early stage of development.

homepage        http://pyyaml.org/wiki/LibYAML
master_sites    http://pyyaml.org/download/libyaml
distname        ${dname}-${version}

checksums       rmd160  e41df050417f2640f7ba0ee905c0b4cc3eb603f3 \
                sha256  8088e457264a98ba451a90b8661fcb4f9d6f478f7265d48322a196cec2480729

patchfiles      yosemite-libtool.patch

test.run        yes
test.target     check

livecheck.type  regex
livecheck.url   ${master_sites}
livecheck.regex "${dname}-(\\d+(?:\\.\\d+)*)${extract.suffix}"