# $Id: Portfile,v 1.1 2004/12/05 12:14:45 toby Exp $

PortSystem 1.0
name             libgiigic
version          1.0.0
categories       devel
maintainers      toby@opendarwin.org
description      General Input Configurator
long_description \
	LibGIIGIC is a ggi library at the top on LibGII. \
	The goal of LibGIIGIC is to provide a single easy \
	to use, but yet powerful API for (re)binding any \
	kind of action to all possible input devices \
	through LibGII at runtime.
homepage         http://www.ggi-project.org/
platforms        darwin

depends_lib      lib:libgg.0:libgii

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

worksrcdir       ${name}-${version}

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

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