source: trunk/dports/net/libre/Portfile

Last change on this file was 149677, checked in by khindenburg@…, 13 months ago

libre: update to 0.4.17 maintainer #51716

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 149677 2016-06-29 02:00:44Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           muniversal 1.0
6
7name                libre
8version             0.4.17
9categories          net
10platforms           darwin
11maintainers         db.org:aeh
12license             BSD
13
14description         Protocol library for real-time communications with async \
15                    I/O support
16
17long_description    ${name} is a ${description}.
18
19homepage            http://www.creytiv.com/
20master_sites        ${homepage}pub/
21
22distname            re-${version}
23
24checksums           rmd160  7c732c27b6ca813d87f1b5c09375dec4878cf92e \
25                    sha256  2ce089b64909dc2aaa71421245e3a76dfe8a3279478f3eebd2aaead591106098
26
27depends_lib         port:zlib \
28                    path:lib/libssl.dylib:openssl
29
30use_configure       no
31
32build.args          PREFIX=${prefix} SYSROOT_ALT=${prefix} CCACHE=
33
34destroot.args       ${build.args}
35
36if {[tbool configure.ccache]} {
37    build.env-append CCACHE=ccache
38}
39
40if {[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}
49
50post-destroot {
51    system "install_name_tool -id ${prefix}/lib/libre.dylib ${destroot}${prefix}/lib/libre.dylib"
52}
53
54livecheck.name      re
Note: See TracBrowser for help on using the repository browser.