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

Last change on this file since 57293 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:
http://lists.macosforge.org/pipermail/macports-dev/2008-December/006818.html
http://lists.macosforge.org/pipermail/macports-dev/2009-January/006870.html
http://lists.macosforge.org/pipermail/macports-dev/2009-January/007003.html

This should address the underlying problem in tickets:
http://trac.macports.org/ticket/17356
http://trac.macports.org/ticket/17558
http://trac.macports.org/ticket/17631

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 X.org 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
Line 
1# $Id: Portfile 45603 2009-01-18 20:52:41Z jeremyhu@macports.org $
2
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.
14
15platforms           darwin
16
17homepage            http://freesci.linuxgames.com/
18master_sites        http://www-plan.cs.colorado.edu/creichen/freesci/
19use_bzip2           yes
20universal_variant   no
21
22use_autoreconf      yes
23autoreconf.args     -fvi
24
25checksums           md5     b7669c1f1db8b7b19967ed61f103df3a \
26                    sha1    2761812ab95ed9eb3225717a2d336c0b4098fc76 \
27                    rmd160  8aa189f4b9b612fe8625be6b42a9bdfd46fef33b
28
29configure.args      --datadir=${prefix}/share/${name} \
30                    --mandir=${prefix}/share/man \
31                    --with-x --without-sdl
32
33depends_lib \
34        port:xorg-libXi \
35        port:xorg-libXinerama \
36        port:xrender \
37        port:fontconfig \
38        port:libpng \
39        port:ncurses
40
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}
51}
52
53livecheck.check     regex
54livecheck.url       ${homepage}
55livecheck.regex     "FreeSCI (\[0-9.\]+)"
Note: See TracBrowser for help on using the repository browser.