# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name VisualBoyAdvance version 1.7.2 revision 4 checksums md5 cc02339e3fd8efd9f23121b0a2f81fd8 \ rmd160 44f94a4f270f2cda25879681c52892f6978caf99 \ sha256 f4114f921a4fd4bf2ccfc68a46b9c5aa9c71cd94519fbe9ec0be992462e129b7 \ size 1410762 maintainers nomaintainer categories emulators games platforms darwin license GPL-2+ BSD supported_archs i386 ppc description An emulator for Gameboy and GameboyAdvance systems. long_description An emulator for Gameboy and GameboyAdvance systems. homepage http://vba.ngemu.com/index.shtml distfiles ${name}-src-${version}.tar.gz master_sites sourceforge:project/vba/${name}/${version} depends_lib port:libsdl \ port:libpng \ port:zlib patchfiles-append const-char.patch patchfiles-append debugger.patch patchfiles-append gzwrite.patch patchfiles-append libpng-1.4.patch patchfiles-append namespace-std.patch configure.cxxflags-append \ -I${prefix}/include configure.args --disable-sdltest destroot.destdir prefix=${destroot}${prefix} platform darwin i386 { configure.args-append \ --enable-c-core \ --without-mmx } livecheck.distname VisualBoyAdvance livecheck.regex ${livecheck.distname}-src-(\[0-9.\]+)[quotemeta ${extract.suffix}]