# -*- 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
PortGroup       github 1.0

github.setup    lxde menu-cache 1.1.1
name            lib${github.project}
revision        0
categories      devel x11
license         LGPL-2.1
maintainers     nomaintainer
description     Library used to read freedesktop.org menus
long_description \
                {*}${description}

checksums       rmd160  1df9c773474b9023256899632e3d6f0f618cd78b \
                sha256  e8af90467df271c3c8700c840ca470ca2915699c6f213c502a87d74608748f08 \
                size    68090
github.tarball_from archive

# https://github.com/lxde/menu-cache/issues/23
patchfiles      patch-autogen.sh

use_autoreconf  yes
autoreconf.cmd  ./autogen.sh

depends_build-append \
                port:autoconf \
                port:automake \
                port:gettext \
                port:gtk-doc \
                port:libtool \
                path:bin/pkg-config:pkgconfig

depends_lib     port:gettext-runtime \
                path:lib/pkgconfig/glib-2.0.pc:glib2 \
                port:libfm-extra

compiler.c_standard 1999

build.args      V=1
