source: trunk/dports/graphics/libggi/Portfile

Last change on this file was 111618, checked in by jmr@…, 4 years ago

libggi: disable QuickDraw-using code to build 64-bit

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 111618 2013-09-27 14:00:49Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name             libggi
6version          2.2.2
7categories       graphics
8license          MIT
9maintainers      nomaintainer
10description      General Graphics Interface
11long_description \
12        LibGGI provides an opaque interface to the display's \
13        acceleration functions. It was originally intended to \
14        allow user programs to interface with KGI, the GGI \
15        Kernel Graphics Interface, but other display types can \
16        be easily used by loading the appropriate display target.
17homepage         http://www.ggi-project.org/
18platforms        darwin
19
20depends_lib      port:libgii
21
22master_sites     ${homepage}ftp/ggi/v2.2/ \
23                 sourceforge:ggi
24distname         ${name}-${version}.src
25use_bzip2        yes
26checksums        md5 51d92ea810dad5360f6f0d02dd8b84a4 \
27                 sha1 aa439b21fb040b5b52ae18099a0c3cb02e50110f \
28                 rmd160 e76d22f06231e0aa1f752e33951802f243b7f0aa
29
30worksrcdir       ${name}-${version}
31
32patchfiles       patch-include__ggi__internal__internal.h \
33                 patch-programs__check__speed.c
34
35post-patch {
36        reinplace "s|need_relink=yes|need_relink=no|" \
37                ${worksrcpath}/ltmain.sh
38}
39
40configure.args   --mandir=${prefix}/share/man
41if {([variant_isset universal] && [string match *64* $universal_archs])
42    || (![variant_isset universal] && [string match *64 $build_arch])} {
43    # actually uses a lot of old QuickDraw stuff
44    configure.args-append   --disable-quartz
45}
Note: See TracBrowser for help on using the repository browser.