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

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

wine: specify x-libraries in addition to x-includes; closes #15756

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