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

# _getline
legacysupport.newest_darwin_requires_legacy 10

name            libxfce4util
version         4.18.2
revision        0
checksums       rmd160  f5b9c3d0b069500769bae8e9669290471de8992e \
                sha256  d9a329182b78f7e2520cd4aafcbb276bbbf162f6a89191676539ad2e3889c353 \
                size    514157

set branch      [join [lrange [split ${version} .] 0 1] .]
categories      xfce
license         LGPL-2+
maintainers     nomaintainer
description     Utility library for the Xfce4 desktop environment
long_description ${description}
homepage        https://www.xfce.org
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 \
                path:bin/vala:vala

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

configure.args-append \
                --disable-silent-rules

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