Ticket #11941: icu-3.6_0.diff
File icu-3.6_0.diff, 2.7 KB (added by n.oxyde@…, 18 years ago) |
---|
-
devel/icu/Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name icu 6 version 3. 4.16 version 3.6 7 7 categories devel 8 8 platforms darwin 9 maintainers n omaintainer@macports.org9 maintainers n.oxyde@gmail.com 10 10 description International Components for Unicode 11 11 long_description The International Components for Unicode (ICU) libraries provide robust and full-featured Unicode services on a wide variety of platforms. ICU supports the most current version of the Unicode standard, and they provide support for supplementary Unicode characters (needed for GB 18030 repertoire support). 12 homepage http://ibm.com/software/globalization/icu/ 13 master_sites ftp://ftp.software.ibm.com/software/globalization/icu/${version}/ 14 checksums md5 2a16f58bcb26e5010c946dca9ec08d5f 12 homepage http://www.icu-project.org/ 13 master_sites ftp://ftp.software.ibm.com/software/globalization/${name}/${version}/ \ 14 sourceforge 15 16 distname icu4c-[strsed ${version} {/\./_/}] 15 17 extract.suffix .tgz 18 distfiles [suffix ${distname}-src] 19 20 checksums [suffix ${distname}-src] \ 21 md5 6243f7a19e03e05403ce84e597510d4c \ 22 sha1 b580c2802e74eb6af7e5e19b05c7d7c5d8c623f9 \ 23 rmd160 b227ac9ff6019362bc4d01c18433869b0e0ff1c2 \ 24 ${distname}-docs.zip \ 25 md5 d4219dc37c584bc700a60252bf1fc71e \ 26 sha1 fd724a90a0ebda5369d50c64b6be3779e65cdf1b \ 27 rmd160 27d66bd6a6befbf64e3d26cf7bc6897fde05c907 28 16 29 worksrcdir ${name}/source 30 set docdir ${prefix}/share/doc/${name}-${version} 17 31 18 32 pre-configure { 19 33 reinplace "s;install_name ;install_name ${prefix}/lib/;" ${worksrcpath}/config/mh-darwin 20 34 } 21 configure.args --mandir=${prefix}/share/man 35 configure.args --mandir=${prefix}/share/man \ 36 --disable-samples 37 38 test.run yes 39 40 post-destroot { 41 xinstall -m 0755 -d ${destroot}${docdir}/html 42 xinstall -m 0644 -W ${worksrcpath}/.. license.html readme.html ${destroot}${docdir}/html 43 44 delete ${destroot}${prefix}/share/${name}/${version}/license.html 45 } 46 47 variant doc { 48 extract.only [suffix ${distname}-src] 49 distfiles-append ${distname}-docs.zip 50 51 post-extract { 52 system "unzip -q ${distpath}/${distname}-docs.zip -d ${workpath}/doc" 53 } 54 55 post-destroot { 56 eval xinstall -m 0644 [glob ${workpath}/doc/*.{css,gif,html,png}] ${destroot}${docdir}/html 57 } 58 } 22 59 23 60 platform darwin 8 { 24 61 configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 25 62 } 26 63 64 livecheck.distname ICU4C