[29131] trunk/dports/devel/icu/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sat Sep 15 09:19:07 PDT 2007
Revision: 29131
http://trac.macosforge.org/projects/macports/changeset/29131
Author: nox at macports.org
Date: 2007-09-15 09:19:07 -0700 (Sat, 15 Sep 2007)
Log Message:
-----------
icu:
* Updated to 3.8.
* dylibs are now executables, as in other ports.
* Documentation is not anymore in a html/ subdir, as there is only html doc.
Modified Paths:
--------------
trunk/dports/devel/icu/Portfile
Modified: trunk/dports/devel/icu/Portfile
===================================================================
--- trunk/dports/devel/icu/Portfile 2007-09-15 14:05:13 UTC (rev 29130)
+++ trunk/dports/devel/icu/Portfile 2007-09-15 16:19:07 UTC (rev 29131)
@@ -3,8 +3,8 @@
PortSystem 1.0
name icu
-version 3.6
-revision 1
+set my_name icu4c
+version 3.8
categories devel
platforms darwin freebsd
maintainers nox
@@ -17,21 +17,21 @@
support for supplementary Unicode characters (needed for GB 18030 repertoire support).
homepage http://www.icu-project.org/
-master_sites ftp://ftp.software.ibm.com/software/globalization/${name}/${version}/ \
+master_sites http://download.icu-project.org/files/${my_name}/${version}/ \
sourceforge
-distname icu4c-[strsed ${version} {/\./_/}]
+distname ${my_name}-[join [split ${version} .] _]
extract.suffix .tgz
distfiles [suffix ${distname}-src]
checksums [suffix ${distname}-src] \
- md5 6243f7a19e03e05403ce84e597510d4c \
- sha1 b580c2802e74eb6af7e5e19b05c7d7c5d8c623f9 \
- rmd160 b227ac9ff6019362bc4d01c18433869b0e0ff1c2 \
+ sha1 4370becc68eab7a01292db62e1649239b1732a5b \
+ md5 67cc2650fbcae4c8e3ba5ce4dda4b072 \
+ rmd160 e9a0105477b54e6d3f222bf7741a61058c70665b \
${distname}-docs.zip \
- md5 d4219dc37c584bc700a60252bf1fc71e \
- sha1 fd724a90a0ebda5369d50c64b6be3779e65cdf1b \
- rmd160 27d66bd6a6befbf64e3d26cf7bc6897fde05c907
+ sha1 94b47b5dd88bce15dab608719efbbd405d15e912 \
+ md5 677b218cbca2acc304b9771c63bd69bf \
+ rmd160 927f4466758722e958b90a2bae873b11da222e88
worksrcdir ${name}/source
set docdir ${prefix}/share/doc/${name}-${version}
@@ -42,8 +42,8 @@
# Fix bug #11981 that prevents ICU from building when upgrading.
# The default configure flags causes utilisation of outdated ICU headers/libs instead of the right
# ones. Eventually the virtual chroot mechanism will fix that.
-configure.cppflags {}
-configure.ldflags {}
+configure.cppflags
+configure.ldflags
build.type gnu
@@ -51,8 +51,12 @@
test.target check
post-destroot {
- xinstall -m 0755 -d ${destroot}${docdir}/html
- xinstall -m 0644 -W ${worksrcpath}/.. license.html readme.html ${destroot}${docdir}/html
+ foreach dylib [glob -type f ${destroot}${prefix}/lib/*.dylib] {
+ file attributes ${dylib} -permissions 0755
+ }
+
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 0644 -W ${worksrcpath}/.. readme.html ${destroot}${docdir}
}
variant doc {
@@ -64,7 +68,7 @@
}
post-destroot {
- eval xinstall -m 0644 [glob ${workpath}/doc/*.{css,gif,html,png}] ${destroot}${docdir}/html
+ eval xinstall -m 0644 [glob ${workpath}/doc/*.{css,gif,html,png}] ${destroot}${docdir}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070915/6ee256eb/attachment.html
More information about the macports-changes
mailing list