blob: 6beaaa4f598754474dd99f1e542cd0be7c3a7ef0 (
plain) (
blame)
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
|
PORTNAME= dump1090
PORTVERSION= 20200718
CATEGORIES= comms
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Simple Mode S decoder for RTLSDR devices
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>
|