# -*- 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 118908 2014-04-14 00:55:58Z devans@macports.org $

PortSystem          1.0

name                gfbgraph
version             0.2.2
revision            1
license             GPL-2.1
set branch          [join [lrange [split ${version} .] 0 1] .]
description         A GObject library for Facebook Graph API.
long_description    ${description}

maintainers         gmail.com:juanrgar openmaintainer
categories          gnome
platforms           darwin
homepage            https://www.gnome.org
master_sites        gnome:sources/${name}/${branch}/

use_xz              yes

checksums           rmd160  eed79e914ed829fc2389f5291acf0fc5e2bd63ad \
                    sha256  66c7b1c951863565c179d0b4b5207f27b3b36f80afed9f6a9acfc5fc3ae775d4

depends_build       port:pkgconfig

depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:rest \
                    port:json-glib \
                    port:libsoup \
                    port:gnome-online-accounts \
                    port:gobject-introspection

patchfiles          patch-Makefile.am.diff

use_autoreconf      yes
autoreconf.args     -fvi

configure.args      --enable-introspection=yes \
                    --disable-silent-rules

livecheck.type  gnome
