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

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

bladeRF: update to 1be8b76b (20160112).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 144604 2016-01-13 15:12:05Z michaelld@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6PortGroup           github 1.0
7
8github.setup        Nuand bladeRF 1be8b76b35984a36ae4c7e1e12730b72b3a78b84
9version             20160112
10checksums           rmd160 ec33411c5465a1af37987041c0e310e8b41cebe0 \
11                    sha256 9d29b8b3e2c2f57bc8eed9af1dae4f4ff8116233b63b610cebe98d3b23aa9f00
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# do not use 'pandoc' even if it is installed
42
43configure.args-append -DPANDOC_EXECUTABLE=NO
44
45# default to building all variants
46
47default_variants +tecla
48
49variant tecla description "Build with support for the tecla interactive command line" {
50
51    depends_lib-append \
52        port:tecla
53
54    configure.args-append \
55        -DENABLE_LIBTECLA=ON
56
57}
58
59if {![variant_isset tecla]} {
60
61    configure.args-append \
62        -DENABLE_LIBTECLA=OFF
63
64}
65
66# documentation does not work as of 20140126
67
68configure.args-append \
69    -DBUILD_DOCUMENTATION=OFF
Note: See TracBrowser for help on using the repository browser.