# -*- 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 # $Id$ PortSystem 1.0 PortGroup muniversal 1.0 name libre version 0.4.0 categories net platforms darwin maintainers db.org:aeh license BSD description generic library for real-time communications with async \ I/O support long_description ${name} is a ${description}. homepage http://www.creytiv.com/ master_sites ${homepage}pub/ distname re-${version} checksums rmd160 1887b10d1cb0632416700fd8f4f1a7be6f2655c2 \ sha256 1057da19d56dd44ca8d36202aeb5801f611bc9840840e19f55c4f17388de0683 depends_lib port:zlib \ port:openssl use_configure no build.args PREFIX=${prefix} SYSROOT_ALT=${prefix} CCACHE= destroot.args ${build.args} if {[tbool configure.ccache]} { build.env-append CCACHE=ccache } if {[variant_isset universal]} { foreach arch ${configure.universal_archs} { lappend merger_build_env(${arch}) CC='${configure.cc} -arch ${arch}' lappend merger_destroot_env(${arch}) CC='${configure.cc} -arch ${arch}' } } else { build.env-append CC='${configure.cc} ${configure.cc_archflags}' destroot.env-append CC='${configure.cc} ${configure.cc_archflags}' } post-destroot { system "install_name_tool -id ${prefix}/lib/libre.dylib ${destroot}${prefix}/lib/libre.dylib" }