36 | | checksums ${wine_distfile} \ |
37 | | sha1 072184c492cc9d137138407732de3bb62ba6c091 \ |
38 | | rmd160 5bc41a4623ee087e57ebd424a15c6743d0874194 \ |
39 | | ${wine_gecko_distfile} \ |
40 | | sha1 afa22c52bca4ca77dcb9edb3c9936eb23793de01 \ |
41 | | rmd160 57618dbffa7b7226dcd44f86c3c569ab8a5ff938 |
| 38 | checksums \ |
| 39 | ${wine_distfile} \ |
| 40 | md5 a18ca677d1e01d1596d6692a8f3997e5 \ |
| 41 | sha1 072184c492cc9d137138407732de3bb62ba6c091 \ |
| 42 | rmd160 5bc41a4623ee087e57ebd424a15c6743d0874194 \ |
| 43 | ${wine_gecko_distfile} \ |
| 44 | md5 9c5c335fc077c0558561afaf25a09e51 \ |
| 45 | sha1 afa22c52bca4ca77dcb9edb3c9936eb23793de01 \ |
| 46 | rmd160 57618dbffa7b7226dcd44f86c3c569ab8a5ff938 \ |
| 47 | ${patch1}.txt \ |
| 48 | md5 f0fddfed172c2349d4e3a060fff80d8c \ |
| 49 | sha1 4779bb60f413d4e2af7a3011389e09727f4f1cd0 \ |
| 50 | rmd160 f7e9521840cb92d165edd7b3cfaa28b1960f6e33 \ |
| 51 | ${patch2}.txt \ |
| 52 | md5 2ed2106e0630c3584822f6501ec4ad7a \ |
| 53 | sha1 842585bdb5952f0255f691215d90d93d6b51d01c \ |
| 54 | rmd160 a0d9b87fdc0c32f78b876604ef3a0a4fd1e566fb |
| 201 | variant usb description {Add USB support} { |
| 202 | depends_lib-append port:libusb |
| 203 | patch_sites ftp://ftp.etersoft.ru/pub/people/amorozov/usb/${version}/ |
| 204 | patchfiles ${patch1}.txt ${patch2}.txt |
| 205 | pre-patch { |
| 206 | # strip the git metadata |
| 207 | array set patch_git_headers [list $patch1 40 $patch2 18] |
| 208 | foreach patch [list $patch1 $patch2] { |
| 209 | set num $patch_git_headers($patch) |
| 210 | system "cd ${distpath} && tail -n +${num} ${patch}.txt > ${patch}.patch" |
| 211 | } |
| 212 | set patchfiles [list "$patch1.patch" "$patch2.patch"] |
| 213 | patch.pre_args -p1 |
| 214 | } |
| 215 | } |
| 216 | default_variants +usb |
| 217 | |