Ticket #29884: usb2.patch
File usb2.patch, 2.1 KB (added by singingwolfboy@…, 13 years ago) |
---|
-
Portfile
old new 9 9 conflicts wine-devel wine-crossover-games 10 10 set my_name wine 11 11 version 1.2.3 12 revision 1 12 13 license LGPL-2.1+ 13 14 categories x11 14 15 maintainers ryandesign jwa openmaintainer … … 16 17 platforms darwin 17 18 use_bzip2 yes 18 19 distname ${my_name}-${version} 19 dist_subdir ${my_name} 20 dist_subdir ${my_name}-${version} 20 21 set wine_distfile [suffix ${distname}] 21 22 set wine_gecko_distfile wine_gecko-1.0.0-x86.cab 22 23 distfiles ${wine_distfile} ${wine_gecko_distfile} … … 92 93 depends_build port:flex \ 93 94 port:pkgconfig 94 95 96 # This is for the benefit of the patches in the 97 # USB variant of this port. 98 patch.pre_args -p1 99 95 100 configure.ldflags-append -framework CoreServices \ 96 101 -lz 97 102 … … 185 190 ${destroot}${prefix}/share/doc/${name} 186 191 } 187 192 193 variant usb description {Add USB support} { 194 depends_lib-append port:libusb 195 patch_sites-append ftp://ftp.etersoft.ru/pub/people/amorozov/usb/${version}/ 196 set patch1 0001-Add-support-of-native-Windows-drivers-for-USB-tokens.txt 197 set patch2 0002-Re-generate-some-files.txt 198 patchfiles-append ${patch1} ${patch2} 199 checksums-append \ 200 ${patch1} \ 201 md5 f0fddfed172c2349d4e3a060fff80d8c \ 202 sha1 4779bb60f413d4e2af7a3011389e09727f4f1cd0 \ 203 rmd160 f7e9521840cb92d165edd7b3cfaa28b1960f6e33 \ 204 ${patch2} \ 205 md5 2ed2106e0630c3584822f6501ec4ad7a \ 206 sha1 842585bdb5952f0255f691215d90d93d6b51d01c \ 207 rmd160 a0d9b87fdc0c32f78b876604ef3a0a4fd1e566fb 208 } 209 188 210 livecheck.type regex 189 211 livecheck.regex {"/announce/([0-9]+\.[0-9]*[02468](\.[0-9]+)*)"}