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 77352 2011-03-28 06:19:05Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup muniversal 1.0 |
---|
6 | |
---|
7 | name libre |
---|
8 | version 0.2.0 |
---|
9 | categories net |
---|
10 | platforms darwin |
---|
11 | maintainers db.org:aeh |
---|
12 | |
---|
13 | description generic library for real-time communications with async \ |
---|
14 | I/O support |
---|
15 | |
---|
16 | long_description ${name} is a ${description}. |
---|
17 | |
---|
18 | homepage http://www.creytiv.com/ |
---|
19 | master_sites ${homepage}pub/ |
---|
20 | |
---|
21 | distname re-${version} |
---|
22 | |
---|
23 | checksums sha1 5270c57e752dd78901267e8455a35eab675d120c \ |
---|
24 | rmd160 6678e367bd3e9cd59022c78c42e2c8bb774ffb02 |
---|
25 | |
---|
26 | depends_lib port:zlib \ |
---|
27 | port:openssl |
---|
28 | |
---|
29 | patchfiles patch-mk-re.mk.diff |
---|
30 | |
---|
31 | use_configure no |
---|
32 | |
---|
33 | build.args PREFIX=${prefix} SYSROOT_ALT=${prefix} |
---|
34 | destroot.args ${build.args} |
---|
35 | |
---|
36 | if {[tbool configure.ccache]} { |
---|
37 | build.env-append CCACHE=ccache |
---|
38 | } |
---|
39 | |
---|
40 | if {[variant_isset universal]} { |
---|
41 | foreach arch ${configure.universal_archs} { |
---|
42 | lappend merger_build_env(${arch}) CC='${configure.cc} -arch ${arch}' |
---|
43 | lappend merger_destroot_env(${arch}) CC='${configure.cc} -arch ${arch}' |
---|
44 | } |
---|
45 | } else { |
---|
46 | build.env-append CC='${configure.cc} ${configure.cc_archflags}' |
---|
47 | destroot.env-append CC='${configure.cc} ${configure.cc_archflags}' |
---|
48 | } |
---|