1 | *** Portfile.orig 2015-11-25 21:30:19.000000000 -0800 |
---|
2 | --- Portfile 2015-11-27 15:56:01.000000000 -0800 |
---|
3 | *************** |
---|
4 | *** 1,5 **** |
---|
5 | # -*- 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 |
---|
6 | ! # $Id: Portfile 142886 2015-11-26 05:11:08Z jeremyhu@macports.org $ |
---|
7 | |
---|
8 | PortSystem 1.0 |
---|
9 | PortGroup archcheck 1.0 |
---|
10 | --- 1,5 ---- |
---|
11 | # -*- 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 |
---|
12 | ! # $Id: Portfile 141182 2015-10-12 00:05:23Z jeremyhu@macports.org $ |
---|
13 | |
---|
14 | PortSystem 1.0 |
---|
15 | PortGroup archcheck 1.0 |
---|
16 | *************** |
---|
17 | *** 57,112 **** |
---|
18 | rmd160 f4d7b2036a0ba87285df7fef10d4a0a495a32e17 \ |
---|
19 | sha256 20bced7fee01f25279edf07670c5033d25c2c9834a839e7a20410ce1c611d6f2 |
---|
20 | |
---|
21 | - # Note: Most of the X11 libs are dlopen()'d |
---|
22 | - depends_lib port:expat \ |
---|
23 | - port:fontconfig \ |
---|
24 | - port:freetype \ |
---|
25 | - port:gstreamer010 \ |
---|
26 | - port:gstreamer010-gst-plugins-base \ |
---|
27 | - port:jpeg \ |
---|
28 | - port:lcms2 \ |
---|
29 | - port:libiconv \ |
---|
30 | - port:libpng \ |
---|
31 | - port:libxml2 \ |
---|
32 | - port:libxslt \ |
---|
33 | - port:ncurses \ |
---|
34 | - port:gnutls \ |
---|
35 | - port:tiff \ |
---|
36 | - port:zlib \ |
---|
37 | - port:xorg-libsm \ |
---|
38 | - port:xorg-libXcomposite \ |
---|
39 | - port:xorg-libXcursor \ |
---|
40 | - port:xorg-libXi \ |
---|
41 | - port:xorg-libXinerama \ |
---|
42 | - port:xorg-libXrandr \ |
---|
43 | - port:xorg-libXxf86vm \ |
---|
44 | - port:xrender \ |
---|
45 | - port:libGLU \ |
---|
46 | - port:mesa |
---|
47 | - |
---|
48 | - archcheck.files lib/libexpat.dylib \ |
---|
49 | - lib/libfontconfig.dylib \ |
---|
50 | - lib/libfreetype.dylib \ |
---|
51 | - lib/libjpeg.dylib \ |
---|
52 | - lib/liblcms2.dylib \ |
---|
53 | - lib/libiconv.dylib \ |
---|
54 | - lib/libpng.dylib \ |
---|
55 | - lib/libxml2.dylib \ |
---|
56 | - lib/libxslt.dylib \ |
---|
57 | - lib/libncurses.dylib \ |
---|
58 | - lib/libgnutls.dylib \ |
---|
59 | - lib/libtiff.dylib \ |
---|
60 | - lib/libz.dylib \ |
---|
61 | - lib/libSM.dylib \ |
---|
62 | - lib/libXcomposite.dylib \ |
---|
63 | - lib/libXcursor.dylib \ |
---|
64 | - lib/libXi.dylib \ |
---|
65 | - lib/libXinerama.dylib \ |
---|
66 | - lib/libXrandr.dylib \ |
---|
67 | - lib/libXxf86vm.dylib \ |
---|
68 | - lib/libXrender.dylib \ |
---|
69 | - lib/libGLU.dylib \ |
---|
70 | - lib/libGL.dylib |
---|
71 | |
---|
72 | depends_build port:bison \ |
---|
73 | port:flex \ |
---|
74 | --- 57,62 ---- |
---|
75 | *************** |
---|
76 | *** 114,162 **** |
---|
77 | |
---|
78 | patchfiles BOOL.patch \ |
---|
79 | mach_machine.patch \ |
---|
80 | - kVK_RightCommand_macro.patch \ |
---|
81 | tiger-shell.patch |
---|
82 | |
---|
83 | configure.ldflags-append -framework CoreServices \ |
---|
84 | -lz |
---|
85 | |
---|
86 | - configure.args --without-alsa \ |
---|
87 | - --without-capi \ |
---|
88 | - --with-cms \ |
---|
89 | - --with-coreaudio \ |
---|
90 | - --with-cups \ |
---|
91 | - --with-curses \ |
---|
92 | - --with-fontconfig \ |
---|
93 | - --with-freetype \ |
---|
94 | - --without-gphoto \ |
---|
95 | - --with-glu \ |
---|
96 | - --with-gnutls \ |
---|
97 | - --without-gsm \ |
---|
98 | - --without-hal \ |
---|
99 | - --with-jpeg \ |
---|
100 | - --without-ldap \ |
---|
101 | - --without-mpg123 \ |
---|
102 | - --without-openal \ |
---|
103 | - --with-opengl \ |
---|
104 | - --without-oss \ |
---|
105 | - --with-png \ |
---|
106 | - --with-pthread \ |
---|
107 | - --without-sane \ |
---|
108 | - --with-tiff \ |
---|
109 | - --without-v4l \ |
---|
110 | - --with-xcomposite \ |
---|
111 | - --with-xcursor \ |
---|
112 | - --with-xinerama \ |
---|
113 | - --with-xinput \ |
---|
114 | - --with-xml \ |
---|
115 | - --with-xrandr \ |
---|
116 | - --with-xrender \ |
---|
117 | - --with-xshape \ |
---|
118 | - --with-xslt \ |
---|
119 | - --with-xxf86vm \ |
---|
120 | - --with-x \ |
---|
121 | - --x-include=${prefix}/include \ |
---|
122 | - --x-lib=${prefix}/lib |
---|
123 | |
---|
124 | # 64-bit Wine exists for Linux, but does not work on OS X. |
---|
125 | # http://www.winehq.org/pipermail/wine-devel/2014-February/103074.html |
---|
126 | --- 64,74 ---- |
---|
127 | *************** |
---|
128 | *** 189,194 **** |
---|
129 | --- 101,196 ---- |
---|
130 | } |
---|
131 | } |
---|
132 | |
---|
133 | + depends_lib port:expat \ |
---|
134 | + port:fontconfig \ |
---|
135 | + port:freetype \ |
---|
136 | + port:gstreamer010 \ |
---|
137 | + port:gstreamer010-gst-plugins-base \ |
---|
138 | + port:jpeg \ |
---|
139 | + port:libiconv \ |
---|
140 | + port:libpng \ |
---|
141 | + port:libxml2 \ |
---|
142 | + port:libxslt \ |
---|
143 | + port:ncurses \ |
---|
144 | + port:gnutls \ |
---|
145 | + port:tiff \ |
---|
146 | + port:zlib |
---|
147 | + |
---|
148 | + configure.args --without-alsa \ |
---|
149 | + --without-capi \ |
---|
150 | + --with-cms \ |
---|
151 | + --with-coreaudio \ |
---|
152 | + --with-cups \ |
---|
153 | + --with-curses \ |
---|
154 | + --with-fontconfig \ |
---|
155 | + --with-freetype \ |
---|
156 | + --without-gphoto \ |
---|
157 | + --with-glu \ |
---|
158 | + --with-gnutls \ |
---|
159 | + --without-gsm \ |
---|
160 | + --without-hal \ |
---|
161 | + --with-jpeg \ |
---|
162 | + --without-ldap \ |
---|
163 | + --without-mpg123 \ |
---|
164 | + --without-openal \ |
---|
165 | + --with-opengl \ |
---|
166 | + --without-oss \ |
---|
167 | + --with-png \ |
---|
168 | + --with-pthread \ |
---|
169 | + --without-sane \ |
---|
170 | + --with-tiff \ |
---|
171 | + --without-v4l |
---|
172 | + |
---|
173 | + archcheck.files lib/libexpat.dylib \ |
---|
174 | + lib/libfontconfig.dylib \ |
---|
175 | + lib/libfreetype.dylib \ |
---|
176 | + lib/libjpeg.dylib \ |
---|
177 | + lib/liblcms2.dylib \ |
---|
178 | + lib/libiconv.dylib \ |
---|
179 | + lib/libpng.dylib \ |
---|
180 | + lib/libxml2.dylib \ |
---|
181 | + lib/libxslt.dylib \ |
---|
182 | + lib/libncurses.dylib \ |
---|
183 | + lib/libgnutls.dylib \ |
---|
184 | + lib/libtiff.dylib \ |
---|
185 | + lib/libz.dylib |
---|
186 | + |
---|
187 | + variant x11 { |
---|
188 | + |
---|
189 | + archcheck.files-append lib/libSM.dylib \ |
---|
190 | + lib/libXcomposite.dylib \ |
---|
191 | + lib/libXcursor.dylib \ |
---|
192 | + lib/libXi.dylib \ |
---|
193 | + lib/libXinerama.dylib \ |
---|
194 | + lib/libXrandr.dylib \ |
---|
195 | + lib/libXxf86vm.dylib \ |
---|
196 | + lib/libXrender.dylib \ |
---|
197 | + lib/libGLU.dylib \ |
---|
198 | + lib/libGL.dylib |
---|
199 | + |
---|
200 | + depends_lib-append port:mesa |
---|
201 | + |
---|
202 | + configure.args-append --with-xcomposite \ |
---|
203 | + --with-xcursor \ |
---|
204 | + --with-xinerama \ |
---|
205 | + --with-xinput \ |
---|
206 | + --with-xml \ |
---|
207 | + --with-xrandr \ |
---|
208 | + --with-xrender \ |
---|
209 | + --with-xshape \ |
---|
210 | + --with-xslt \ |
---|
211 | + --with-xxf86vm \ |
---|
212 | + --with-x \ |
---|
213 | + --x-include=${prefix}/include \ |
---|
214 | + --x-lib=${prefix}/lib |
---|
215 | + } |
---|
216 | + |
---|
217 | + variant quartz { |
---|
218 | + |
---|
219 | + configure.args-append --without-x |
---|
220 | + |
---|
221 | + } |
---|
222 | + |
---|
223 | pre-fetch { |
---|
224 | if {${os.endian} eq "big"} { |
---|
225 | ui_error "${name} can only be used on an Intel Mac or other computer with a little-endian processor." |
---|
226 | *************** |
---|
227 | *** 201,206 **** |
---|
228 | --- 203,210 ---- |
---|
229 | } |
---|
230 | } |
---|
231 | |
---|
232 | + default_variants +x11 |
---|
233 | + |
---|
234 | post-destroot { |
---|
235 | xinstall -d ${destroot}${prefix}/libexec/wine |
---|
236 | file rename ${destroot}${prefix}/bin/wine ${destroot}${prefix}/libexec/wine/wine |
---|