PortSystem          1.0

name                wmctrl
version             1.07
categories          x11
license             GPL-2+
maintainers         nomaintainer
description         interact with an EWMH/NetWM compatible X Window Manager
long_description \
	The wmctrl program is a UNIX/Linux command line tool to interact with \
	an EWMH/NetWM compatible X Window Manager.\
	\
	The tool provides command line access to almost all the features \
	defined in the EWMH specification. It can be used, for example, to \
	obtain information about the window manager, to get a detailed list of \
	desktops and managed windows, to switch and resize desktops, to make \
	windows full-screen, always-above or sticky, and to activate, close, \
	move, resize, maximize and minimize them.

platforms           darwin

homepage            http://www.sweb.cz/tripie/utils/wmctrl
master_sites        ${homepage}/dist

checksums           md5     1fe3c7a2caa6071e071ba34f587e1555 \
                    sha1    a123019a7fd5adc3e393fc1108cb706268a34e4d \
                    rmd160  b19b23c7368875b62ffef71780915b439b2c09d5

depends_build       port:pkgconfig

depends_lib         port:xorg-libX11 port:xorg-libXmu path:lib/pkgconfig/glib-2.0.pc:glib2

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

livecheck.type      regex
livecheck.regex     ${name}-(\[\\d.\]+)${extract.suffix}
livecheck.url       ${master_sites}