1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name mednafen |
---|
6 | version 0.6.4 |
---|
7 | platforms darwin |
---|
8 | categories emulators games |
---|
9 | maintainers adamw@freebsd.org |
---|
10 | description Super-fast and super-compatible emulator for many video game systems |
---|
11 | long_description Medfafen is a portable (utilizing OpenGL and SDL) \ |
---|
12 | argument-driven multi-system emulator with many \ |
---|
13 | advanced features. The Atari Lynx, GameBoy, GameBoy \ |
---|
14 | Colour, GameBoy Advance, NES, PC Engine (TurboGrafx 16) \ |
---|
15 | and SuperGrafx are emulated. Mednafen has the ability \ |
---|
16 | to remap hotkey functions and virtual system inputs \ |
---|
17 | to a keyboard, a joystick, or both simultaneously. \ |
---|
18 | Save states are supported, as is real-time game \ |
---|
19 | rewinding. |
---|
20 | |
---|
21 | homepage http://www.mednafen.com/ |
---|
22 | master_sites http://mednafen.com/releases/ |
---|
23 | use_bzip2 yes |
---|
24 | checksums md5 00ae6624d2e674c8a77ab4ea0086c17c |
---|
25 | depends_lib port:libsdl \ |
---|
26 | port:libsdl_net \ |
---|
27 | port:libsndfile \ |
---|
28 | port:libcdio \ |
---|
29 | port:zlib |
---|
30 | |
---|
31 | # Just an FYI: even though it takes a billion years to compile |
---|
32 | # src/gba/arm.cpp, it *does* finish eventually. |
---|
33 | |
---|
34 | worksrcdir ${name} |
---|
35 | configure.env LDFLAGS="-L${prefix}/lib" \ |
---|
36 | CPPFLAGS="-I${prefix}/include" |
---|
37 | |
---|
38 | post-destroot { |
---|
39 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
40 | xinstall -m 755 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name} |
---|
41 | xinstall -m 755 ${worksrcpath}/ChangeLog ${destroot}${prefix}/share/doc/${name} |
---|
42 | eval xinstall [glob ${worksrcpath}/Documentation/*] ${destroot}${prefix}/share/doc/${name} |
---|
43 | } |
---|
44 | |
---|
45 | post-activate { |
---|
46 | |
---|
47 | ui_msg "\n |
---|
48 | Mednafen works by executing the ROM file of a game console you'd like to emulate. Note |
---|
49 | that no ROM files are included with Mednafen, so first you must obtain the game console |
---|
50 | ROM file of your choice, by legal means of course. |
---|
51 | |
---|
52 | Supported ROM file formats are listed in section 'File Formats/Expansion Hardware' |
---|
53 | in the Mednafen documenation at ${prefix}/share/doc/${name}. Once you've obtained a |
---|
54 | supported ROM file of a game console you'd like to emulate, start the Mednafen |
---|
55 | command-line executable and use the path to your ROM file as an argument. See the |
---|
56 | documentation for more options. |
---|
57 | \n" |
---|