source: trunk/dports/devel/libgii/Portfile

Last change on this file was 114328, checked in by ryandesign@…, 4 years ago

use eq and ne instead of == and != when comparing ${os.arch}, ${configure.build_arch}, ${build_arch}, and some port-specific variables for referring to architectures

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 114328 2013-12-05 10:21:52Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name             libgii
6version          1.0.2
7categories       devel
8license          MIT
9maintainers      nomaintainer
10description      General Input Interface
11long_description \
12        LibGII is intended to be to input what LibGGI is to \
13        graphics. LibGII is based on the concept of input \
14        streams, which virtualize access to the underlying \
15        input drivers. Events from various input devices are \
16        abstracted into easy-to-use structures. LibGII also \
17        allows the application to join streams together, \
18        receiving input from an arbitrary combination of \
19        devices. LibGII is a separate component from LibGGI, \
20        although LibGGI depends on LibGII for input purposes.
21homepage         http://www.ggi-project.org/
22platforms        darwin
23
24master_sites     ${homepage}ftp/ggi/v2.2/ \
25                 sourceforge:ggi
26distname         ${name}-${version}.src
27use_bzip2        yes
28checksums        md5 e002b3b3b7fae2b2558fe7ac854359b7 \
29                 sha1 5ee0cd4a5652df85d68303ace41b88df825a6ea0 \
30                 rmd160 8109f5e9bdd061c3d90120b439c471f5c4369971
31
32worksrcdir       ${name}-${version}
33
34patchfiles       patch-configure patch-m4__swar.m4
35post-patch {
36        reinplace "s|need_relink=yes|need_relink=no|" \
37                ${worksrcpath}/ltmain.sh
38}
39
40configure.args   --mandir=${prefix}/share/man
41
42if {${build_arch} eq "x86_64" && ${os.platform} eq "darwin"} {
43    configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
44}
45if {([variant_isset universal] && [string match *64* $universal_archs])
46    || (![variant_isset universal] && [string match *64 $build_arch])} {
47    # uses carbon event manager functions with no 64-bit version
48    configure.args-append   --disable-quartz
49}
Note: See TracBrowser for help on using the repository browser.