You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
61 lines
1.9 KiB
Tcl
61 lines
1.9 KiB
Tcl
# -*- 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 meson 1.0
|
||
|
||
name zenity
|
||
version 3.44.5
|
||
set branch [join [lrange [split ${version} .] 0 1] .]
|
||
description Zenity allows you to display dialog boxes from the commandline.
|
||
long_description {*}{description}
|
||
maintainers {devans @dbevans} openmaintainer
|
||
categories gnome
|
||
license LGPL-2+
|
||
homepage https://wiki.gnome.org/Projects/Zenity
|
||
master_sites gnome:sources/${name}/${branch}/
|
||
|
||
use_xz yes
|
||
|
||
checksums rmd160 2634c6f4009f4a10dea162d9581053d8dd485c9e \
|
||
sha256 29ac447f4246b1da783a3c28ddc80b0ef7c80eccd5836ad9140abf89841d0eab \
|
||
size 3096200
|
||
|
||
depends_build port:gettext \
|
||
port:itstool \
|
||
path:bin/pkg-config:pkgconfig
|
||
|
||
depends_lib path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
|
||
port:gettext-runtime \
|
||
port:libiconv \
|
||
port:xorg-libX11
|
||
|
||
depends_run port:adwaita-icon-theme
|
||
|
||
# progress.c:115: error: ‘for’ loop initial declaration used outside C99 mode
|
||
configure.cflags-append \
|
||
-std=c99
|
||
|
||
variant libnotify description "Enable libnotify for desktop notification support" {
|
||
depends_lib-append \
|
||
port:libnotify
|
||
|
||
configure.args-append \
|
||
-Dlibnotify=true
|
||
}
|
||
|
||
variant webkitgtk description "Enable WebKitGTK support" {
|
||
depends_lib-append \
|
||
path:lib/pkgconfig/webkit2gtk-4.1.pc:webkit2-gtk
|
||
|
||
configure.args-append \
|
||
-Dwebkitgtk=true
|
||
}
|
||
|
||
default_variants +libnotify
|
||
|
||
if {${os.arch} ne "powerpc"} {
|
||
default_variants-append +webkitgtk
|
||
}
|
||
|
||
livecheck.type gnome
|