# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id: Portfile 47114 2009-02-22 09:40:12Z ryandesign@macports.org $ PortSystem 1.0 name atari800 version 2.0.3 revision 1 platforms darwin categories emulators maintainers krischik description Atari 800 emulator long_description atari800 is an emulator of the classic Atari 800 8bit computer. homepage http://atari800.sourceforge.net/ master_sites sourceforge set prog atari800-${version}.tar.gz set rom xf25.zip distfiles ${prog} \ ${rom} extract.only ${prog} checksums ${prog} sha1 e6cfcd22b79874239bd664a476ff287c2d708924 \ ${rom} sha1 e65923fd3a4845c1c72d1677db0fda969187eb42 depends_lib port:libsdl \ port:libpng \ port:libsdl_image \ port:libsdl_sound depends_run path:${prefix}/bin/zsh:zsh configure.args --target="sdl" \ --mandir='\${prefix}/share/man' \ --datadir='\${prefix}/share/atari800' \ --sysconfdir='\${prefix}/etc/${name}' configure.cxxflags-append "-I${prefix}/include" configure.env-append CFLAGS="-O2 -I${prefix}/include -I${prefix}/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE" worksrcdir ${name}-${version}/src use_parallel_build yes post-extract { system "unzip -q ${distpath}/${rom} -d ${workpath}/xf25" } post-destroot { xinstall -m 775 -d ${destroot}${prefix}/share/atari800 xinstall -m 775 -d ${destroot}${applications_dir} xinstall -m 444 \ -W ${workpath}/xf25 \ ATARIBAS.ROM \ ATARIOSB.ROM \ ATARIXL.ROM \ DEMOS1.XFD \ DEMOS2.XFD \ DOS25.XFD \ MYDOS45D.ATR \ ${destroot}${prefix}/share/atari800 xinstall -m 755 \ -W ${filespath} \ Atari320XE.command.in \ ${destroot}${applications_dir}/Atari320XE.command reinplace \ s|@PREFIX@|${prefix}|g \ ${destroot}${applications_dir}/Atari320XE.command system "SetFile -a E ${destroot}${applications_dir}/Atari320XE.command" } ############################################################ {{{1 ########### # vim: set nowrap tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab : # vim: set textwidth=0 filetype=tcl foldmethod=marker nospell :