source: trunk/dports/emulators/mednafen/Portfile

Last change on this file was 126720, checked in by devans@…, 4 years ago

binary dependents of libcdio: increment revision to rebuild with latest libcdio, libiso9660 after recent upgrade of libcdio.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
[20294]1# $Id: Portfile 126720 2014-10-14 14:16:52Z $
3PortSystem 1.0
5name            mednafen
[91933]6version         0.8.D.3
[126720]7revision        3
[91933]8epoch       1
[19298]9platforms       darwin
10categories      emulators games
[110970]11license         GPL-2
[91933]12maintainers openmaintainer
[19298]13description     Super-fast and super-compatible emulator for many video game systems
14long_description        Medfafen is a portable (utilizing OpenGL and SDL) \
15                        argument-driven multi-system emulator with many \
16                        advanced features. The Atari Lynx, GameBoy, GameBoy \
17                        Colour, GameBoy Advance, NES, PC Engine (TurboGrafx 16) \
18                        and SuperGrafx are emulated. Mednafen has the ability \
19                        to remap hotkey functions and virtual system inputs \
20                        to a keyboard, a joystick, or both simultaneously. \
21                        Save states are supported, as is real-time game \
22                        rewinding.
[81329]25master_sites    sourceforge:project/${name}/Mednafen/${version}
[19298]26use_bzip2       yes
[91933]27checksums           md5     57d22805071becd81858b0c088a275e5 \
28                    sha1    b19b92101853cb653506456fd8ab1c0bb0b6e636 \
29                    rmd160  546f49a9541ba4d0367fe682aef23cdadf3d7325
[114119]31depends_lib     port:libsdl \
[19298]32                port:libsdl_net \
33                port:libsndfile \
34                port:libcdio \
35                port:zlib
[91940]37depends_build port:pkgconfig
[19298]39# Just an FYI: even though it takes a billion years to compile
40# src/gba/arm.cpp, it *does* finish eventually.
[91933]42patchfiles  patch-src_file_cpp.diff \
43            patch-src_drivers_shader_cpp.diff
[19298]45worksrcdir      ${name}
47post-destroot {
48        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
49        xinstall -m 755 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
50        xinstall -m 755 ${worksrcpath}/ChangeLog ${destroot}${prefix}/share/doc/${name}
51        eval xinstall [glob ${worksrcpath}/Documentation/*] ${destroot}${prefix}/share/doc/${name}
54post-activate {
56ui_msg "\n
57Mednafen works by executing the ROM file of a game console you'd like to emulate.  Note
58that no ROM files are included with Mednafen, so first you must obtain the game console
59ROM file of your choice, by legal means of course. 
61Supported ROM file formats are listed in section 'File Formats/Expansion Hardware'
62in the Mednafen documenation at ${prefix}/share/doc/${name}.  Once you've obtained a
63supported type of game console ROM file, start the Mednafen command-line executable and use
64the ROM filename (including path) as an argument.  See the documentation for more options.
Note: See TracBrowser for help on using the repository browser.