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

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

bladeRF: update to 0fe4e026 (20150630).

  • 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 138182 2015-07-01 14:13:26Z michaelld@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6PortGroup           github 1.0
7
8github.setup        Nuand bladeRF 0fe4e0266b56a0d8d90a9e514c6dae1d5ac124f0
9version             20150630
10checksums           rmd160 8e30008541d16412ed16ad6e769ff8e05da1d577 \
11                    sha256 900fbdd5e2d3cf2988c30bfe6e16606c1185b1221d54a403dbd356a9325be8ff
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  path:lib/libusb-1.0.dylib:libusb
22
23# do VPATH (out of source tree) build
24
25cmake.out_of_source yes
26
27# remove top-level library path, such that internal libraries are used
28# instead of any already-installed ones.
29
30configure.ldflags-delete -L${prefix}/lib
31
32# override the default version info,
33# per ticket #46197, to be MacPorts-specific
34
35configure.args-append -DVERSION_INFO_OVERRIDE="MacPorts-${version}"
36
37# do not treat compiler warnings as errors
38
39configure.args-append -DTREAT_WARNINGS_AS_ERRORS=OFF
40
41# default to building all variants
42
43default_variants +tecla
44
45variant tecla description "Build with support for the tecla interactive command line" {
46
47    depends_lib-append \
48        port:tecla
49
50    configure.args-append \
51        -DENABLE_LIBTECLA=ON
52
53}
54
55if {![variant_isset tecla]} {
56
57    configure.args-append \
58        -DENABLE_LIBTECLA=OFF
59
60}
61
62# documentation does not work as of 20140126
63
64configure.args-append \
65    -DBUILD_DOCUMENTATION=OFF
Note: See TracBrowser for help on using the repository browser.