Ticket #22779: libutf8proc2.diff
File libutf8proc2.diff, 1.8 KB (added by ryandesign (Ryan Carsten Schmidt), 15 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name libutf8proc 6 version 1.1. 36 version 1.1.5 7 7 categories textproc 8 8 platforms darwin 9 9 maintainers mww 10 10 description library for processing UTF-8 encoded Unicode strings 11 11 long_description ${description} 12 12 13 homepage http://www. flexiguided.de/publications.utf8proc.en.html14 master_sites http://www. flexiguided.de/pub/13 homepage http://www.public-software-group.org/utf8proc 14 master_sites http://www.public-software-group.org/pub/projects/utf8proc/v${version} 15 15 distname utf8proc-v${version} 16 checksums md5 6c7aef2cecfc7c38d5576f34a0ecb5a6 \ 17 sha1 52b256f8834dc868d35eef6211ea5a7d6438b902 \ 18 rmd160 4742b96c2920908a7e6f8c59ae7237da697a72b5 19 20 worksrcdir utf8proc 16 checksums md5 b211c133f2ab52342e366eec0feb318a \ 17 sha1 1ce2bd02f28184ed5908399fe0791e19cd15b9cf \ 18 rmd160 99f340fe6c325f5b1f1d47e28bc699be916823e6 21 19 22 20 use_configure no 23 21 … … 25 23 build.target libutf8proc.a libutf8proc.dylib 26 24 build.args-append CC=${configure.cc} 27 25 26 variant universal { 27 configure.cflags-append ${configure.universal_cflags} 28 } 29 if {![variant_isset universal] && ${build_arch} != ""} { 30 configure.cflags-append ${configure.cc_archflags} 31 } 32 33 pre-build { 34 build.args-append CFLAGS="[join ${configure.cflags}]" 35 } 36 28 37 destroot { 29 38 xinstall -m 755 -W ${worksrcpath} \ 30 39 libutf8proc.dylib libutf8proc.a \ 31 40 ${destroot}${prefix}/lib/ 32 41 xinstall -m 644 ${worksrcpath}/utf8proc.h \ 33 42 ${destroot}${prefix}/include 43 set docdir ${destroot}${prefix}/share/doc/${name} 44 xinstall -d ${docdir} 45 xinstall -m 644 -W ${worksrcpath} \ 46 Changelog \ 47 LICENSE \ 48 README \ 49 ${docdir} 34 50 } 35 51 36 52 livecheck.type regex