source: trunk/dports/devel/uriparser/Portfile

Last change on this file was 141523, checked in by ryandesign@…, 2 years ago

uriparser: update to 0.8.4

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 141523 2015-10-20 06:02:08Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name            uriparser
7version         0.8.4
8categories      devel www
9maintainers     ryandesign openmaintainer
10license         BSD
11description     a strictly RFC 3986 compliant parsing library for URIs
12long_description \
13    uriparser is a strictly RFC 3986 compliant parsing library for URIs.    \
14    uriparser is cross-platform, fast, and supports Unicode.
15
16homepage        http://uriparser.sourceforge.net/
17platforms       darwin
18master_sites    sourceforge:project/uriparser/Sources/${version}/
19use_bzip2       yes
20
21checksums       rmd160  6aa9f3369da518f7b434cf537e227a0560fee088 \
22                sha256  ce7ccda4136974889231e8426a785e7578e66a6283009cfd13f1b24a5e657b23
23
24configure.cppflags
25
26configure.args  --disable-doc \
27                --disable-test
28
29test.run        yes
30test.target     check
31
32# Needed by libkml's build system.
33destroot.delete_la_files no
34
35pre-activate {
36    # libkml @1.2.0_1 and earlier installed a copy of liburiparser.dylib.
37    if {![catch {set installed [lindex [registry_active libkml] 0]}]} {
38        set _version [lindex $installed 1]
39        set _revision [lindex $installed 2]
40        if {[vercmp $_version 1.2.0] < 0 || ([vercmp $_version 1.2.0] == 0 && $_revision <= 1)} {
41            registry_deactivate_composite libkml "" [list ports_nodepcheck 1]
42        }
43    }
44}
45
46livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.