PortSystem 1.0

name             libgiigic
version          1.1.2
categories       devel
license          MIT
maintainers      nomaintainer
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      port:libgii

master_sites     ${homepage}ftp/ggi/v2.2/ \
                 sourceforge:ggi
distname         ${name}-${version}.src
use_bzip2        yes
checksums        md5 bac6241c96f706f7b97246d84c95220a \
                 sha1 dd53d87cc575b8eb2d3227732464690abc06a388 \
                 rmd160 173e167a4f6b20c82ad78a09bd830724acf639d2

worksrcdir       ${name}-${version}

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

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