diff --git a/comms/qrq/Makefile b/comms/qrq/Makefile index 574f5247626b..c745f49f4e03 100644 --- a/comms/qrq/Makefile +++ b/comms/qrq/Makefile @@ -1,12 +1,7 @@ -# ports collection makefile for: qrq -# Date created: 1 July 2007 -# Whom: db -# # $FreeBSD$ -# PORTNAME= qrq -PORTVERSION= 0.2.1 +PORTVERSION= 0.3.0 CATEGORIES= comms hamradio MASTER_SITES= http://fkurz.net/ham/qrq/ \ ${MASTER_SITE_LOCAL} @@ -15,6 +10,8 @@ MASTER_SITE_SUBDIR= db MAINTAINER= db@FreeBSD.org COMMENT= Morse telegraphy trainer similar to the classic DOS version by DL4MM +LICENSE= GPLv2 + MAN1= qrq.1 USE_GMAKE= yes @@ -23,4 +20,7 @@ post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' ${WRKSRC}/Makefile +post-install: + ${INSTALL_DATA} ${WRKSRC}/qrq.png ${DATADIR}/qrq.png + .include diff --git a/comms/qrq/distinfo b/comms/qrq/distinfo index b65ae6253c50..06771c32eac5 100644 --- a/comms/qrq/distinfo +++ b/comms/qrq/distinfo @@ -1,2 +1,2 @@ -SHA256 (qrq-0.2.1.tar.gz) = 66e810845d34c7da2c7ecf432318a446b0ac7b8a6239032022d58f5cce282071 -SIZE (qrq-0.2.1.tar.gz) = 120121 +SHA256 (qrq-0.3.0.tar.gz) = 26f8add86404037f7db8b5a6727923df57355bf92b3e40fab5e02cdd0a71044f +SIZE (qrq-0.3.0.tar.gz) = 130970 diff --git a/comms/qrq/files/patch-Makefile b/comms/qrq/files/patch-Makefile index d95cc4a36bf4..eba65ba99276 100644 --- a/comms/qrq/files/patch-Makefile +++ b/comms/qrq/files/patch-Makefile @@ -1,9 +1,9 @@ ---- Makefile.orig 2011-09-19 16:01:41.000000000 -0400 -+++ Makefile 2011-09-20 17:38:45.000000000 -0400 +--- Makefile.orig 2011-12-18 16:35:50.000000000 -0500 ++++ Makefile 2012-11-03 07:46:51.000000000 -0500 @@ -1,14 +1,14 @@ # qrq Makefile -- Fabian Kurz, DJ1YFK -- http://fkurz.net/ham/qrq.html - VERSION=0.2.1 + VERSION=0.3.0 -DESTDIR?=/usr +DESTDIR?=%%PREFIX%% @@ -15,18 +15,18 @@ -USE_PA=YES +USE_PA=NO - # set to YES if building on OSX - OSX_PLATFORM=NO -@@ -23,7 +23,7 @@ + # set to YES if you compile with MINGW32 + USE_WIN32=NO +@@ -26,7 +26,7 @@ endif - CFLAGS:=$(CFLAGS) -D DESTDIR=\"$(DESTDIR)\" -D VERSION=\"$(VERSION)\" + CFLAGS:=$(CFLAGS) -D DESTDIR=\"$(DESTDIR)\" -D VERSION=\"$(VERSION)\" -I. -CC=gcc +CC?=gcc ifeq ($(USE_CA), YES) OBJECTS=qrq.o coreaudio.o -@@ -88,11 +88,11 @@ +@@ -96,11 +96,11 @@ install: qrq install -d -v $(DESTDIR)/share/qrq/ diff --git a/comms/qrq/pkg-plist b/comms/qrq/pkg-plist index 942a2c4eea61..415c4660f88e 100644 --- a/comms/qrq/pkg-plist +++ b/comms/qrq/pkg-plist @@ -3,5 +3,6 @@ bin/qrqscore %%DATADIR%%/callbase.qcb %%DATADIR%%/english.qcb %%DATADIR%%/qrqrc +%%DATADIR%%/qrq.png %%DATADIR%%/toplist @dirrm %%DATADIR%%