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 | xinstall -m 755 ${worksrcpath}/TODO ${destroot}${prefix}/share/doc/${name} |
---|
43 | eval xinstall [glog ${worksrcpath}/Documentation/*] ${destroot}${prefix}/share/doc/${name} |
---|
44 | } |
---|
45 | |
---|
46 | post-activate { |
---|
47 | |
---|
48 | ui_msg "\n Here's how you start Mednafen for common emulations: |
---|
49 | |
---|
50 | 1) mednafen <fill in the blank> |
---|
51 | 2) mednafen <fill in the blank> |
---|
52 | |
---|
53 | \n" |
---|