# $Id: Portfile 56061 2009-08-24 00:33:19Z ryandesign@macports.org $

PortSystem        1.0

name              wmii
version           3.1
revision          1
categories        x11 x11-wm
platforms         darwin
maintainers       nomaintainer

description       Window Manager Improved is a dynamic window manager for X11
long_description  \
    Window Manager Improved is a dynamic window manager for X11. \
    It supports classic and tiled window management with extended \
    keyboard, mouse, and 9P-based remote control.

homepage          http://wmii.de
master_sites      ${homepage}/download freebsd:
checksums         sha1 363b52207d2505d5921adbcda98136ee240a673d \
		  rmd160 c5abaa0982b036b8dafa224751b80d8265c19f59

universal_variant no
depends_lib \
	port:xorg-libX11

patch {
    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/config.mk
}

use_configure     no
