# -*- 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 b056efca version 20130726 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} checksums rmd160 aeb3ebad1c61ce2ee30d05991f78eeef107ba065 \ sha256 30d263cb7d304cb23a35e9cae684190e83f06fa4f5956265726e81fa8d6075c0 depends_build-append port:pkgconfig depends_lib-append port:libusb # Many compilers do not recognize "-std=gnu90", so remove it. # Temporary patch. patchfiles-append patch-no-gnu90.diff # do VPATH build set vpath ${workpath}/build pre-configure { file mkdir ${vpath} } configure.dir ${vpath} build.dir ${vpath} # set last configure argument to the reletive path # to the top-level cmake source configure.post_args ../${worksrcdir}/host # be verbose when building, for debugging purposes build.post_args VERBOSE=1