# -*- 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 118667 2014-04-07 21:32:02Z cal@macports.org $

PortSystem      1.0

name            libyaml
version         0.1.6
maintainers     erickt openmaintainer
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        yaml-${version}

checksums       rmd160  c37f04eb6d8c3c587bf241c2f3daf74b6d24f513 \
                sha256  7da6971b4bd08a986dd2a61353bc422362bd0edcc67d7ebaac68c95f74182749

test.run        yes
test.target     check

livecheck.type  regex
livecheck.url   ${homepage}
livecheck.regex "The current release of LibYAML: <strong>(\\d+(\\.\\d+)*) "
