Commits
Michael Dickens authored 7d47a2b8e1a
1 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 2 | |
3 3 | PortSystem 1.0 |
4 - | PortGroup cmake 1.0 |
4 + | PortGroup cmake 1.1 |
5 5 | PortGroup github 1.0 |
6 6 | PortGroup qt5 1.0 |
7 7 | PortGroup cxx11 1.1 |
8 8 | PortGroup app 1.0 |
9 9 | |
10 10 | github.setup miek inspectrum cd115c22cf4d8d7d3ed18e549d6569abf71fa32c |
11 11 | version 20190204 |
12 12 | checksums rmd160 6d4e6c11eca447a395ef2272809c28d84a1068ec \ |
13 13 | sha256 6d501d5978167322f70c0e9134d3d5f6709f157b2e99b971ed9c4279dfeb8aac \ |
14 14 | size 109321 |
15 - | revision 1 |
15 + | revision 2 |
16 16 | |
17 17 | categories science comms |
18 18 | maintainers {michaelld @michaelld} openmaintainer |
19 19 | description Provides augmented functionality for GNU Radio: inspectrum realizes signal analysis abilities in typical block-structure |
20 20 | long_description ${description} |
21 21 | license GPL-3 |
22 22 | platforms darwin |
23 23 | |
24 24 | depends_lib-append \ |
25 25 | port:fftw-3-single \ |
26 26 | port:liquid-dsp |
27 27 | |
28 + | # remove top-level library and header paths, such that internal ones |
29 + | # are looked at before of any already-installed ones. |
30 + | |
31 + | configure.ldflags-delete -L${prefix}/lib |
32 + | configure.cppflags-delete -I${prefix}/include |
33 + | |
34 + | # specify CMake settings for dependencies, just in case |
35 + | |
36 + | configure.args-append \ |
37 + | -DFFTW_INCLUDES=${prefix}/include \ |
38 + | -DFFTW_LIBRARIES=${prefix}/lib/libfftw3f.dylib \ |
39 + | -DLIQUID_INCLUDES=${prefix}/include \ |
40 + | -DLIQUID_LIBRARIES=${prefix}/lib/libliquid.dylib |
41 + | |
42 + | # app settings |
43 + | |
28 44 | app.create yes |
29 45 | app.name Inspectrum |
30 46 | app.executable ${name} |
31 47 | app.icon ${filespath}/inspectrum.icns |
32 48 | app.retina yes |