source: trunk/dports/emulators/dosbox/Portfile @ 55037

Last change on this file since 55037 was 55037, checked in by jeremyhu@…, 11 years ago

dosbox: Don't build universal

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 55037 2009-08-06 08:44:31Z jeremyhu@macports.org $
2
3PortSystem 1.0
4
5name                    dosbox
6version                 0.72
7categories              emulators
8platforms               darwin
9maintainers             nomaintainer
10description             DOS-emulator featuring 386 realmode, filesystem, XMS, EMS
11long_description        DOSBox is a DOS-emulator that uses the SDL-library. \
12                                It also emulates CPU:286/386 realmode, directory \
13                                file system/XMS/EMS, a SoundBlaster card for excellent \
14                                sound compatibility with older games.
15
16homepage                http://dosbox.sourceforge.net/
17master_sites    sourceforge
18patchfiles              patch-nullmodem.cpp
19checksums               sha1 c49fba00187cd871ffdcbcd87ab82a23ea2d5e7d
20
21depends_lib             port:libsdl port:libsdl_net port:libsdl_sound \
22                                port:libpng port:zlib
23
24# SDL isn't universal
25universal_variant no
26
27configure.args  --mandir=${prefix}/share/man --disable-sdltest \
28                        --disable-alsatest
29configure.cxxflags-append       "-O2 -mdynamic-no-pic"
30
31post-destroot {
32        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
33        xinstall -W ${worksrcpath} README NEWS AUTHORS COPYING ChangeLog INSTALL \
34                THANKS ${destroot}${prefix}/share/doc/${name}
35}
36
37platform darwin 9 {
38        patchfiles-append patch-midi_coreaudio.h
39}
40
41platform powerpc {
42        configure.args-append --disable-dynamic-x86
43}
44
Note: See TracBrowser for help on using the repository browser.