Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 2015 19:57:03 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383242 - in head/comms: . dump1090_mr dump1090_mr/files
Message-ID:  <201504041957.t34Jv3iv033564@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Sat Apr  4 19:57:02 2015
New Revision: 383242
URL: https://svnweb.freebsd.org/changeset/ports/383242

Log:
  New port: comms/dump1090_mr:
  
  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/).
  
  Reviewed by:	bapt
  Approved by:	bapt

Added:
  head/comms/dump1090_mr/
  head/comms/dump1090_mr/Makefile   (contents, props changed)
  head/comms/dump1090_mr/distinfo   (contents, props changed)
  head/comms/dump1090_mr/files/
  head/comms/dump1090_mr/files/patch-Makefile   (contents, props changed)
  head/comms/dump1090_mr/pkg-descr   (contents, props changed)
  head/comms/dump1090_mr/pkg-plist   (contents, props changed)
Modified:
  head/comms/Makefile

Modified: head/comms/Makefile
==============================================================================
--- head/comms/Makefile	Sat Apr  4 19:37:30 2015	(r383241)
+++ head/comms/Makefile	Sat Apr  4 19:57:02 2015	(r383242)
@@ -33,6 +33,7 @@
     SUBDIR += dfu-programmer
     SUBDIR += dfu-util
     SUBDIR += dump1090
+    SUBDIR += dump1090_mr
     SUBDIR += ebook2cw
     SUBDIR += ebook2cwgui
     SUBDIR += echolinux

Added: head/comms/dump1090_mr/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/dump1090_mr/Makefile	Sat Apr  4 19:57:02 2015	(r383242)
@@ -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>

Added: head/comms/dump1090_mr/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/dump1090_mr/distinfo	Sat Apr  4 19:57:02 2015	(r383242)
@@ -0,0 +1,2 @@
+SHA256 (dump1090_mr-v1.15_GH0.tar.gz) = 42137e1eb9a828e06748c3ce710701406c3992aa983f179068f5f380ecfe5b4c
+SIZE (dump1090_mr-v1.15_GH0.tar.gz) = 1201485

Added: head/comms/dump1090_mr/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/dump1090_mr/files/patch-Makefile	Sat Apr  4 19:57:02 2015	(r383242)
@@ -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

Added: head/comms/dump1090_mr/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/dump1090_mr/pkg-descr	Sat Apr  4 19:57:02 2015	(r383242)
@@ -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

Added: head/comms/dump1090_mr/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/dump1090_mr/pkg-plist	Sat Apr  4 19:57:02 2015	(r383242)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504041957.t34Jv3iv033564>