source: trunk/dports/science/hackrf/Portfile @ 121151

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

hackrf: remove deleting of "-I${prefix}/include" from CPPFLAGS, per ticket #42872.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 121151 2014-06-18 18:56:26Z michaelld@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6PortGroup           github 1.0
7
8github.setup        mossmann hackrf 815d1f640d3990ce7e173267a4f9ee72df4d89c6
9version             20140316
10checksums           rmd160 45c1f894b54ca0a2e36115aa05bc14dbbd51809a \
11                    sha256 cf7dcc6e9660241400bf353569c7e345f53dc6af2ac575195dc2fa9572a5e7f3
12
13maintainers         michaelld openmaintainer
14
15description         ${name} is a project to build a low cost software radio (SDR) platform.
16
17categories          science comms
18license             GPL-3
19platforms           darwin macosx
20
21long_description    ${description}
22
23depends_build-append port:pkgconfig
24depends_lib-append   port:libusb
25
26# Many compilers do not recognize "-std=gnu90", so remove it.
27# Temporary patch.
28
29patchfiles-append   patch-no-gnu90.diff
30
31# do VPATH build
32
33set vpath           ${workpath}/build
34pre-configure       { file mkdir ${vpath} }
35configure.dir       ${vpath}
36build.dir           ${vpath}
37
38# set last configure argument to the reletive path
39# to the top-level cmake source
40
41configure.post_args ../${worksrcdir}/host
42
43# remove top-level library path, such that internal libraries are used
44# instead of any already-installed ones.
45
46configure.ldflags-delete -L${prefix}/lib
47
48# be verbose when building, for debugging purposes
49
50build.post_args     VERBOSE=1
Note: See TracBrowser for help on using the repository browser.