summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
Diffstat (limited to 'comms')
-rw-r--r--comms/ebook2cw/Makefile24
-rw-r--r--comms/ebook2cw/distinfo5
-rw-r--r--comms/ebook2cw/files/patch-Makefile41
-rw-r--r--comms/ebook2cw/pkg-descr2
-rw-r--r--comms/ebook2cw/pkg-plist4
-rw-r--r--comms/scrcpy/Makefile4
-rw-r--r--comms/scrcpy/distinfo10
7 files changed, 43 insertions, 47 deletions
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
diff --git a/comms/scrcpy/Makefile b/comms/scrcpy/Makefile
index 1699d62bfcd0..705df9ef3e9e 100644
--- a/comms/scrcpy/Makefile
+++ b/comms/scrcpy/Makefile
@@ -1,6 +1,6 @@
PORTNAME= scrcpy
DISTVERSIONPREFIX= v
-DISTVERSION= 3.3.1
+DISTVERSION= 3.3.2
CATEGORIES= comms net
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONFULL}/:server
DISTFILES= ${SERVER_FILE}:server
@@ -28,10 +28,10 @@ MESON_ARGS= -Dportable=false \
PLIST_FILES= bin/scrcpy \
etc/bash_completion.d/scrcpy \
- share/man/man1/scrcpy.1.gz \
share/applications/scrcpy-console.desktop \
share/applications/scrcpy.desktop \
share/icons/hicolor/256x256/apps/scrcpy.png \
+ share/man/man1/scrcpy.1.gz \
${DATADIR}/scrcpy-server \
share/zsh/site-functions/_scrcpy
PORTDOCS= FAQ.md README.md
diff --git a/comms/scrcpy/distinfo b/comms/scrcpy/distinfo
index 6c91996182ee..a290af494cd9 100644
--- a/comms/scrcpy/distinfo
+++ b/comms/scrcpy/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1750458492
-SHA256 (scrcpy-server-v3.3.1) = a0f70b20aa4998fbf658c94118cd6c8dab6abbb0647a3bdab344d70bc1ebcbb8
-SIZE (scrcpy-server-v3.3.1) = 90788
-SHA256 (Genymobile-scrcpy-v3.3.1_GH0.tar.gz) = 9999d2ff3605e1c5d1efb0b737ed6e240a93a928091ab356ba07199c92f52ace
-SIZE (Genymobile-scrcpy-v3.3.1_GH0.tar.gz) = 465464
+TIMESTAMP = 1757280607
+SHA256 (scrcpy-server-v3.3.2) = 2ee5ca0863ef440f5b7c75856bb475c5283d0a8359cb370b1c161314fd29dfd9
+SIZE (scrcpy-server-v3.3.2) = 90808
+SHA256 (Genymobile-scrcpy-v3.3.2_GH0.tar.gz) = 08bc272ac8decf364fbefb8865eaf074ba600969494ea8ade08736a6a2e3c39a
+SIZE (Genymobile-scrcpy-v3.3.2_GH0.tar.gz) = 465392