# -*- 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 67730 2010-05-17 13:14:01Z rmsfisher@macports.org $

PortSystem          1.0
PortGroup           cmake 1.0

name                libplist
version             1.2
revision            1
categories          textproc multimedia
maintainers         rmsfisher openmaintainer
description         Library for working with Apple Binary and XML Property Lists
long_description    ${description}
platforms           darwin
homepage            http://libimobiledevice.org/
master_sites        http://cloud.github.com/downloads/JonathanBeck/${name}/
use_bzip2           yes
depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:libxml2 \
                    port:swig-python
checksums           md5     a29e98e51977253f09a912c942f37a68 \
                    sha1    4cb84394e52f47d49acb3f680edd7be249a98b69 \
                    rmd160  3c2440ff96c33e1a9fe4e72746ba9e4aa8220884
livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
