source: trunk/dports/graphics/libggiwmh/Portfile

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

libggiwmh: disable code that uses carbon window manager, for 64-bit build

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 111619 2013-09-27 14:12:25Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name             libggiwmh
6version          0.3.2
7categories       graphics
8license          MIT
9maintainers      nomaintainer
10description      GGI extension for windowed targets
11long_description \
12        LibGGIWMH is an extension for GGI targets that \
13        are window system based to allow access to things \
14        like setting the title bar, resizing, etc..
15homepage         http://www.ggi-project.org/
16platforms        darwin
17
18depends_lib      port:libggi
19
20master_sites     ${homepage}ftp/ggi/v2.2/ \
21                 sourceforge:ggi
22distname         ${name}-${version}.src
23use_bzip2        yes
24checksums        md5 5f47aad2a8e224a09e90f3f0073c3c11 \
25                 sha1 7b334358f375943f511a3208347f05e268545192 \
26                 rmd160 b3bddfaac1e4375ff75e0ee5e7ac6cd19a7ee49c
27
28worksrcdir       ${name}-${version}
29
30post-patch {
31        reinplace "s|need_relink=yes|need_relink=no|" \
32                ${worksrcpath}/ltmain.sh
33}
34
35configure.args   --mandir=${prefix}/share/man
36if {([variant_isset universal] && [string match *64* $universal_archs])
37    || (![variant_isset universal] && [string match *64 $build_arch])} {
38    # uses carbon window manager functions with no 64-bit version
39    configure.args-append   --disable-quartz
40}
Note: See TracBrowser for help on using the repository browser.