summaryrefslogtreecommitdiffstats
path: root/comms/dump1090_mr/Makefile
blob: 600dd356a9138aae2ef69504672296008764fe0d (plain)
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
33
34
35
36
37
38
39
40
41
42
43
# $FreeBSD$

PORTNAME=	dump1090_mr
PORTVERSION=	1.15
DISTVERSIONPREFIX= v
PORTREVISION=	1
CATEGORIES=	comms

MAINTAINER=	rpaulo@FreeBSD.org
COMMENT=	FlightAware's Mode S decoder for RTLSDR devices

BROKEN=		unfetchable
DEPRECATED=	Broken for more than 6 months
EXPIRATION_DATE=	2016-07-04

LICENSE=	BSD3CLAUSE

LIB_DEPENDS=	librtlsdr.so:comms/rtl-sdr

USE_GITHUB=	yes
GH_ACCOUNT=	flightaware

MAKE_FLAGS+=	PREFIX="${PREFIX}"

CONFLICTS=	dump1090-*

USES=	gmake pkgconfig

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/dump1090 ${STAGEDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/view1090 ${STAGEDIR}${PREFIX}/bin
	${MKDIR} ${STAGEDIR}${DATADIR}/public_html
	${MKDIR} ${STAGEDIR}${DATADIR}/public_html/coolclock
	${INSTALL_DATA} ${WRKSRC}/public_html/*.html \
		${STAGEDIR}${DATADIR}/public_html
	${INSTALL_DATA} ${WRKSRC}/public_html/*.js \
		${STAGEDIR}${DATADIR}/public_html
	${INSTALL_DATA} ${WRKSRC}/public_html/*.css \
		${STAGEDIR}${DATADIR}/public_html
	${INSTALL_DATA} ${WRKSRC}/public_html/coolclock/* \
		${STAGEDIR}${DATADIR}/public_html/coolclock

.include <bsd.port.mk>
OpenPOWER on IntegriCloud