source: trunk/dports/x11/wine/Portfile @ 26604

Last change on this file since 26604 was 26604, checked in by ryandesign@…, 13 years ago

wine: more-compatible check for little-endianness.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 26604 2007-06-30 06:04:47Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                wine
6version             0.9.39
7revision            1
8categories          x11
9maintainers         ryandesign openmaintainer@macports.org
10homepage            http://www.winehq.com/
11master_sites        http://ibiblio.org/pub/linux/system/emulators/wine/
12platforms           darwin
13distname            wine-${version}
14use_bzip2           yes
15build.target        depend all
16
17description \
18        Wine Is Not an Emulator
19
20long_description \
21        Wine is an implementation of the Windows APIs on top of X11.
22
23checksums \
24        md5 6535691a7558c53bbe66455c6df559a1 \
25        sha1 17a39c3d1ca1bbca6737530801303ad06f0db29b \
26        rmd160 228677cc0ae44bb0dc99e13f0c32082837fa7fea
27
28depends_lib \
29        lib:libX11.6:XFree86 \
30        port:expat \
31        port:fontconfig \
32        port:fontforge \
33        port:freetype \
34        port:jpeg \
35        port:libiconv \
36        port:libxml2 \
37        port:libxslt \
38        port:ncurses \
39        port:openssl \
40        port:pkgconfig \
41        port:render \
42        port:xrender \
43        port:zlib
44
45configure.ldflags-append \
46        -framework CoreServices \
47        -lz
48
49configure.args \
50        --x-includes=${x11prefix}/include/
51
52pre-fetch {
53        if { [string compare ${os.endian} "little"] != 0 } {
54                ui_error "${name} only runs on little-endian computers, such as an Intel Mac."
55                exit 1
56        }
57}
58
59post-destroot {
60        file rename ${destroot}${prefix}/bin/wine ${destroot}${prefix}/bin/wine-real
61        xinstall -m 755 ${filespath}/winewrapper.sh ${destroot}${prefix}/bin/wine
62        reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine
63}
64
65livecheck.check     regex
66livecheck.regex     href="\\?announce=latest">Wine (\[0-9\.\]+)<
Note: See TracBrowser for help on using the repository browser.