source: trunk/dports/emulators/freesci/Portfile

Last change on this file was 139469, checked in by jmr@…, 2 years ago

ncurses: update to 6.0, rev bump dependents due to new ABI

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 139469 2015-08-18 01:10:17Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                freesci
6version             0.6.4
7revision            5
8categories          emulators
9license             GPL-2
10maintainers         nomaintainer
11description         Interpreter for SCI (old Sierra Online) games
12long_description \
13   FreeSCI is a portable interpreter for SCI games, such as the Space \
14   Quest series (starting with SQ3) or Leisure Suit Larry (2 and sequels). \
15   FreeSCI is still incomplete.
16
17platforms           darwin
18
19homepage            http://freesci.linuxgames.com/
20master_sites        http://www-plan.cs.colorado.edu/creichen/freesci/
21use_bzip2           yes
22universal_variant   no
23
24use_autoreconf      yes
25autoreconf.args     -fvi
26
27checksums           md5     b7669c1f1db8b7b19967ed61f103df3a \
28                    sha1    2761812ab95ed9eb3225717a2d336c0b4098fc76 \
29                    rmd160  8aa189f4b9b612fe8625be6b42a9bdfd46fef33b
30
31configure.cflags-append -std=gnu89
32configure.args      --datadir=${prefix}/share/${name} \
33                    --mandir=${prefix}/share/man \
34                    --with-x --without-sdl
35
36depends_lib \
37        port:xorg-libXi \
38        port:xorg-libXinerama \
39        port:xrender \
40        port:fontconfig \
41        port:libpng \
42        port:ncurses
43
44variant sdl description {Use the SDL interface instead of X11} {
45   depends_lib-delete \
46        port:xorg-libXi \
47        port:xorg-libXinerama \
48        port:xrender \
49        port:fontconfig \
50        port:libpng
51   depends_lib-append      port:libsdl
52   configure.args-delete   --with-x --without-sdl
53   configure.args-append   --without-x --with-sdl-prefix=${prefix} --disable-sdltest
54}
55
56patchfiles          sfx_core.c.patch
57post-patch {
58    reinplace "s/getline/fs_getline/g" ${worksrcpath}/src/tools/bdfgname.c
59}
60
61livecheck.type      regex
62livecheck.url       ${homepage}
63livecheck.regex     "FreeSCI (\[0-9.\]+)"
Note: See TracBrowser for help on using the repository browser.