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

gitlab.instance     https://gitlab.gnome.org
gitlab.setup        Archive regexxer d4a955433a270baab4718c6078ec3435f4cb3c94
set git_date        20210904
version             0.11-${git_date}
revision            0
checksums           rmd160  b53229ea32977d613cb517907f228a588e002482 \
                    sha256  6ea1235d6be24a4fbc4edf0f08bcbcbc0e2eb4b491f3f48c629a5fbc94da75fb \
                    size    194991

categories          gnome
license             GPL-2+
maintainers         nomaintainer

description         A search and replace tool for GNOME.

long_description    regexxer is a nifty search/replace tool for the \
                    desktop user. It features recursive search through \
                    directory trees and Perl-style regular expressions.

homepage            https://${name}.sourceforge.net

depends_build       port:autoconf \
                    port:automake \
                    port:gettext \
                    port:intltool \
                    port:libtool \
                    path:bin/pkg-config:pkgconfig

depends_lib         port:desktop-file-utils \
                    port:gtkmm3 \
                    port:gtksourceviewmm3

depends_run         port:adwaita-icon-theme

patchfiles          patch-configure.ac.diff \
                    patch-Makefile.am.diff

compiler.cxx_standard   2011

# No configure script in archive
configure.cmd       ./autogen.sh

configure.args      --disable-schemas-compile

post-activate {
    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
}

livecheck.type      none
