# -*- 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

PortSystem          1.0

name                flickcurl
version             1.26
revision            8

categories          devel
license             LGPL-2.1+ GPL-2+ Apache-2+
maintainers         {gmail.com:lmkrawiec @lmkra} \
                    openmaintainer

description         C library for the Flickr API
long_description \
    Flickcurl is a C library for the Flickr API, handling creating the \
    requests, signing, token management, calling the API, marshalling request \
    parameters and decoding responses. It also includes the flickrdf program \
    to turn photo metadata, tags, machine tags and places into an RDF triples \
    description.

homepage            http://librdf.org/flickcurl/
master_sites        http://download.dajobe.org/flickcurl/

checksums           sha256  ff42a36c7c1c7d368246f6bc9b7d792ed298348e5f0f5d432e49f6803562f5a3 \
                    rmd160  63aea2ef81b2a846a9ee63db99d08a08b8f2d1dd \
                    size    1870073

depends_build       path:bin/pkg-config:pkgconfig

depends_lib         port:curl \
                    port:libxml2 \
                    port:raptor2

patchfiles-append   001-use-stdlib-h.patch

# Use pkg-config; xml2-config causes overlinking
configure.args      --without-xml2-config

livecheck.type      regex
livecheck.regex     ${name}-(\[0-9\.-\]+).tar.gz
