# $Id: Portfile 30911 2007-11-10 23:56:07Z simon@macports.org $

PortSystem 1.0

name             libggiwmh
version          0.3.2
categories       graphics
maintainers      nomaintainer
description      GGI extension for windowed targets
long_description \
	LibGGIWMH is an extension for GGI targets that \
	are window system based to allow access to things \
	like setting the title bar, resizing, etc..
homepage         http://www.ggi-project.org/
platforms        darwin

depends_lib      port:libggi

master_sites     ${homepage}ftp/ggi/v2.2/ \
                 sourceforge:ggi
distname         ${name}-${version}.src
use_bzip2        yes
checksums        md5 5f47aad2a8e224a09e90f3f0073c3c11 \
                 sha1 7b334358f375943f511a3208347f05e268545192 \
                 rmd160 b3bddfaac1e4375ff75e0ee5e7ac6cd19a7ee49c

worksrcdir       ${name}-${version}

post-patch {
	reinplace "s|need_relink=yes|need_relink=no|" \
		${worksrcpath}/ltmain.sh
}

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