diff options
author | Rui Paulo <rpaulo@FreeBSD.org> | 2015-04-04 19:57:02 +0000 |
---|---|---|
committer | Rui Paulo <rpaulo@FreeBSD.org> | 2015-04-04 19:57:02 +0000 |
commit | c1f09fdf20a7927924d6db45dd93bac6705edf09 (patch) | |
tree | 9477a3ab4acd26657f919eb662535195b51ce5c1 /comms/dump1090_mr | |
parent | 7e45ae3c23ace4b9a3ce58e50d5fc88e3c5faa92 (diff) | |
download | ports-c1f09fdf20a7927924d6db45dd93bac6705edf09.tar.gz ports-c1f09fdf20a7927924d6db45dd93bac6705edf09.zip |
Notes
Diffstat (limited to 'comms/dump1090_mr')
-rw-r--r-- | comms/dump1090_mr/Makefile | 39 | ||||
-rw-r--r-- | comms/dump1090_mr/distinfo | 2 | ||||
-rw-r--r-- | comms/dump1090_mr/files/patch-Makefile | 22 | ||||
-rw-r--r-- | comms/dump1090_mr/pkg-descr | 5 | ||||
-rw-r--r-- | comms/dump1090_mr/pkg-plist | 12 |
5 files changed, 80 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> diff --git a/comms/dump1090_mr/distinfo b/comms/dump1090_mr/distinfo new file mode 100644 index 000000000000..ac3c9c5dc713 --- /dev/null +++ b/comms/dump1090_mr/distinfo @@ -0,0 +1,2 @@ +SHA256 (dump1090_mr-v1.15_GH0.tar.gz) = 42137e1eb9a828e06748c3ce710701406c3992aa983f179068f5f380ecfe5b4c +SIZE (dump1090_mr-v1.15_GH0.tar.gz) = 1201485 diff --git a/comms/dump1090_mr/files/patch-Makefile b/comms/dump1090_mr/files/patch-Makefile new file mode 100644 index 000000000000..e54a14ff5a90 --- /dev/null +++ b/comms/dump1090_mr/files/patch-Makefile @@ -0,0 +1,22 @@ +--- Makefile.orig 2014-10-16 10:54:58.000000000 -0700 ++++ Makefile 2015-04-01 17:21:49.000000000 -0700 +@@ -4,8 +4,6 @@ + # + PROGNAME=dump1090 + +-include /usr/share/dpkg/buildflags.mk +- + PREFIX=/usr + + ifdef PREFIX +@@ -17,8 +15,8 @@ + + #CFLAGS=-O2 -g -Wall -W `pkg-config --cflags librtlsdr` + CFLAGS+= `pkg-config --cflags librtlsdr` +-LIBS=`pkg-config --libs librtlsdr` -lpthread -lm +-CC=gcc ++LIBS=`pkg-config --libs librtlsdr` -lpthread -lm -lcompat ++CC?=gcc + + + all: dump1090 view1090 diff --git a/comms/dump1090_mr/pkg-descr b/comms/dump1090_mr/pkg-descr new file mode 100644 index 000000000000..19821c798861 --- /dev/null +++ b/comms/dump1090_mr/pkg-descr @@ -0,0 +1,5 @@ +Dump1090 MR is a FlightAware fork of Malcolm Robb's fork of Salvatore +Sanfilippo's dump1090 program. FlightAware uses it as an important +element of PiAware (https://flightaware.com/adsb/piaware/). + +WWW: https://github.com/flightaware/dump1090_mr diff --git a/comms/dump1090_mr/pkg-plist b/comms/dump1090_mr/pkg-plist new file mode 100644 index 000000000000..551c53bcb90b --- /dev/null +++ b/comms/dump1090_mr/pkg-plist @@ -0,0 +1,12 @@ +bin/dump1090 +bin/view1090 +share/dump1090_mr/public_html/config.js +share/dump1090_mr/public_html/coolclock/coolclock.js +share/dump1090_mr/public_html/coolclock/excanvas.js +share/dump1090_mr/public_html/coolclock/moreskins.js +share/dump1090_mr/public_html/extension.js +share/dump1090_mr/public_html/gmap.html +share/dump1090_mr/public_html/options.js +share/dump1090_mr/public_html/planeObject.js +share/dump1090_mr/public_html/script.js +share/dump1090_mr/public_html/style.css |