source: trunk/dports/net/librem/Portfile

Last change on this file was 146153, checked in by devans@…, 17 months ago

librem: maintainer update to version 0.4.7 (#50693).

  • 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 146153 2016-03-01 12:18:34Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           muniversal 1.0
6
7name                librem
8version             0.4.7
9categories          net
10platforms           darwin
11maintainers         db.org:aeh
12license             BSD
13
14description         portable audio and video processing media library
15
16long_description    ${name} is a ${description}.
17
18homepage            http://www.creytiv.com/
19master_sites        ${homepage}pub/
20
21distname            rem-${version}
22
23checksums           rmd160  a0d01c46975a8e1e7cc5de892d8145b355f29619 \
24                    sha256  5d084f5ee17b839680ab6b978357c095c2a85d04bdf61fa03192019e3435954e
25
26depends_lib         port:libre
27
28use_configure       no
29
30build.args          PREFIX=${prefix} SYSROOT_ALT=${prefix} CCACHE= \
31                    LIBRE_MK=${prefix}/share/re/re.mk \
32                    LIBRE_INC=${prefix}/include/re \
33                    LIBRE_SO=${prefix}/lib
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/librem.dylib ${destroot}${prefix}/lib/librem.dylib"
52}
53
54livecheck.name      rem
Note: See TracBrowser for help on using the repository browser.