source: trunk/dports/x11/wine-devel/Portfile @ 38449

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

wine-devel: new port for 1.1.0 based on wine 1.0 port

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