# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 85760 2011-10-16 05:04:18Z dports@macports.org $

PortSystem 1.0

name            libgdata
version         0.6.6
set branch      [join [lrange [split ${version} .] 0 1] .]
description     libgdata is a GLib-based library for accessing online service APIs using the \
                GData protocol --- most notably, Google's services.

long_description \
                ${description} \
                It provides APIs to access the common Google services, and has full asynchronous support.

maintainers     devans openmaintainer
categories      gnome net
license         LGPL-2.1+
platforms       darwin
homepage        http://live.gnome.org/TwoPointTwentynine/ExternalDependencies
master_sites    gnome:sources/${name}/${branch}/

use_bzip2       yes

checksums       md5     17e736759dea67d5e9d919fab57fe703 \
                sha1    2fe2f02be38662103eca19ae1edd7be56bffbc9e \
                rmd160  5d3f8ee7c4897cfe12a634a472a44ce122666fc6

depends_build   port:pkgconfig \
                port:intltool \
                port:gnome-doc-utils \
                port:gtk-doc

depends_lib     port:libsoup

configure.args  --enable-introspection=no

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