aboutsummaryrefslogtreecommitdiff
path: root/comms/dump1090_mr/Makefile
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2015-04-04 19:57:02 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2015-04-04 19:57:02 +0000
commitc1f09fdf20a7927924d6db45dd93bac6705edf09 (patch)
tree9477a3ab4acd26657f919eb662535195b51ce5c1 /comms/dump1090_mr/Makefile
parent7e45ae3c23ace4b9a3ce58e50d5fc88e3c5faa92 (diff)
downloadports-c1f09fdf20a7927924d6db45dd93bac6705edf09.tar.gz
ports-c1f09fdf20a7927924d6db45dd93bac6705edf09.zip
Notes
Diffstat (limited to 'comms/dump1090_mr/Makefile')
-rw-r--r--comms/dump1090_mr/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/comms/dump1090_mr/Makefile b/comms/dump1090_mr/Makefile
new file mode 100644
index 000000000000..62bdee2fe3a2
--- /dev/null
+++ b/comms/dump1090_mr/Makefile
@@ -0,0 +1,39 @@
+# $FreeBSD$
+
+PORTNAME= dump1090_mr
+PORTVERSION= 1.15
+CATEGORIES= comms
+
+MAINTAINER= rpaulo@FreeBSD.org
+COMMENT= FlightAware's Mode S decoder for RTLSDR devices
+
+LICENSE= BSD3CLAUSE
+
+LIB_DEPENDS= librtlsdr.so:${PORTSDIR}/comms/rtl-sdr
+
+DISTVERSIONPREFIX= v
+
+USE_GITHUB= yes
+GH_ACCOUNT= flightaware
+
+MAKE_FLAGS+= PREFIX="${PREFIX}"
+
+CONFLICTS= dump1090-*
+
+USES= gmake
+
+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>