# Template file for 'cwm pkgname=cwm version=5.6 revision=1 build_style=gnu-makefile hostmakedepends="pkg-config bison" makedepends="fontconfig-devel libXft-devel libXinerama-devel libXrandr-devel libX11-devel" short_desc="Lightweight and efficient window manager for X11" maintainer="Ypnose " license="ISC" homepage="http://www.openbsd.org/cgi-bin/man.cgi?query=cwm&manpath=OpenBSD+Current&format=html" distfiles="https://github.com/chneukirchen/cwm/archive/v${version}.tar.gz" checksum="006320bb1716cc0f93bac5634dcccd01f21d468263b5fc9d1be2dd11078a0625" replaces="cwm-git>=0" pre_build() { sed -i 's/^CPPFLAGS+=/CPPFLAGS=/' Makefile sed -i 's/^LDFLAGS+=/LDFLAGS=/' Makefile } post_install() { vinstall README 644 usr/share/doc/cwm }