diff --git a/textproc/libutf8proc/Portfile b/textproc/libutf8proc/Portfile
a
|
b
|
|
1 | 1 | # $Id: Portfile 114428 2013-12-08 08:47:24Z mww@macports.org $ |
2 | 2 | |
3 | 3 | PortSystem 1.0 |
| 4 | PortGroup github 1.0 |
| 5 | |
| 6 | github.setup JuliaLang utf8proc 2.0.2 v |
4 | 7 | |
5 | 8 | name libutf8proc |
6 | | version 1.1.6 |
| 9 | version 2.0.2 |
7 | 10 | categories textproc |
8 | 11 | platforms darwin |
| 12 | license MIT/Expat |
9 | 13 | maintainers mww |
10 | 14 | description library for processing UTF-8 encoded Unicode strings |
11 | 15 | long_description ${description} |
12 | 16 | |
13 | | homepage http://www.public-software-group.org/utf8proc |
14 | | master_sites http://www.public-software-group.org/pub/projects/utf8proc/v${version} |
15 | | distname utf8proc-v${version} |
| 17 | homepage http://julialang.org/utf8proc/ |
16 | 18 | |
17 | | checksums rmd160 89acc2ff577f14b685421e148c5198ee4880fd95 \ |
18 | | sha256 fedc8fa78022eb8f0584fbc85c9f9571bcd7fd510de0ce16955289c42f4199e7 |
| 19 | checksums rmd160 b857d70f30c924932a021927a650ee25c599960a \ |
| 20 | sha256 3d48fe47b37c787fbea82e279d26bd6601ece6ed0c50b38e9d593dad0b70d4be |
19 | 21 | |
20 | 22 | use_configure no |
21 | 23 | |
22 | | build.args libdir="${prefix}/lib" |
23 | | build.target libutf8proc.a libutf8proc.dylib |
24 | | build.args-append CC=${configure.cc} |
| 24 | build.args-append prefix="${prefix}" CC=${configure.cc} |
| 25 | destroot.args prefix="${prefix}" |
25 | 26 | |
26 | 27 | variant universal { |
27 | 28 | configure.cflags-append ${configure.universal_cflags} |
… |
… |
if {![variant_isset universal] && ${buil |
33 | 34 | pre-build { |
34 | 35 | build.args-append CFLAGS="[join ${configure.cflags}]" |
35 | 36 | } |
36 | | |
37 | | destroot { |
38 | | xinstall -m 755 -W ${worksrcpath} \ |
39 | | libutf8proc.dylib libutf8proc.a \ |
40 | | ${destroot}${prefix}/lib/ |
41 | | xinstall -m 644 ${worksrcpath}/utf8proc.h \ |
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} |
50 | | } |
51 | | |
52 | | livecheck.type regex |
53 | | livecheck.url ${homepage} |
54 | | livecheck.regex utf8proc-v(\[0-9\.\]+).tar.gz |
55 | | |