diff options
Diffstat (limited to '')
-rw-r--r-- | comms/cutecom/Makefile | 13 | ||||
-rw-r--r-- | comms/cutecom/distinfo | 6 | ||||
-rw-r--r-- | comms/cutecom/files/patch-ctrlcharacterspopup.cpp | 10 | ||||
-rw-r--r-- | comms/cutecom/pkg-plist | 6 | ||||
-rw-r--r-- | comms/ebook2cw/Makefile | 24 | ||||
-rw-r--r-- | comms/ebook2cw/distinfo | 5 | ||||
-rw-r--r-- | comms/ebook2cw/files/patch-Makefile | 41 | ||||
-rw-r--r-- | comms/ebook2cw/pkg-descr | 2 | ||||
-rw-r--r-- | comms/ebook2cw/pkg-plist | 4 |
9 files changed, 51 insertions, 60 deletions
diff --git a/comms/cutecom/Makefile b/comms/cutecom/Makefile index 6775a840ab03..940f5833276e 100644 --- a/comms/cutecom/Makefile +++ b/comms/cutecom/Makefile @@ -1,6 +1,6 @@ PORTNAME= cutecom -DISTVERSION= 0.51.0 -PORTREVISION= 1 +DISTVERSION= 0.60.0 +DISTVERSIONSUFFIX= -RC1 CATEGORIES= comms MAINTAINER= jwb@FreeBSD.org @@ -12,12 +12,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= lsz:comms/lrzsz -USES= cmake compiler:c++11-lang qt:5 -USE_QT= buildtools:build core gui network qmake:build serialport widgets +USES= desktop-file-utils cmake compiler:c++11-lang gl qt:6 +USE_GL= gl +USE_QT= base serialport tools:build USE_GITLAB= yes -GL_TAGNAME= cce2e5ec01df09ca4b05f055f21942e0de7eb7dd - -PLIST_FILES= bin/cutecom +GL_TAGNAME= v0.60.0-RC1 .include <bsd.port.mk> diff --git a/comms/cutecom/distinfo b/comms/cutecom/distinfo index 731fddebfaec..2f4a6fea39d8 100644 --- a/comms/cutecom/distinfo +++ b/comms/cutecom/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1617884521 -SHA256 (cutecom-cutecom-cce2e5ec01df09ca4b05f055f21942e0de7eb7dd_GL0.tar.gz) = 8fa20bf7e33599e660802fdd5c0dfd5505b7a10732452bfb900d4a64591efbee -SIZE (cutecom-cutecom-cce2e5ec01df09ca4b05f055f21942e0de7eb7dd_GL0.tar.gz) = 1314696 +TIMESTAMP = 1757853678 +SHA256 (cutecom-v0.60.0-RC1.tar.bz2) = 0251f7d63c6bfb3d3165841edb848e0ea971cf0ca77ceae8132d62a5983a2a35 +SIZE (cutecom-v0.60.0-RC1.tar.bz2) = 1291319 diff --git a/comms/cutecom/files/patch-ctrlcharacterspopup.cpp b/comms/cutecom/files/patch-ctrlcharacterspopup.cpp deleted file mode 100644 index f987cf54fdf1..000000000000 --- a/comms/cutecom/files/patch-ctrlcharacterspopup.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- ctrlcharacterspopup.cpp.orig 2020-05-19 17:54:37 UTC -+++ ctrlcharacterspopup.cpp -@@ -23,6 +23,7 @@ - #include <QApplication> - #include <QKeyEvent> - #include <QPainter> -+#include <QPainterPath> - #include <QPoint> - #include <QPushButton> - #include <QSignalMapper> diff --git a/comms/cutecom/pkg-plist b/comms/cutecom/pkg-plist new file mode 100644 index 000000000000..b1a0d21d49fc --- /dev/null +++ b/comms/cutecom/pkg-plist @@ -0,0 +1,6 @@ +bin/cutecom +share/applications/cutecom.desktop +share/icons/hicolor/32x32/apps/cutecom.png +share/icons/hicolor/scalable/apps/cutecom.svg +share/man/man1/cutecom.1.gz +share/metainfo/com.gitlab.cutecom.cutecom.appdata.xml diff --git a/comms/ebook2cw/Makefile b/comms/ebook2cw/Makefile index d0c5806895b9..210da6dcd83e 100644 --- a/comms/ebook2cw/Makefile +++ b/comms/ebook2cw/Makefile @@ -1,20 +1,23 @@ PORTNAME= ebook2cw -PORTVERSION= 0.8.2 -PORTREVISION= 3 +DISTVERSION= 0.8.5 CATEGORIES= comms hamradio -MASTER_SITES= http://fkurz.net/ham/ebook2cw/ \ - LOCAL/db +MASTER_SITES= https://fkurz.net/ham/ebook2cw/ MAINTAINER= hamradio@FreeBSD.org COMMENT= Convert text files into cw as an mp3 or ogg file WWW= https://fkurz.net/ham/ebook2cw.html LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libmp3lame.so:audio/lame \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis +USES= gettext + +PIE_UNSAFE= yes + OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @@ -23,14 +26,17 @@ post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|'g \ ${WRKSRC}/Makefile do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/ebook2cw ${STAGEDIR}${PREFIX}/bin/ebook2cw - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ebook2cw - ${INSTALL_DATA} ${WRKSRC}/ebook2cw.1 ${STAGEDIR}${PREFIX}/share/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/ebook2cw ${STAGEDIR}${PREFIX}/bin/ebook2cw + ${INSTALL_MAN} ${WRKSRC}/ebook2cw.1 ${STAGEDIR}${PREFIX}/share/man/man1 + +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + +do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ebook2cw.conf isomap.txt utf8map.txt ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${EXAMPLESDIR}/$f .endfor - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/comms/ebook2cw/distinfo b/comms/ebook2cw/distinfo index 57be1bb1010a..e7c2b516eb1c 100644 --- a/comms/ebook2cw/distinfo +++ b/comms/ebook2cw/distinfo @@ -1,2 +1,3 @@ -SHA256 (ebook2cw-0.8.2.tar.gz) = d8277ac6aaf9e64d9cb9a96457488b3a0dbd77e87622ded8f0825acb500c5758 -SIZE (ebook2cw-0.8.2.tar.gz) = 29170 +TIMESTAMP = 1754384661 +SHA256 (ebook2cw-0.8.5.tar.gz) = 571f734f12123b4affbad90b55dd4c9630b254afe343fa621fc5114b9bd25fc3 +SIZE (ebook2cw-0.8.5.tar.gz) = 34619 diff --git a/comms/ebook2cw/files/patch-Makefile b/comms/ebook2cw/files/patch-Makefile index 012d268cf5a6..e69a00d09e6f 100644 --- a/comms/ebook2cw/files/patch-Makefile +++ b/comms/ebook2cw/files/patch-Makefile @@ -1,11 +1,11 @@ ---- Makefile.orig 2013-01-04 14:33:04 UTC +--- Makefile.orig 2023-08-16 18:54:49 UTC +++ Makefile -@@ -3,37 +3,26 @@ - # $Id: Makefile 547 2012-12-29 21:07:53Z dj1yfk $ +@@ -1,30 +1,16 @@ VERSION=0.8.5 + # ebook2cw Makefile -- Fabian Kurz, DJ5CW -- http://fkurz.net/ham/ebook2cw.html - VERSION=0.8.2 + VERSION=0.8.5 -DESTDIR ?= /usr -+DESTDIR ?= /usr/local ++DESTDIR ?= %%PREFIX%% +CC ?= gcc -# Set to NO to compile without Lame/Ogg-vorbis support @@ -13,8 +13,8 @@ -USE_OGG?=YES - CFLAGS:=$(CFLAGS) -D DESTDIR=\"$(DESTDIR)\" -D VERSION=\"$(VERSION)\" -+CFLAGS+= -I/usr/local/include -D LAME -D OGGV -+LDFLAGS+= -L/usr/local/lib -lmp3lame -lvorbis -lvorbisenc -logg ++CFLAGS+= -I%%LOCALBASE%%/include -D LAME -D OGGV ++LDFLAGS+= -L%%LOCALBASE%%/lib -lintl -lmp3lame -lvorbis -lvorbisenc -logg -ifeq ($(USE_LAME), YES) - CFLAGS:=$(CFLAGS) -D LAME @@ -24,26 +24,15 @@ - CFLAGS:=$(CFLAGS) -D OGGV - LDFLAGS:=$(LDFLAGS) -lvorbis -lvorbisenc -logg -endif -+all: ebook2cw cgi +- + UNAME := $(shell uname) +-ifeq ($(UNAME), Darwin) +- LDFLAGS += -lintl +-endif - -all: ebook2cw -- - ebook2cw: ebook2cw.c codetables.h -- gcc ebook2cw.c -pedantic -Wall -lm $(LDFLAGS) $(CFLAGS) -o ebook2cw -+ ${CC} ebook2cw.c -pedantic -Wall -lm $(LDFLAGS) $(CFLAGS) -o ebook2cw - - cgi: ebook2cw.c codetables.h -- gcc -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -o cw.cgi -+ ${CC} -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -o cw.cgi - - cgibuffered: ebook2cw.c codetables.h -- gcc -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -D CGIBUFFERED -o cw.cgi -+ ${CC} -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -D CGIBUFFERED -o cw.cgi - - static: -- gcc -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -o ebook2cw -+ ${CC} -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -o ebook2cw ++all: ebook2cw cgi - install: - install -d -v $(DESTDIR)/share/man/man1/ + ebook2cw: ebook2cw.c codetables.h + $(CC) ebook2cw.c -pedantic -Wall -Wno-format-truncation -lm $(LDFLAGS) $(CFLAGS) -o ebook2cw diff --git a/comms/ebook2cw/pkg-descr b/comms/ebook2cw/pkg-descr index f42e9338f88f..72770e6f0568 100644 --- a/comms/ebook2cw/pkg-descr +++ b/comms/ebook2cw/pkg-descr @@ -1,5 +1,5 @@ ebook2cw is a command line program (optional GUI available) which converts a plain text (ISO 8859-1 or UTF-8) ebook to morse code MP3 files. -It works on several platforms, including Windows and Linux. +It works on several platforms, including GNU/Linux and Windows. Written by Fabian Kurz, DJ1YFK <mail@fkurz.net> diff --git a/comms/ebook2cw/pkg-plist b/comms/ebook2cw/pkg-plist index a55ada800cc4..339aa7c1f792 100644 --- a/comms/ebook2cw/pkg-plist +++ b/comms/ebook2cw/pkg-plist @@ -1,6 +1,6 @@ bin/ebook2cw -share/man/man1/ebook2cw.1.gz +%%PORTDOCS%%%%DOCSDIR%%/README %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebook2cw.conf %%PORTEXAMPLES%%%%EXAMPLESDIR%%/isomap.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/utf8map.txt -%%PORTDOCS%%%%DOCSDIR%%/README +share/man/man1/ebook2cw.1.gz |