source: trunk/dports/science/bladeRF/Portfile @ 121144

Last change on this file since 121144 was 121144, checked in by michaelld@…, 6 years ago

bladeRF:
+ update to 0ec9c9c4 (20140617);
+ remove deleting of "-I${prefix}/include" from CPPFLAGS, per ticket #42872.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- 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
2# $Id: Portfile 121144 2014-06-18 18:47:41Z michaelld@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6PortGroup           github 1.0
7
8github.setup        Nuand bladeRF 0ec9c9c41ac28b61bfe3fc6295bc77e092b18080
9version             20140617
10checksums           rmd160 263f00bcc4f0e5e27c51bbae9082415eab9b4731 \
11                    sha256 40eaf5b9a690c376cb80a4e0e5ca11aa5ac06c28b075fd96200b02cf32ff1949
12
13categories          science comms
14maintainers         michaelld openmaintainer
15description         bladeRF is an open-source hardware and software software-defined radio (SDR) platform.
16long_description    ${description} This port provides all the source code required to program and interact with a bladeRF platform, including firmware for the Cypress FX3 USB controller, HDL for the Altera Cyclone IV FPGA, and C code for the host side libraries, drivers, and utilities.
17license             mit lgpl-2 gpl-2
18platforms           darwin
19
20depends_build-append port:pkgconfig
21depends_lib-append      port:libusb
22
23# do VPATH build
24
25post-extract        { file mkdir ${workpath}/build }
26configure.dir       ${workpath}/build
27build.dir           ${workpath}/build
28
29# remove top-level library path, such that internal libraries are used
30# instead of any already-installed ones.
31
32configure.ldflags-delete -L${prefix}/lib
33
34# set last configure argument to the reletive path
35# to the top-level cmake source
36
37configure.post_args ../${worksrcdir}
38
39# be verbose when building, for debugging purposes
40
41build.post_args VERBOSE=1
42
43# default to building all variants
44
45default_variants +tecla
46
47variant tecla description "Build with support for the tecla interactive command line" {
48
49    depends_lib-append \
50        port:tecla
51
52    configure.args-append \
53        -DENABLE_LIBTECLA=ON
54
55}
56
57if {![variant_isset tecla]} {
58
59    configure.args-append \
60        -DENABLE_LIBTECLA=OFF
61
62}
63
64# documentation does not work as of 20140126
65
66configure.args-append \
67    -DBUILD_DOCUMENTATION=OFF
Note: See TracBrowser for help on using the repository browser.