source: trunk/dports/audio/faust-devel/Portfile @ 139229

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
3
4PortSystem              1.0
5
6name                    faust-devel
7conflicts               faust faust2-devel
8version                 0.9.71-20150520
9git.branch              0bbe67e52d6e5f48b334e519ccc7f70b2ed850a7
10categories              audio lang
11platforms               darwin
12maintainers             ryandesign gmail.com:aggraef
13license                 GPL-2
14homepage                http://faust.grame.fr/
15
16description             functional programming language for realtime audio
17
18long_description        Faust is a functional programming language \
19                        specifically designed for realtime audio applications \
20                        and plugins.
21
22fetch.type              git
23git.url                 git://git.code.sf.net/p/faudiostream/code
24
25depends_build           port:pkgconfig
26
27depends_lib             port:libmicrohttpd \
28                        port:libsndfile \
29                        path:lib/libssl.dylib:openssl
30
31post-patch {
32    eval reinplace "s|/usr/local|${prefix}|g" \
33        ${worksrcpath}/compiler/parser/enrobage.cpp \
34        ${worksrcpath}/compiler/tlib/compatibility.cpp \
35        ${worksrcpath}/tools/scbuilder/scbuilder \
36        [glob ${worksrcpath}/tools/faust2appls/faust2*]
37    fs-traverse f ${worksrcpath} {
38        switch [file rootname [file tail ${f}]] {
39            Makefile {
40                reinplace "s|/usr/local|${prefix}|g" ${f}
41                reinplace "s|/opt/local|${prefix}|g" ${f}
42            }
43        }
44    }
45}
46
47use_configure           no
48
49variant universal {}
50
51build.args-append       ARCHFLAGS="[get_canonical_archflags cxx]" \
52                        CXX="${configure.cxx} [get_canonical_archflags cxx]"
53build.target            world
54
55post-destroot {
56    set docdir ${destroot}${prefix}/share/doc/${subport}
57    xinstall -d ${docdir}
58    xinstall -m 644 -W ${worksrcpath} \
59        COPYING \
60        README \
61        WHATSNEW \
62        ${docdir}
63}
64
65# fixme
66livecheck.type          none
Note: See TracBrowser for help on using the repository browser.