# $Id: Portfile 85218 2011-10-11 18:59:06Z pmq@macports.org $

PortSystem 1.0

name		fluxbox
version		1.3.1
categories	x11 x11-wm
maintainers	pmq
platforms	darwin freebsd

description	Lightweight window manager based on Blackbox 0.61.1
long_description	It's based on the Blackbox 0.61.1 code. Fluxbox \
			looks like blackbox and handles styles, colors, \
			window placement and similar thing exactly like \
			blackbox (100% theme/style compatibility).

homepage	http://fluxbox.org
master_sites    sourceforge
checksums	sha1 1c4755b8ac1042c98f700848240ac99ef18dca01 \
			rmd160 529d2f23d9446b3e76f3974e14c8b9459d788ecb

use_bzip2	yes
use_parallel_build yes

depends_lib \
	port:xorg-libsm \
	port:Xft2 \
	port:xorg-libXinerama \
	port:xpm \
	port:xorg-libXrandr

livecheck.url   ${homepage}/download/
livecheck.regex "The current version of Fluxbox is <b>(\[0-9a-z.\]+)</b>."

use_autoreconf yes
autoreconf.args -fv

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