# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0

name		blackbox
version		0.70.1
revision        1
categories	x11 x11-wm
maintainers	pmq
platforms	darwin freebsd

description	Blackbox is a fast, light window manager
long_description	Blackbox is that fast, light window manager you \
			have been looking for without all those annoying \
			library dependancies. If you have a C++ compiler \
			and the X Window System you can compile and use it.

homepage	http://blackboxwm.sourceforge.net
master_sites    sourceforge:blackboxwm
checksums	md5 2d173b95ca5e64ef478c6a5d2deee9df

livecheck.type	regex
livecheck.url	${homepage}
livecheck.regex	"Latest release: <em>(\[0-9a-z.\]+)</em>"

depends_lib \
	port:xorg-libXext \
	port:Xft2 \
	port:expat \
	port:libiconv

configure.args  --mandir=${prefix}/share/man \
                --x-includes=${prefix}/include \
                --x-libraries=${prefix}/lib

platform darwin 7 {
        patchfiles-append patch-Toolbar.cc
}
