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

PortSystem          1.0
PortGroup           github 1.0

github.setup        geany geany-plugins 2.1.0
github.tarball_from archive
checksums           rmd160  b0bc97bd0229d87c56469185a493fca687bbb2c1 \
                    sha256  9ca8412763c2f8a7141f6a1569166f4fabf95fc8aad5149a754265673ffce5bb \
                    size    5512958

license             GPL-2+
categories          devel
maintainers         nomaintainer

description         plugins to extend the geany IDE

long_description    Collection of plugins for the geany integrated development environment \
                    including version control integration, specialized editing ehancements, \
                    scripting, macros and much more.

use_autoreconf      yes

autoreconf.cmd      ./autogen.sh

autoreconf.args     ${configure.pre_args} \
                    --enable-all-plugins \
                    --disable-geanygendoc \
                    --disable-geanylua \
                    --disable-geanypg

# geanypg - build errors
# geanylua - incompatible with Lua 5.2+ headers

depends_build-append \
                    port:autoconf \
                    port:automake \
                    port:intltool \
                    port:libtool \
                    port:pkgconfig

depends_lib         port:geany \
                    port:gettext \
                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:gpgme \
                    port:gtkspell3 \
                    path:lib/pkgconfig/libgit2.pc:libgit2 \
                    port:libxml2 \
                    port:vte \
                    path:lib/pkgconfig/webkit2gtk-4.1.pc:webkit2-gtk

use_configure       no

build.env-append    V=1
