# $Id: Portfile 111614 2013-09-27 13:18:31Z jmr@macports.org $ PortSystem 1.0 name libgii version 1.0.2 categories devel license MIT maintainers nomaintainer description General Input Interface long_description \ LibGII is intended to be to input what LibGGI is to \ graphics. LibGII is based on the concept of input \ streams, which virtualize access to the underlying \ input drivers. Events from various input devices are \ abstracted into easy-to-use structures. LibGII also \ allows the application to join streams together, \ receiving input from an arbitrary combination of \ devices. LibGII is a separate component from LibGGI, \ although LibGGI depends on LibGII for input purposes. homepage http://www.ggi-project.org/ platforms darwin master_sites ${homepage}ftp/ggi/v2.2/ \ sourceforge:ggi distname ${name}-${version}.src use_bzip2 yes checksums md5 e002b3b3b7fae2b2558fe7ac854359b7 \ sha1 5ee0cd4a5652df85d68303ace41b88df825a6ea0 \ rmd160 8109f5e9bdd061c3d90120b439c471f5c4369971 worksrcdir ${name}-${version} patchfiles patch-configure patch-m4__swar.m4 post-patch { reinplace "s|need_relink=yes|need_relink=no|" \ ${worksrcpath}/ltmain.sh } configure.args --mandir=${prefix}/share/man if {$build_arch == "x86_64" && ${os.platform} == "darwin"} { configure.args-append --build=${build_arch}-apple-${os.platform}${os.version} } if {([variant_isset universal] && [string match *64* $universal_archs]) || (![variant_isset universal] && [string match *64 $build_arch])} { # uses carbon event manager functions with no 64-bit version configure.args-append --disable-quartz }