[61112] trunk/dports/devel/icu/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Dec 1 20:41:38 PST 2009


Revision: 61112
          http://trac.macports.org/changeset/61112
Author:   ryandesign at macports.org
Date:     2009-12-01 20:41:37 -0800 (Tue, 01 Dec 2009)
Log Message:
-----------
icu:

 * update to 4.3.3
 * universal build should now work (#21949)
 * dylibs are no longer executable (no reason for them to be)
 * doc dir name no longer contains version number

Modified Paths:
--------------
    trunk/dports/devel/icu/Portfile

Modified: trunk/dports/devel/icu/Portfile
===================================================================
--- trunk/dports/devel/icu/Portfile	2009-12-02 03:54:06 UTC (rev 61111)
+++ trunk/dports/devel/icu/Portfile	2009-12-02 04:41:37 UTC (rev 61112)
@@ -6,7 +6,7 @@
 
 name            icu
 set my_name     icu4c
-version         4.3.1
+version         4.3.3
 categories      devel textproc
 platforms       darwin freebsd
 maintainers     nox openmaintainer
@@ -26,22 +26,23 @@
 distfiles       [suffix ${distname}-src]
 
 checksums       ${distname}-src.tgz \
-                    md5     10d1cdc843f8e047fc308ec49d3d0543 \
-                    sha1    ff497c2480928a0f33386bb85a55020deecf8549 \
-                    rmd160  983fcd43a5e1f8c32a1f0d696b47fb7afc855027 \
+                    md5     69b1fdaa7c7ea720673f322a5e07fe8f \
+                    sha1    4ca3c9b75edd78bc69016702af8a018ede8f9c85 \
+                    rmd160  764f2c89747078ded936ab5513bce02290264792 \
                 ${distname}-docs.zip \
-                    md5     c2d732ce7d086257ed60071674752471 \
-                    sha1    08d0a6c56f6a6872a7f15bf8c1127af5dca07997 \
-                    rmd160  ac47371ca2a6a72babb10dc5e817083a4f623023
+                    md5     92d7280567286b7a52f47775a9cd4e4d \
+                    sha1    8d52ce9fa60a47d45923e46f9eda37320191c279 \
+                    rmd160  6e912a89eba61608df88c3f1b45962fb8695c11c
 
 worksrcdir      ${name}/source
-set docdir      ${prefix}/share/doc/${name}-${version}
+set docdir      ${prefix}/share/doc/${name}
 
 patchfiles      patch-configure.diff \
                 patch-config-mh-darwin.diff
 
 post-patch {
     reinplace "s;install_name ;install_name ${prefix}/lib/;" ${worksrcpath}/config/mh-darwin
+    reinplace "s|`date`|[exec date]|g" ${worksrcpath}/Makefile.in
 }
 
 set platform [switch ${os.platform} {darwin {format MacOSX} freebsd {format FreeBSD}}]
@@ -51,6 +52,8 @@
                 --enable-static \
                 --disable-samples
 
+configure.universal_args-delete --disable-dependency-tracking
+
 # 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.
@@ -64,11 +67,16 @@
 test.run        yes
 test.target     check
 
-post-destroot {
-    foreach dylib [glob -type f ${destroot}${prefix}/lib/*.dylib] {
-        file attributes ${dylib} -permissions 0755
+post-build {
+    foreach arch ${universal_archs_to_use} {
+        reinplace -E {s|-arch [a-z0-9_]+||g} \
+            ${worksrcpath}-${arch}/config/icu-config \
+            ${worksrcpath}-${arch}/config/Makefile.inc \
+            ${worksrcpath}-${arch}/config/pkgdata.inc
     }
+}
 
+post-destroot {
     xinstall -d ${destroot}${docdir}
     xinstall -m 0644 -W ${worksrcpath}/.. readme.html ${destroot}${docdir}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091201/217027a4/attachment-0001.html>


More information about the macports-changes mailing list