aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2019-04-24 14:41:48 +0000
committerDiane Bruce <db@FreeBSD.org>2019-04-24 14:41:48 +0000
commitf32ceaae523f047c31709445a07932786c9bfd1c (patch)
treec24859c4d2678f797df6481b5cf1f59d0879090a
parenteaa7160e6496b530abb0b381bc427def20983d3e (diff)
downloadports-f32ceaae523f047c31709445a07932786c9bfd1c.tar.gz
ports-f32ceaae523f047c31709445a07932786c9bfd1c.zip
Summary: comms/qrq: Failure to read configuration files and
portlint(1) Compliance PR: ports/234381 Submitted by: takefu
Notes
Notes: svn path=/head/; revision=499850
-rw-r--r--comms/qrq/Makefile6
-rw-r--r--comms/qrq/distinfo5
-rw-r--r--comms/qrq/files/patch-Makefile19
3 files changed, 18 insertions, 12 deletions
diff --git a/comms/qrq/Makefile b/comms/qrq/Makefile
index b3285c5725f2..a22ad59c6a0c 100644
--- a/comms/qrq/Makefile
+++ b/comms/qrq/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= qrq
-PORTVERSION= 0.3.1
-PORTREVISION= 1
+PORTVERSION= 0.3.2
CATEGORIES= comms hamradio
MASTER_SITES= http://fkurz.net/ham/qrq/
@@ -12,9 +11,12 @@ COMMENT= Morse telegraphy trainer similar to the classic DOS version by DL4MM
LICENSE= GPLv2
USES= gmake ncurses shebangfix
+
SHEBANG_FILES= qrqscore
post-install:
${INSTALL_DATA} ${WRKSRC}/qrq.png ${STAGEDIR}${DATADIR}/qrq.png
+MAKE_ENV= DESTDIR=${LOCALBASE}
+
.include <bsd.port.mk>
diff --git a/comms/qrq/distinfo b/comms/qrq/distinfo
index 4c68d50fadbd..513cd30574e3 100644
--- a/comms/qrq/distinfo
+++ b/comms/qrq/distinfo
@@ -1,2 +1,3 @@
-SHA256 (qrq-0.3.1.tar.gz) = 92988a33b7eddb3941cf91a285a57f4f0872722adf003350a8afe2caf83159a1
-SIZE (qrq-0.3.1.tar.gz) = 131508
+TIMESTAMP = 1556007902
+SHA256 (qrq-0.3.2.tar.gz) = f340aa1e99a1c7752fe3600828a6596354485fffdb66a39eaf79227ac24ac43c
+SIZE (qrq-0.3.2.tar.gz) = 132546
diff --git a/comms/qrq/files/patch-Makefile b/comms/qrq/files/patch-Makefile
index 56278be71d83..cf241a0e0c77 100644
--- a/comms/qrq/files/patch-Makefile
+++ b/comms/qrq/files/patch-Makefile
@@ -1,4 +1,4 @@
---- Makefile.orig 2013-01-06 14:14:09 UTC
+--- Makefile.orig 2019-03-09 20:14:52 UTC
+++ Makefile
@@ -8,7 +8,7 @@ DESTDIR?=/usr
USE_CA=NO
@@ -9,15 +9,18 @@
# set to YES if you compile with MINGW32
USE_WIN32=NO
-@@ -26,7 +26,6 @@ ifneq ($(OSX_PLATFORM), YES)
- endif
+@@ -27,8 +27,8 @@ endif
- CFLAGS:=$(CFLAGS) -D DESTDIR=\"$(DESTDIR)\" -D VERSION=\"$(VERSION)\" -I.
--CC=gcc
+ ifeq ($(USE_WIN32), YES)
+ CC=i686-w64-mingw32-gcc-posix
+-else
+- CC=gcc
++#else
++# CC=gcc
+ endif
- ifeq ($(USE_CA), YES)
- OBJECTS=qrq.o coreaudio.o
-@@ -95,16 +94,14 @@ uninstall:
+ # build information may be added by CI scripts and will be
+@@ -104,16 +104,14 @@ uninstall:
else
install: qrq