source: trunk/dports/emulators/freesci/Portfile @ 47268

Last change on this file since 47268 was 45603, checked in by jeremyhu@…, 12 years ago

x11 dependent ports: Force port: based X11 dependencies

As mentioned over the past month and a half on macports-dev:

This should address the underlying problem in tickets:

This commit updates all ports explicitly depending on X11. These ports now
explicitly rely on X11 libraries in MacPorts rather than using lib: based
dependencies satisfied by X11 libraries in $x11prefix. The former policy was
devised due to the difficulty of providing such libs easily to the MacPorts
community under the old monolythic X distribution. Due to the project's
transition to the autoconf build system and modularization of the project as
well as the XQuartz projects efforts to make these new releases work on OSX,
MacPorts can now have more control over its offerings and provide users with
better consistency and stability.

Other ports that "inherited" the X11 dependency may still require a revision
bump to link against the new libs. If you find a binary or library linking
against $x11prefix/lib/lib*.dylib after 'sudo port upgrade outdated' (and
you're not using the +system_x11 variant), please report that, so we can get
it fixed.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
1# $Id: Portfile 45603 2009-01-18 20:52:41Z $
3PortSystem          1.0
4name                freesci
5version             0.6.4
6revision            1
7categories          emulators
8maintainers         blb
9description         Interpreter for SCI (old Sierra Online) games
10long_description \
11   FreeSCI is a portable interpreter for SCI games, such as the Space \
12   Quest series (starting with SQ3) or Leisure Suit Larry (2 and sequels). \
13   FreeSCI is still incomplete.
15platforms           darwin
19use_bzip2           yes
20universal_variant   no
22use_autoreconf      yes
23autoreconf.args     -fvi
25checksums           md5     b7669c1f1db8b7b19967ed61f103df3a \
26                    sha1    2761812ab95ed9eb3225717a2d336c0b4098fc76 \
27                    rmd160  8aa189f4b9b612fe8625be6b42a9bdfd46fef33b
29configure.args      --datadir=${prefix}/share/${name} \
30                    --mandir=${prefix}/share/man \
31                    --with-x --without-sdl
33depends_lib \
34        port:xorg-libXi \
35        port:xorg-libXinerama \
36        port:xrender \
37        port:fontconfig \
38        port:libpng \
39        port:ncurses
41variant sdl description {Use the SDL interface instead of X11} {
42   depends_lib-delete \
43        port:xorg-libXi \
44        port:xorg-libXinerama \
45        port:xrender \
46        port:fontconfig \
47        port:libpng
48   depends_lib-append      port:libsdl
49   configure.args-delete   --with-x --without-sdl
50   configure.args-append   --without-x --with-sdl-prefix=${prefix}
53livecheck.check     regex
54livecheck.url       ${homepage}
55livecheck.regex     "FreeSCI (\[0-9.\]+)"
Note: See TracBrowser for help on using the repository browser.