mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
c379663c64
and bump dependent ports' revisions
38 lines
827 B
Makefile
38 lines
827 B
Makefile
PORTNAME= rtl-sdr
|
|
PORTVERSION= 2.0.1
|
|
DISTVERSIONPREFIX= v
|
|
PORTEPOCH= 1
|
|
CATEGORIES= comms hamradio
|
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
|
COMMENT= Command-line tool that performs SDR with RTL2832-based USB sticks
|
|
WWW= https://sdr.osmocom.org/trac/wiki/rtl-sdr
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= autoreconf pkgconfig libtool pathfix tar:tgz
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= steve-m
|
|
GH_PROJECT= librtlsdr
|
|
|
|
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= DOXYGEN
|
|
OPTIONS_SUB= yes
|
|
|
|
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
|
|
DOXYGEN_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-Makefile.am
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's|^pkgdocdir=.*|pkgdocdir=${DOCSDIR}|' \
|
|
${WRKSRC}/Makefile.am
|
|
|
|
.include <bsd.port.mk>
|