Modified: trunk/dports/textproc/libutf8proc/Portfile (80029 => 80030)
--- trunk/dports/textproc/libutf8proc/Portfile 2011-07-03 05:06:26 UTC (rev 80029)
+++ trunk/dports/textproc/libutf8proc/Portfile 2011-07-03 07:35:46 UTC (rev 80030)
@@ -3,21 +3,19 @@
PortSystem 1.0
name libutf8proc
-version 1.1.3
+version 1.1.5
categories textproc
platforms darwin
maintainers mww
description library for processing UTF-8 encoded Unicode strings
long_description ${description}
-homepage http://www.flexiguided.de/publications.utf8proc.en.html
-master_sites http://www.flexiguided.de/pub/
+homepage http://www.public-software-group.org/utf8proc
+master_sites http://www.public-software-group.org/pub/projects/utf8proc/v${version}
distname utf8proc-v${version}
-checksums md5 6c7aef2cecfc7c38d5576f34a0ecb5a6 \
- sha1 52b256f8834dc868d35eef6211ea5a7d6438b902 \
- rmd160 4742b96c2920908a7e6f8c59ae7237da697a72b5
-worksrcdir utf8proc
+checksums sha1 1ce2bd02f28184ed5908399fe0791e19cd15b9cf \
+ rmd160 99f340fe6c325f5b1f1d47e28bc699be916823e6
use_configure no
@@ -25,12 +23,30 @@
build.target libutf8proc.a libutf8proc.dylib
build.args-append CC=${configure.cc}
+variant universal {
+ configure.cflags-append ${configure.universal_cflags}
+}
+if {![variant_isset universal] && ${build_arch} != ""} {
+ configure.cflags-append ${configure.cc_archflags}
+}
+
+pre-build {
+ build.args-append CFLAGS="[join ${configure.cflags}]"
+}
+
destroot {
xinstall -m 755 -W ${worksrcpath} \
libutf8proc.dylib libutf8proc.a \
${destroot}${prefix}/lib/
xinstall -m 644 ${worksrcpath}/utf8proc.h \
${destroot}${prefix}/include
+ set docdir ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ Changelog \
+ LICENSE \
+ README \
+ ${docdir}
}
livecheck.type regex