Ticket #8985: Portfile.2

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