aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2015-04-07 22:43:41 +0800
committerswills <swills@FreeBSD.org>2015-04-07 22:43:41 +0800
commit4026aba825e6b2ace970e564b20dae5c4a752d5f (patch)
tree11a56d5249f29ba35005603bb3bde1cbc3e512b7 /comms
parenta6fdad6a9288901286fe7a4ce1c88ed0aa2877ae (diff)
downloadfreebsd-ports-gnome-4026aba825e6b2ace970e564b20dae5c4a752d5f.tar.gz
freebsd-ports-gnome-4026aba825e6b2ace970e564b20dae5c4a752d5f.tar.zst
freebsd-ports-gnome-4026aba825e6b2ace970e564b20dae5c4a752d5f.zip
comms/dump1090_mr: fix build, fix path to html files
Approved by: rpaulo (maintainer)
Diffstat (limited to 'comms')
-rw-r--r--comms/dump1090_mr/Makefile3
-rw-r--r--comms/dump1090_mr/files/patch-Makefile13
2 files changed, 11 insertions, 5 deletions
diff --git a/comms/dump1090_mr/Makefile b/comms/dump1090_mr/Makefile
index 62bdee2fe3a2..83b1cd544823 100644
--- a/comms/dump1090_mr/Makefile
+++ b/comms/dump1090_mr/Makefile
@@ -2,6 +2,7 @@
PORTNAME= dump1090_mr
PORTVERSION= 1.15
+PORTREVISION= 1
CATEGORIES= comms
MAINTAINER= rpaulo@FreeBSD.org
@@ -20,7 +21,7 @@ MAKE_FLAGS+= PREFIX="${PREFIX}"
CONFLICTS= dump1090-*
-USES= gmake
+USES= gmake pkgconfig
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dump1090 ${STAGEDIR}${PREFIX}/bin
diff --git a/comms/dump1090_mr/files/patch-Makefile b/comms/dump1090_mr/files/patch-Makefile
index e54a14ff5a90..a973d1427289 100644
--- a/comms/dump1090_mr/files/patch-Makefile
+++ b/comms/dump1090_mr/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2014-10-16 10:54:58.000000000 -0700
-+++ Makefile 2015-04-01 17:21:49.000000000 -0700
-@@ -4,8 +4,6 @@
+--- Makefile.orig 2014-10-16 17:54:58 UTC
++++ Makefile
+@@ -4,21 +4,19 @@
#
PROGNAME=dump1090
@@ -9,7 +9,12 @@
PREFIX=/usr
ifdef PREFIX
-@@ -17,8 +15,8 @@
+ BINDIR=$(PREFIX)/bin
+-SHAREDIR=$(PREFIX)/share/$(PROGNAME)
++SHAREDIR=$(PREFIX)/share/$(PROGNAME)_mr
+ HTMLDIR=$(SHAREDIR)/public_html
+ EXTRACFLAGS=-DHTMLPATH=\"$(HTMLDIR)\"
+ endif
#CFLAGS=-O2 -g -Wall -W `pkg-config --cflags librtlsdr`
CFLAGS+= `pkg-config --cflags librtlsdr`