blob: 521579ba010e49cbe883be9b4c3a400a29d5966c (
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
|
# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
# $FreeBSD$
PORTNAME= rtl-sdr
PORTVERSION= 20140210
PORTREVISION= 6
CATEGORIES= comms hamradio
MASTER_SITES= http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
LOCAL/martymac
MAINTAINER= martymac@FreeBSD.org
COMMENT= Commandline tool that performs SDR with RTL2832-based USB sticks
LICENSE= GPLv2
USES= autoreconf gmake pkgconfig libtool tar:tgz
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
DOCSDIR= ${PREFIX}/share/doc/librtlsdr
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
DOCS_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-Makefile.am
post-patch:
@${REINPLACE_CMD} 's|^pkgdocdir=.*|pkgdocdir=${DOCSDIR}|' \
${WRKSRC}/Makefile.am
@${REINPLACE_CMD} 's|^pkgconfigdir =.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|' \
${WRKSRC}/Makefile.am
.include <bsd.port.mk>
|