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

name            exo
version         0.10.7
revision        2
set branch      [join [lrange [split ${version} .] 0 1] .]
categories      xfce
platforms       darwin
license         GPL-2+ LGPL-2+
maintainers     nomaintainer
description     libexo is targeted at application development for Xfce
long_description ${description}

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

checksums       rmd160  a7722904640c96aafe69c5599d4bc55b3e52f1be \
                sha256  521581481128af93e815f9690020998181f947ac9e9c2b232b1f144d76b1b35c \
                size    1262301

configure.args  --disable-python \
                --mandir=${prefix}/share/man

perl5.branches  5.28

depends_build   port:intltool \
                port:pkgconfig
depends_lib     port:gtk2 \
                port:libxfce4util \
                port:libxfce4ui \
                port:p${perl5.major}-uri

patchfiles      exo-mmintrin.diff

configure.perl  ${perl5.bin}

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