source: trunk/dports/emulators/qemu/Portfile @ 104704

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

gnutls: Bump to 3.1.10 and revbump dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.8 KB
Line 
1# $Id: Portfile 104704 2013-04-01 03:14:41Z jeremyhu@macports.org $
2
3PortSystem 1.0
4
5name                    qemu
6version                 1.4.0
7revision                1
8categories              emulators
9license                 GPL-2+
10platforms               darwin
11maintainers             raimue openmaintainer
12
13description             Emulator for various architectures
14long_description        QEMU is a generic and open source machine emulator. \
15                        It can run OSes and programs made for one machine on a \
16                        different machine. By using dynamic translation, it \
17                        achieves very good performance.
18
19homepage                http://qemu.org
20master_sites            ${homepage}/download
21use_bzip2 yes
22
23checksums               rmd160  436ac5eff1968472eaeab69066c7458f27fec489 \
24                        sha256  066297ed77408fb7588889c271a85cf3c259ad55c939315988e6062d7708eda8
25
26patchfiles              patch-configure.diff \
27                        patch-net-tap-interface.diff
28
29depends_build           port:texinfo \
30                        port:libtool \
31                        port:pkgconfig \
32                        port:python27
33
34depends_lib             port:curl \
35                        port:cyrus-sasl2 \
36                        path:lib/pkgconfig/glib-2.0.pc:glib2 \
37                        port:gnutls \
38                        port:libidn \
39                        port:libtasn1 \
40                        port:ncurses \
41                        port:libpng \
42                        port:jpeg \
43                        port:ossp-uuid \
44                        path:lib/pkgconfig/pixman-1.pc:libpixman
45
46configure.args          --cpu=${configure.build_arch} \
47                        --cc=${configure.cc} \
48                        --objcc=${configure.objc} \
49                        --host-cc=${configure.cc} \
50                        --python=${prefix}/bin/python2.7
51
52# libtool: unknown option character `-' in: --mode=compile
53configure.env-append   LIBTOOL=${prefix}/bin/glibtool
54
55set target_list {}
56pre-configure {
57    configure.args-append --target-list=${target_list}
58}
59
60# disable silent rules
61build.args-append       V=1
62
63foreach t {i386 x86_64 alpha arm cris lm32 m68k {microblaze microblazeel} {mips mipsel mips64 mips64el} \
64           or32 {ppc ppcemb ppc64} {sh4 sh4eb} {sparc sparc64} s390x {xtensa xtensaeb} unicore32} {
65    variant target_[lindex $t 0] description "Add target support for [join $t {, }]" "append target_list \",[join $t -softmmu,]-softmmu\""
66}
67default_variants    +target_i386 +target_x86_64
68
69# Default universal variant does not work
70universal_variant       no
71
72platform darwin 8 {
73    depends_build-append port:gmake
74    build.cmd ${prefix}/bin/gmake
75}
76
77livecheck.type  regex
78livecheck.url   [lindex ${master_sites} 0]
79livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)(?:-\\d+)*\\.tar
Note: See TracBrowser for help on using the repository browser.