# -*- 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 92314 2012-04-24 22:56:25Z pixilla@macports.org $

PortSystem          1.0
PortGroup           php5pear 1.0

php5pear.setup      Dropbox 0.4.0 pear.sabredav.org
categories-append   net www
platforms           darwin
maintainers         pixilla openmaintainer
homepage            http://code.google.com/p/sabredav/

description         Dropbox API library for PHP.
long_description    ${description}

license             MIT
livecheck.url       http://pear.sabredav.org/get/
livecheck.regex     "<a href=\"${php5pear.package}-((?!${extract.suffix}).*)${extract.suffix}\">${php5pear.package}-\[^<\]+</a>"

checksums           rmd160  dd9271aa06b584e58e705fc9d4ed725ad32648e2 \
                    sha256  196df7d090e71f81c6f6005566581b838c9b2845fd99e63fe72c6d9086bc4cb6

depends_lib-append  port:pear-Sabre \
                    port:pear-Sabre_HTTP \
                    port:pear-Sabre_DAV \
                    port:pear-Sabre_DAVACL \
                    port:pear-Sabre_VObject
