1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/comms/dump1090/Makefile
Ganael LAPLANCHE f71358810f comms/rtl-sdr: Switch to upstream versioning scheme and update to 0.6.0
Also:
- Switch to Github mirror
- Bump dependent ports' PORTREVISIONs
2019-02-24 19:12:54 +00:00

37 lines
786 B
Makefile

# Created by: Steven Kreuzer <skreuzer@FreeBSD.org>
# $FreeBSD$
PORTNAME= dump1090
PORTVERSION= 20150225
PORTREVISION= 1
CATEGORIES= comms
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Simple Mode S decoder for RTLSDR devices
LICENSE= BSD3CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= antirez
GH_TAGNAME= 4c53e25
LIB_DEPENDS= librtlsdr.so:comms/rtl-sdr
USES= gmake
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>