blob: 0de90384f490c320bf37d7babbb3e0cfb8a2dfaf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# $NetBSD: Makefile.common,v 1.18 2013/01/23 18:52:24 wiz Exp $
#
# This Makefile fragment is included at the top of package Makefiles for
# GNU Radio distributed packages (they all share common configure and build
# settings).
#
# used by ham/gnuradio-audio-jack/Makefile
# used by ham/gnuradio-audio-oss/Makefile
# used by ham/gnuradio-audio-portaudio/Makefile
# used by ham/gnuradio-core/Makefile
# used by ham/gnuradio-core-docs/Makefile
# used by ham/gnuradio-examples/Makefile
# used by ham/gnuradio-gsm/Makefile
# used by ham/gnuradio-howto/Makefile
# used by ham/gnuradio-radio-astronomy/Makefile
# used by ham/gnuradio-trellis/Makefile
# used by ham/gnuradio-usrp/Makefile
# used by ham/gnuradio-video-sdl/Makefile
# used by ham/gnuradio-wxgui/Makefile
.include "../../meta-pkgs/gnuradio/Makefile.version"
DISTNAME?= gnuradio-${VERSION}
CATEGORIES+= ham
MASTER_SITES?= http://gnuradio.org/releases/gnuradio/
MAINTAINER?= pkgsrc-users@NetBSD.org
HOMEPAGE?= http://www.gnu.org/software/gnuradio/
LICENSE= gnu-gpl-v3
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= gmake automake autoconf pkg-config
MAKE_JOBS_SAFE= no
DISTINFO_FILE= ${.CURDIR}/../../meta-pkgs/gnuradio/distinfo
PATCHDIR= ${.CURDIR}/../../meta-pkgs/gnuradio/patches
BUILD_DEPENDS+=doxygen>=1.5.1:../../devel/doxygen
PY_PATCHPLIST= yes
EGDIR= ${PREFIX}/share/examples/gnuradio/conf.d
PKG_SYSCONFSUBDIR=gnuradio/conf.d
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/share/examples
CONFIGURE_ARGS+= --disable-all-components
CONFIGURE_ARGS+= --with-boost-thread=boost_thread
CONFIGURE_ARGS+= --with-boost-program-options=boost_program_options
pre-configure:
.if empty(PKGNAME:Mgnuradio-howto-*)
cd ${WRKSRC} && ./bootstrap
.endif
.include "../../mk/bsd.prefs.mk"
|