# $Id: Portfile,v 1.2 2005/04/19 21:34:20 toby Exp $

PortSystem 1.0
name             libggiwmh
version          0.2.1
categories       graphics
maintainers      toby@opendarwin.org
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      lib:libggi.2:libggi

master_sites     http://www.ggi-project.org/ftp/ggi/v2.1/ \
                 sourceforge:ggi
distname         ${name}-${version}.src
use_bzip2        yes
checksums        md5 81c458962b694a495999d03584753c33

worksrcdir       ${name}-${version}

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

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