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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup muniversal 1.0 |
---|
6 | |
---|
7 | name baresip |
---|
8 | version 0.2.0 |
---|
9 | categories net |
---|
10 | platforms darwin |
---|
11 | maintainers db.org:aeh |
---|
12 | description Bare-bone SIP useragent |
---|
13 | long_description ${name} is a ${description}. |
---|
14 | homepage http://www.creytiv.com/ |
---|
15 | master_sites ${homepage}pub/ |
---|
16 | |
---|
17 | distname ${name}-${version} |
---|
18 | |
---|
19 | checksums sha1 5eddc82674b22ffa8819914b206d61ce29d3ca7c \ |
---|
20 | rmd160 d379adca7a293c657d36ae21a754c172b1475750 |
---|
21 | |
---|
22 | depends_lib port:libre port:spandsp-devel port:ffmpeg-devel |
---|
23 | |
---|
24 | use_configure no |
---|
25 | |
---|
26 | build.args PREFIX=${prefix} SYSROOT_ALT=${prefix} \ |
---|
27 | MOD_AUTODETECT= USE_G722=1 USE_FFMPEG=1 \ |
---|
28 | LIBRE_MK=${prefix}/share/re/re.mk \ |
---|
29 | LIBRE_INC=${prefix}/include/re LIBRE_SO=${prefix}/lib |
---|
30 | destroot.args ${build.args} |
---|
31 | |
---|
32 | if {[tbool configure.ccache]} { |
---|
33 | build.env-append CCACHE=ccache |
---|
34 | } |
---|
35 | |
---|
36 | if {[variant_isset universal]} { |
---|
37 | foreach arch ${configure.universal_archs} { |
---|
38 | lappend merger_build_env(${arch}) CC='${configure.cc} -arch ${arch}' |
---|
39 | lappend merger_destroot_env(${arch}) CC='${configure.cc} -arch ${arch}' |
---|
40 | } |
---|
41 | } else { |
---|
42 | build.env-append CC='${configure.cc} ${configure.cc_archflags}' |
---|
43 | destroot.env-append CC='${configure.cc} ${configure.cc_archflags}' |
---|
44 | } |
---|