-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# -*- 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 | ||
|
||
PortSystem 1.0 | ||
PortGroup cmake 1.0 | ||
PortGroup github 1.0 | ||
PortGroup qt5 1.0 | ||
PortGroup cxx11 1.1 | ||
|
||
github.setup miek inspectrum 11853b64062bda4f81926613f15d1d9654c227c8 | ||
version 20180320 | ||
checksums rmd160 16c45c6fcc214de8fcf978ec7ac29989800d1cf9 \ | ||
sha256 9c0a3d4a90b4de599fabe3dd4335d5dbd20757a9e192a743e99b31e5eb1b01a4 \ | ||
size 109201 | ||
|
||
categories science comms | ||
maintainers {michaelld @michaelld} openmaintainer | ||
description Provides augmented functionality for GNU Radio: inspectrum realizes signal analysis abilities in typical block-structure | ||
long_description ${description} | ||
license GPL-3 | ||
platforms darwin | ||
|
||
depends_build-append port:pkgconfig | ||
|
||
# do VPATH (out of source tree) build | ||
|
||
cmake.out_of_source yes | ||
|
||
# remove top-level library path, such that internal libraries are used | ||
# instead of any already-installed ones. | ||
|
||
configure.ldflags-delete -L${prefix}/lib | ||
|
||
# specify Qt5 dependency | ||
|
||
qt5.depends_component qtbase | ||
|
||
# specify FFTW dependency | ||
|
||
depends_lib-append port:fftw-3-single | ||
|
||
configure.args-append \ | ||
-DFFTW_INCLUDES=${prefix}/include \ | ||
-DFFTW_LIBRARIES=${prefix}/lib/libfftw3f.dylib | ||
|
||
# specify liquid-dsp dependency | ||
|
||
depends_lib-append port:liquid-dsp | ||
|
||
configure.args-append \ | ||
-DLIQUID_INCLUDES=${prefix}/include \ | ||
-DLIQUID_LIBRARIES=${prefix}/lib/libliquid.dylib |