1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/comms/rtl-sdr/Makefile
Ganael LAPLANCHE 3cbcb4e5fa - Update comms/rtl-sdr to 20130913 and bump dependent ports' revisions
- Enable staging
- Update USES
- Remove IGNORE statement for pre-8.x versions
2013-10-10 06:16:03 +00:00

43 lines
1.0 KiB
Makefile

# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
# $FreeBSD$
PORTNAME= rtl-sdr
PORTVERSION= 20130913
CATEGORIES= comms hamradio
MASTER_SITES= http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
LOCAL/martymac
EXTRACT_SUFX= .tgz
MAINTAINER= martymac@FreeBSD.org
COMMENT= Commandline tool that performs SDR with RTL2832-based USB sticks
LICENSE= GPLv2
USES= gmake pkgconfig
USE_AUTOTOOLS= autoconf:env aclocal:env automake:env libtool
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
DOCSDIR= ${PREFIX}/share/doc/librtlsdr
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
.else
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Makefile.am
.endif
post-patch:
@${REINPLACE_CMD} 's|^pkgdocdir=.*|pkgdocdir=${DOCSDIR}|' \
${WRKSRC}/Makefile.am
@${REINPLACE_CMD} 's|^pkgconfigdir =.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|' \
${WRKSRC}/Makefile.am
pre-configure:
@(cd ${WRKSRC} && ${AUTORECONF} -fi)
.include <bsd.port.post.mk>