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

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

dosbox: add archcheck since this is now being forced 32-bit and has dependencies

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 61162 2009-12-03 17:43:53Z jmr@macports.org $
3
4PortSystem          1.0
5PortGroup           archcheck 1.0
6
7name                dosbox
8version             0.73
9revision            1
10categories          emulators
11platforms           darwin
12maintainers         nomaintainer
13
14description         DOS emulator featuring 386 realmode, filesystem, XMS, EMS
15
16long_description    DOSBox is a DOS emulator supporting 286/386 realmode, directory \
17                    file system, XMS/EMS and many sound cards. \
18                    It can be configured to run a wide range of DOS games, from \
19                    CGA/Tandy/PCjr classics up to games from the Quake era.
20
21homepage            http://dosbox.sourceforge.net/
22master_sites        sourceforge
23checksums           sha1 e87682f8f468f3822d2f79e38e5ddb73825fa8c1
24
25depends_lib         path:lib/pkgconfig/sdl.pc:libsdl \
26                    port:libsdl_net \
27                    port:libsdl_sound \
28                    port:libpng
29
30archcheck.files     lib/libSDL.dylib \
31                    lib/libSDL_net.dylib \
32                    lib/libSDL_sound.dylib \
33                    lib/libpng.dylib
34
35# Assembly language issues
36universal_variant no
37
38patchfiles          patch-src_gui_midi_coreaudio.h
39
40configure.args      --mandir=${prefix}/share/man \
41                    --disable-sdltest \
42                    --disable-alsatest
43configure.cxxflags-append   -mdynamic-no-pic
44
45post-destroot {
46    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
47    xinstall -W ${worksrcpath} \
48        README \
49        AUTHORS \
50        COPYING \
51        ChangeLog \
52        INSTALL \
53        THANKS \
54        ${destroot}${prefix}/share/doc/${name}
55}
56
57if {${build_arch} == "x86_64"} {
58    configure.build_arch i386
59} elseif {${build_arch} == "ppc64"} {
60    configure.build_arch ppc
61}
62
63platform darwin {
64    configure.args-append --build=${configure.build_arch}-apple-darwin${os.major}
65}
Note: See TracBrowser for help on using the repository browser.