# -*- 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            gnome-bindings-perl5
version         3.38.0
categories      devel gnome
license         none
maintainers     nomaintainer
supported_archs noarch
platforms       any
description     The GNOME bindings for Perl

long_description \
                The GNOME bindings is the set of libraries that allow developers to \
                develop fully GNOME compliant applications in C#, C++, Java, Perl, and \
                Python. The platform is one of the suites of software packages that form \
                the complete GNOME project offerings. These are the GNOME bindings for Perl.

homepage        https://www.gnome.org/

perl5.require_variant   yes
perl5.conflict_variants yes
perl5.branches          5.28 5.30 5.32 5.34
perl5.default_branch    5.34
perl5.create_variants   ${perl5.branches}

depends_lib     port:p${perl5.major}-cairo \
                port:p${perl5.major}-cairo-gobject \
                port:p${perl5.major}-glib \
                port:p${perl5.major}-glib-object-introspection \
                port:p${perl5.major}-gtk2 \
                port:p${perl5.major}-gtk3 \
                port:p${perl5.major}-gtk3-sourceview \
                port:p${perl5.major}-pango

distfiles

use_configure   no

build           {}

destroot        {
    file mkdir ${destroot}${prefix}/share/doc/
    system "echo ${long_description} > ${destroot}${prefix}/share/doc/README.${name}.txt"
}

livecheck.type  none
