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

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

bladeRF: update to 8ec3f657 (20151008).

  • 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 141075 2015-10-09 17:38:42Z michaelld@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6PortGroup           github 1.0
7
8github.setup        Nuand bladeRF 8ec3f6575764a4b82d4a497c21a2b3de9875039e
9version             20151008
10checksums           rmd160 31f39d7985c91a433cdb1357d63d2e65fe05a19d \
11                    sha256 8b0a6d8ab3cc22369c710315d9e44c8b9408fda2ef912c56af7f1ca1dd29f323
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.