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

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

bladeRF: udpate to ba561a4a (20160225_1).

  • 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 146128 2016-02-29 14:31:32Z michaelld@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6PortGroup           github 1.0
7
8github.setup        Nuand bladeRF ba561a4aa1c5aa949b07cf55e333d626c8b98cf3
9version             20160225
10revision            1
11checksums           rmd160 fdf23c58136e3e142d637db921df229a44263ed1 \
12                    sha256 30be2b34f4350dfea019146d13264bc6ec3a3f4344ee0fdf3882ceff945808d5
13
14categories          science comms
15maintainers         michaelld openmaintainer
16description         bladeRF is an open-source hardware and software software-defined radio (SDR) platform.
17long_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.
18license             mit lgpl-2 gpl-2
19platforms           darwin
20
21depends_build-append port:pkgconfig
22depends_lib-append  path:lib/libusb-1.0.dylib:libusb
23
24# do VPATH (out of source tree) build
25
26cmake.out_of_source yes
27
28# remove top-level library path, such that internal libraries are used
29# instead of any already-installed ones.
30
31configure.ldflags-delete -L${prefix}/lib
32
33# override the default version info,
34# per ticket #46197, to be MacPorts-specific
35
36configure.args-append -DVERSION_INFO_OVERRIDE="MacPorts-${version}"
37
38# do not treat compiler warnings as errors
39
40configure.args-append -DTREAT_WARNINGS_AS_ERRORS=OFF
41
42# do not use 'pandoc' even if it is installed
43
44configure.args-append -DPANDOC_EXECUTABLE=NO
45
46# default to building all variants
47
48default_variants +tecla
49
50variant tecla description "Build with support for the tecla interactive command line" {
51
52    depends_lib-append \
53        port:tecla
54
55    configure.args-append \
56        -DENABLE_LIBTECLA=ON
57
58}
59
60if {![variant_isset tecla]} {
61
62    configure.args-append \
63        -DENABLE_LIBTECLA=OFF
64
65}
66
67# documentation does not work as of 20140126
68
69configure.args-append \
70    -DBUILD_DOCUMENTATION=OFF
Note: See TracBrowser for help on using the repository browser.