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

github.setup            davatorium rofi 1.7.4
revision                0
categories              x11
maintainers             {@sainnhe gmail.com:sainnhe} \
                        openmaintainer
license                 MIT

description             A window switcher, application launcher and dmenu replacement

long_description \
    Rofi, like dmenu, will provide the user with a textual list of options where \
    one or more can be selected. This can either be running an application, \
    selecting a window, or options provided by an external script.

github.tarball_from     releases

checksums               rmd160  d3a700cab53c7b9aaa380b521d0aaa5a6797ff8b \
                        sha256  2001f5d385297949e189ccd5c4dd720338e11da20b94c0b7de4d2e5e3ea4a2e6 \
                        size    968966

depends_build-append    port:pkgconfig \
                        port:autoconf \
                        port:automake \
                        port:bison \
                        port:flex \
                        port:check

depends_lib             path:lib/pkgconfig/cairo.pc:cairo \
                        path:lib/pkgconfig/glib-2.0.pc:glib2 \
                        port:libxkbcommon-x11 \
                        path:lib/pkgconfig/pango.pc:pango \
                        port:xorg-xcb-util-wm \
                        port:xorg-xcb-util-cursor \
                        port:startup-notification \
                        path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2

depends_run             port:xorg-server

use_autoreconf          yes
autoreconf.args         -i
