xref: /mports/comms/rtl-sdr/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	rtl-sdr
2PORTVERSION=	2.0.2
3DISTVERSIONPREFIX=	v
4PORTEPOCH=	1
5CATEGORIES=	comms hamradio
6
7MAINTAINER=	ports@MidnightBSD.org
8COMMENT=	Command-line tool that performs SDR with RTL2832-based USB sticks
9WWW=		https://sdr.osmocom.org/trac/wiki/rtl-sdr
10
11LICENSE=	gpl2
12
13USES=		autoreconf pkgconfig libtool pathfix tar:tgz
14
15USE_GITHUB=	yes
16GH_ACCOUNT=	steve-m
17GH_PROJECT=	librtlsdr
18
19GNU_CONFIGURE=	yes
20INSTALL_TARGET=	install-strip
21CPPFLAGS+=	-I${LOCALBASE}/include
22LDFLAGS+=	-L${LOCALBASE}/lib
23USE_LDCONFIG=	yes
24
25DOCSDIR=	${PREFIX}/share/doc/librtlsdr
26
27OPTIONS_DEFINE=	DOXYGEN
28OPTIONS_SUB=	yes
29
30DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen
31DOXYGEN_EXTRA_PATCHES_OFF=	${FILESDIR}/extra-patch-Makefile.am
32
33post-patch:
34	@${REINPLACE_CMD} 's|^pkgdocdir=.*|pkgdocdir=${DOCSDIR}|' \
35		${WRKSRC}/Makefile.am
36
37.include <bsd.port.mk>
38

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026