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

source_changes at macosforge.org source_changes at macosforge.org
Wed Jul 11 01:44:08 PDT 2007


Revision: 26911
          http://trac.macosforge.org/projects/macports/changeset/26911
Author:   afb at macports.org
Date:     2007-07-11 01:44:08 -0700 (Wed, 11 Jul 2007)

Log Message:
-----------
freebsd support

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

Modified: trunk/dports/devel/icu/Portfile
===================================================================
--- trunk/dports/devel/icu/Portfile	2007-07-11 08:43:16 UTC (rev 26910)
+++ trunk/dports/devel/icu/Portfile	2007-07-11 08:44:08 UTC (rev 26911)
@@ -6,7 +6,7 @@
 version		3.6
 revision    1
 categories	devel
-platforms	darwin
+platforms	darwin freebsd
 maintainers	nox
 description	International Components for Unicode
 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).
@@ -32,6 +32,7 @@
 
 configure.args	--mandir=${prefix}/share/man \
                 --disable-samples
+build.type	gnu
 
 # 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
@@ -42,10 +43,6 @@
 test.run        yes
 test.target     check
 
-post-patch {
-	reinplace "s;install_name ;install_name ${prefix}/lib/;" ${worksrcpath}/config/mh-darwin
-}
-
 post-destroot {
     xinstall -m 0755 -d ${destroot}${docdir}/html
     xinstall -m 0644 -W ${worksrcpath}/.. license.html readme.html ${destroot}${docdir}/html
@@ -64,8 +61,19 @@
     }
 }
 
+platform darwin {
+    post-patch {
+	reinplace "s;install_name ;install_name ${prefix}/lib/;" ${worksrcpath}/config/mh-darwin
+    }
+}
+
 platform darwin 8 {
 	configure.env	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
 }
 
+platform freebsd {
+	build.env	MAKE=/usr/local/bin/gmake
+	destroot.env	MAKE=/usr/local/bin/gmake
+}
+
 livecheck.distname  ICU4C

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070711/267af17e/attachment.html


More information about the macports-changes mailing list