source: trunk/dports/textproc/libutf8proc/Portfile

Last change on this file was 114428, checked in by mww@…, 4 years ago

libutf8proc: version 1.1.6

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 114428 2013-12-08 08:47:24Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    libutf8proc
6version                 1.1.6
7categories              textproc
8platforms               darwin
9maintainers             mww
10description             library for processing UTF-8 encoded Unicode strings
11long_description        ${description}
12
13homepage                http://www.public-software-group.org/utf8proc
14master_sites    http://www.public-software-group.org/pub/projects/utf8proc/v${version}
15distname                utf8proc-v${version}
16
17checksums           rmd160  89acc2ff577f14b685421e148c5198ee4880fd95 \
18                    sha256  fedc8fa78022eb8f0584fbc85c9f9571bcd7fd510de0ce16955289c42f4199e7
19
20use_configure   no
21
22build.args              libdir="${prefix}/lib"
23build.target    libutf8proc.a libutf8proc.dylib
24build.args-append       CC=${configure.cc}
25
26variant universal {
27        configure.cflags-append ${configure.universal_cflags}
28}
29if {![variant_isset universal] && ${build_arch} ne ""} {
30        configure.cflags-append ${configure.cc_archflags}
31}
32
33pre-build {
34        build.args-append       CFLAGS="[join ${configure.cflags}]"
35}
36
37destroot {
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
52livecheck.type  regex
53livecheck.url   ${homepage}
54livecheck.regex utf8proc-v(\[0-9\.\]+).tar.gz
55
Note: See TracBrowser for help on using the repository browser.