Ticket #8985: Portfile.3

File Portfile.3, 2.0 KB (added by markd@…, 18 years ago)

Updated portfile

Line 
1# $Id$
2
3PortSystem 1.0
4
5name            mednafen
6version         0.6.4
7platforms       darwin
8categories      emulators games
9maintainers     adamw@freebsd.org
10description     Super-fast and super-compatible emulator for many video game systems
11long_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
21homepage        http://www.mednafen.com/
22master_sites    http://mednafen.com/releases/
23use_bzip2       yes
24checksums       md5 00ae6624d2e674c8a77ab4ea0086c17c
25depends_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
34worksrcdir      ${name}
35configure.env   LDFLAGS="-L${prefix}/lib" \
36                CPPFLAGS="-I${prefix}/include"
37
38post-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
45post-activate {
46
47ui_msg "\n
48Mednafen works by executing the ROM file of a  game console you'd like to emulate.  Note
49that no ROM files are included with Mednafen, so first you must obtain the game console
50ROM file of your choice, by legal means of course. 
51
52Supported ROM file formats are listed in section 'File Formats/Expansion Hardware'
53in the Mednafen documenation at ${prefix}/share/doc/${name}.  Once you've obtained a
54supported ROM file of a game console you'd like to emulate, start the Mednafen
55command-line executable and use the path to your ROM file as an argument.  See the
56documentation for more options.
57\n"