PortSystem 1.0

name		ratpoison
version		1.4.5
categories	x11 x11-wm
license		GPL-2+
platforms	darwin
maintainers	nomaintainer

description	Ratpoison is a simple Window Manager
long_description \
    Ratpoison is a simple Window Manager with \
    no fat library dependencies, no fancy graphics, \
    no window decorations, and no rodent dependence. \
    It is largely modelled after GNU Screen which \
    has done wonders in the virtual terminal market. \
    The screen can be split into non-overlapping frames. \
    All windows are kept maximized inside their frames \
    to take full advantage of your precious screen \
    real estate. All interaction with the window manager \
    is done through keystrokes. ratpoison has a prefix \
    map to minimize the key clobbering that cripples \
    Emacs and other quality pieces of software.

homepage	https://www.nongnu.org/${name}/
master_sites	https://savannah.nongnu.org/download/${name}/

checksums	sha1 e32430de49c4ab5d501653c03dd19dfb623cb08b \
		rmd160 ae2fc0cd7ef561944cf7aea0623875a7148771ce

depends_lib \
	port:xorg-libXinerama \
	port:xorg-libXtst
configure.args	--mandir=${prefix}/share/man --infodir=${prefix}/share/info

if {${os.platform} eq "darwin" && ${os.major} >= 11} {
    # this check is missing from the configure script in 1.4.5
    configure.cppflags-append -DHAVE_GETLINE=1
}
