diff -ur /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/unzip/Portfile archivers/unzip/Portfile
old
|
new
|
|
20 | 20 | master_sites sourceforge:infozip |
21 | 21 | distname ${name}[strsed $version g/\\.//] |
22 | 22 | |
23 | | checksums md5 62b490407489521db863b523a7f86375 \ |
| 23 | checksums ${distname}${extract.suffix} \ |
| 24 | md5 62b490407489521db863b523a7f86375 \ |
24 | 25 | sha1 abf7de8a4018a983590ed6f5cbd990d4740f8a22 \ |
25 | 26 | rmd160 48af66606e9472e45fbb94bc4e285da23d1b89ba |
26 | 27 | |
… |
… |
|
54 | 55 | } |
55 | 56 | } |
56 | 57 | |
| 58 | variant iconv description {Add iconv support} { |
| 59 | set iconv_patch unzip60-alt-iconv-utf8.patch |
| 60 | depends_lib-append port:libiconv |
| 61 | patch_sites-append freebsd:nork |
| 62 | patchfiles-append ${iconv_patch} |
| 63 | patch.pre_args -p1 |
| 64 | checksums-append \ |
| 65 | ${iconv_patch} \ |
| 66 | md5 4dcfb2084e9db5a3f411f470d92ab2a4 \ |
| 67 | sha1 7cb046b09becd96a3901b8ac35f77741695c4a8a \ |
| 68 | rmd160 ff40983550dbef19dab5b1327d3427c742f8117c |
| 69 | |
| 70 | set unicode_support_args "-DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -D_MBCS" |
| 71 | append localflags " -I${prefix}/include -DNATIVE ${unicode_support_args}" |
| 72 | build.post_args-append LFLAGS1="-L${prefix}/lib -liconv" |
| 73 | } |
| 74 | |
57 | 75 | platform darwin 8 { |
58 | 76 | append localflags " -DNO_LCHMOD" |
59 | 77 | } |