# $Id: Portfile 139469 2015-08-18 01:10:17Z jmr@macports.org $ PortSystem 1.0 name freesci version 0.6.4 revision 5 categories emulators license GPL-2 maintainers nomaintainer description Interpreter for SCI (old Sierra Online) games long_description \ FreeSCI is a portable interpreter for SCI games, such as the Space \ Quest series (starting with SQ3) or Leisure Suit Larry (2 and sequels). \ FreeSCI is still incomplete. platforms darwin homepage http://freesci.linuxgames.com/ master_sites http://www-plan.cs.colorado.edu/creichen/freesci/ use_bzip2 yes universal_variant no use_autoreconf yes autoreconf.args -fvi checksums md5 b7669c1f1db8b7b19967ed61f103df3a \ sha1 2761812ab95ed9eb3225717a2d336c0b4098fc76 \ rmd160 8aa189f4b9b612fe8625be6b42a9bdfd46fef33b configure.cflags-append -std=gnu89 configure.args --datadir=${prefix}/share/${name} \ --mandir=${prefix}/share/man \ --with-x --without-sdl depends_lib \ port:xorg-libXi \ port:xorg-libXinerama \ port:xrender \ port:fontconfig \ port:libpng \ port:ncurses variant sdl description {Use the SDL interface instead of X11} { depends_lib-delete \ port:xorg-libXi \ port:xorg-libXinerama \ port:xrender \ port:fontconfig \ port:libpng depends_lib-append port:libsdl configure.args-delete --with-x --without-sdl configure.args-append --without-x --with-sdl-prefix=${prefix} --disable-sdltest } patchfiles sfx_core.c.patch post-patch { reinplace "s/getline/fs_getline/g" ${worksrcpath}/src/tools/bdfgname.c } livecheck.type regex livecheck.url ${homepage} livecheck.regex "FreeSCI (\[0-9.\]+)"