# -*- 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
PortGroup active_variants 1.1
github.setup bastibl gr-ieee802-11 08787e1ddb706b3aa40ed9170d1ab37289d876f4
checksums rmd160 e9dbe0b75d5d4c1fbe0a5bba802f25b1d87f9ad7 \
sha256 7d795af70469b8a2af2530cac319a063450114b49fe6a53044595f5c3422b105 \
# allow gr-ieee802-11 to work with both gnuradio and gnuradio-devel ...
depends_lib-append path:lib/libgnuradio-runtime.dylib:gnuradio
# ... but not with gnuradio-next
if {![catch {set installed [lindex [registry_active gnuradio-next] 0]}]} {
# gnuradio-next is installed; this version of gr-ieee802-11 does not work with gnuradio-next
ui_msg "\nError: ${name} requires the gnuradio or gnuradio-devel port, and will not work with the gnuradio-next port. deactivate gnuradio-next, and then install or activate gnuradio or gnuradio-devel.\n"
return -code error "Invalid port dependency: gnuradio-next"
maintainers {michaelld @michaelld} openmaintainer
description Provides augmented functionality (blocks, GRC definitions, apps, etc) for GNU Radio.
long_description ${description}
depends_build-append port:pkgconfig \
# still require cppunit for testing; NOTE: cppunit is checked for
# during configure, so we need it to be in depends_lib or
# depends_build to be used correctly. Choose the latter since it's
# not required for runtime; just for build/test.
depends_build-append port:cppunit
depends_lib-append port:boost \
depends_lib-append port:doxygen
# do VPATH (out of source tree) build
# remove top-level library path, such that internal libraries are used
# instead of any already-installed ones.
configure.ldflags-delete -L${prefix}/lib
# specify the Python dependencies
depends_lib-append port:python27