# -*- 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 118030 2014-03-19 20:26:29Z devans@macports.org $

PortSystem          1.0
PortGroup           github 1.0

github.setup        hughsie appdata-tools 0_1_7 appdata_tools_
license             GPL-2+
categories          devel
maintainers         devans openmaintainer
platforms           darwin
homepage            http://people.freedesktop.org/~hughsient/appdata/

description         AppData validation tools.

long_description    ${description} AppData is a subset of AppStream.

checksums           rmd160  d6e89bca26661779c5c22594e229ffcacadb40fb \
                    sha256  d46f7dbd3a684f068dadc89ccc00dc0b257a04f309fa04450f3924460d97501a

depends_build       port:pkgconfig \
                    port:autoconf \
                    port:automake \
                    port:libtool \
                    port:intltool \
                    port:docbook-xml \
                    port:docbook-xsl \
                    port:libxslt \
                    port:py27-lxml

depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:libsoup \
                    port:gdk-pixbuf2

patchfiles          patch-configure.ac.diff

configure.cmd       ./autogen.sh

configure.python    ${prefix}/bin/python2.7

configure.args      --with-xml-catalog=${prefix}/etc/xml/catalog \
                    --disable-silent-rules
