1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/comms/dump1090/Makefile
Ganael LAPLANCHE c379663c64 comms/rtl-sdr: Update to 2.0.1
and bump dependent ports' revisions
2023-11-10 12:39:37 +01:00

35 lines
763 B
Makefile

PORTNAME= dump1090
PORTVERSION= 20200718
PORTREVISION= 1
CATEGORIES= comms
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Simple Mode S decoder for RTLSDR devices
WWW= https://github.com/antirez/dump1090
LICENSE= BSD3CLAUSE
LIB_DEPENDS= librtlsdr.so:comms/rtl-sdr
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= antirez
GH_TAGNAME= de61bd5
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lrtlsdr -lusb -lpthread -lm
PLIST_FILES= bin/dump1090 \
${DATADIR}/gmap.html
post-patch:
@${REINPLACE_CMD} -e "s|gmap.html|${DATADIR}/gmap.html|" ${WRKSRC}/dump1090.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/gmap.html ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>