# -*- 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 # $Id$ PortSystem 1.0 PortGroup cmake 1.0 PortGroup github 1.0 github.setup mossmann hackrf 784032223419e87dfeedaab7e3cacfe7fe32d692 version 20160922 checksums rmd160 6793eef02035518f9cd3d8b8aafa3907ee9158a0 \ sha256 612dbaed821c4b54bcc5f3bed6719c4476c095a2f8f3186181d6e1642d9452a8 maintainers michaelld openmaintainer description ${name} is a project to build a low cost software radio (SDR) platform. categories science comms license GPL-3 platforms darwin macosx long_description ${description} depends_build-append port:pkgconfig depends_lib-append path:lib/libusb-1.0.dylib:libusb # Many compilers do not recognize "-std=gnu90", so remove it. # Temporary patch. patchfiles-append patch-no-gnu90.diff # do VPATH (out of source tree) build cmake.out_of_source yes # set last configure argument to the reletive path # to the top-level cmake source configure.post_args ../${worksrcdir}/host # remove top-level library path, such that internal libraries are used # instead of any already-installed ones. configure.ldflags-delete -L${prefix}/lib