# -*- 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
set branch [join [lrange [split ${version} .] 0 1] .]
description zenity allows you to display dialog boxes from the commandline.
long_description This is zenity - a rewrite of gdialog, the GNOME port of dialog which \
allows you to display dialog boxes from the commandline and shell scripts.
maintainers {devans @dbevans} openmaintainer
homepage https://wiki.gnome.org/Projects/Zenity
master_sites gnome:sources/${name}/${branch}/
checksums rmd160 1a8af7436ab698db73c0f542d731619d31fdbbca \
sha256 db179354721fb4e2d5c418e0dc41f09c831a6b2dd440e33f7743dfc266de8a6b \
depends_build port:pkgconfig \
depends_run port:adwaita-icon-theme
configure.perl /usr/bin/perl
configure.args --enable-compile-warnings=minimum \
# optional webkitgtk support requires webkit2gtk-4.0 >= 2.8.1
if {${configure.cxx_stdlib} eq "libc++"} {
depends_lib-append path:lib/pkgconfig/webkit2gtk-4.0.pc:webkit2-gtk
configure.args-replace --disable-webkitgtk --enable-webkitgtk