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

depends_build   port:autoconf \
                port:automake \
                port:intltool \
                port:libtool \
                port:pkgconfig \
                port:xfce4-dev-tools

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

# Fix intltool perl bug.
# https://bugs.launchpad.net/intltool/+bug/1197875
configure.cmd   ${filespath}/autogen.sh

configure.args  --disable-silent-rules

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