# -*- 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.xfce.org
gitlab.setup    xfce xfconf 4.18.3 xfconf-
revision        0
checksums       rmd160  9ded0b636829fc3454dbab67069f7c6a00ecc710 \
                sha256  c56cc69056f6947b2c60b165ec1e4c2b0acf26a778da5f86c89ffce24d5ebd98 \
                size    648479

set branch      [join [lrange [split ${version} .] 0 1] .]
categories      xfce
license         GPL-2
maintainers     nomaintainer
description     easy-to-use configuration system for xfce
long_description ${description}

homepage        https://docs.xfce.org/xfce/xfconf/start
master_sites    https://archive.xfce.org/src/xfce/${name}/${branch}/
use_bzip2       yes

use_autoreconf  yes
autoreconf.args -fvi

depends_build-append \
                port:intltool \
                port:pkgconfig \
                port:xfce4-dev-tools

depends_lib-append \
                port:dbus \
                port:dbus-glib \
                path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
                port:libxfce4util \
                port:xorg-libsm \
                port:xorg-libX11

platform darwin {
    configure.args-append \
                --disable-visibility
}

gitlab.livecheck.regex {([0-9]+\.[0-9]*[02468](\.[0-9]+)*)}
