Skip to content
Permalink
Browse files

gr-osmosdr: tweaks to bring port to current MacPorts APIs

  • Loading branch information
michaelld committed May 17, 2020
1 parent 39d237f commit 531a9bf62aee4f65f190cc5908ebf875212c1301
Showing with 10 additions and 8 deletions.
  1. +10 −8 science/gr-osmosdr/Portfile
@@ -1,17 +1,16 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup cmake 1.0
PortGroup cmake 1.1
PortGroup active_variants 1.1
PortGroup cxx11 1.1
PortGroup github 1.0

compiler.cxx_standard 2011

name gr-osmosdr
maintainers {michaelld @michaelld} openmaintainer

subport gr-osmosdr-38 {

}
subport gr-osmosdr-38 {}

if {${name} eq ${subport}} {

@@ -50,14 +49,17 @@ homepage http://sdr.osmocom.org/trac/wiki/GrOsmoSDR
license GPL-3
platforms darwin macosx


# is gnuradio-next not installed?

set not_gr_next [catch {set installed [lindex [registry_active gnuradio-next] 0]}]

# do VPATH (out of source tree) build
# set the correct build type; not the default of 'MacPorts'

cmake.out_of_source yes
if {[variant_isset debug]} {
cmake.build_type Debug
} else {
cmake.build_type Release
}

depends_build-append \
port:pkgconfig

0 comments on commit 531a9bf

Please sign in to comment.
You can’t perform that action at this time.