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

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

bladeRF: update to 962d7b2b (20150701).

  • 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 138367 2015-07-06 13:27:59Z michaelld@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6PortGroup           github 1.0
7
8github.setup        Nuand bladeRF 962d7b2be9f43066c2caeb6167a109ed513a8925
9version             20150701
10checksums           rmd160 3ef499db337ed6d7fb53bab8cd0727e77fe52362 \
11                    sha256 dca07a9277f0c02a856134369ae848c6634b8cfbc942e5e5e2a9c3cc2eaae77e
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.