git: 5787f913d25a - main - misc/trurl: Update to 0.10

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Tue, 20 Feb 2024 08:00:02 UTC
The branch main has been updated by otis:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5787f913d25a4302e9fa6fb2c3f5b3de3667ff4f

commit 5787f913d25a4302e9fa6fb2c3f5b3de3667ff4f
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2024-02-20 07:59:09 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2024-02-20 07:59:51 +0000

    misc/trurl: Update to 0.10
---
 misc/trurl/Makefile             |  5 ++---
 misc/trurl/distinfo             |  6 +++---
 misc/trurl/files/patch-Makefile | 18 ++++++++++--------
 3 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/misc/trurl/Makefile b/misc/trurl/Makefile
index aa235f480d5a..ca03fa3fd1ed 100644
--- a/misc/trurl/Makefile
+++ b/misc/trurl/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	trurl
 DISTVERSIONPREFIX=	${PORTNAME}-
-DISTVERSION=	0.9
+DISTVERSION=	0.10
 CATEGORIES=	misc www
 
 MAINTAINER=	otis@FreeBSD.org
@@ -13,14 +13,13 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libcurl.so:ftp/curl
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}
 
-USES=		python:test
+USES=		gmake python:test
 USE_GITHUB=	yes
 GH_ACCOUNT=	curl
 
 MAKE_ARGS=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
 		LDFLAGS="-lcurl" \
 		LDLIBS="-L${LOCALBASE}/lib" \
-		MANDIR="${PREFIX}/share/man/man1"
 
 ALL_TARGET=	${PORTNAME}
 TEST_TARGET=	test
diff --git a/misc/trurl/distinfo b/misc/trurl/distinfo
index 847cec560ef8..fb61189086cd 100644
--- a/misc/trurl/distinfo
+++ b/misc/trurl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1699483885
-SHA256 (curl-trurl-trurl-0.9_GH0.tar.gz) = 848da38c0ea07cd96d6adac4a5e5e141fe26e5bd846039aa350c3ca589a948e0
-SIZE (curl-trurl-trurl-0.9_GH0.tar.gz) = 42869
+TIMESTAMP = 1708412466
+SHA256 (curl-trurl-trurl-0.10_GH0.tar.gz) = e54ee05a1a39f2547fbb39225f9cf5e2608eeaf07ad3f7dbff0a069d060d3c46
+SIZE (curl-trurl-trurl-0.10_GH0.tar.gz) = 45268
diff --git a/misc/trurl/files/patch-Makefile b/misc/trurl/files/patch-Makefile
index 93702869744d..40ba35efd866 100644
--- a/misc/trurl/files/patch-Makefile
+++ b/misc/trurl/files/patch-Makefile
@@ -1,11 +1,13 @@
---- Makefile.orig	2023-06-17 10:52:17 UTC
+--- Makefile.orig	2024-02-20 07:14:00 UTC
 +++ Makefile
-@@ -1,7 +1,6 @@
+@@ -24,10 +24,6 @@ OBJS = trurl.o
+ 
  TARGET = trurl
  OBJS = trurl.o
--LDLIBS = $$(curl-config --libs)
--CFLAGS += $$(curl-config --cflags) -W -Wall -Wshadow -Werror -pedantic -g -std=gnu99
-+CFLAGS+=-W -Wall -Wshadow -Werror -pedantic -g
- MANUAL = trurl.1
- 
- PREFIX ?= /usr/local
+-ifndef TRURL_IGNORE_CURL_CONFIG
+-LDLIBS += $$(curl-config --libs)
+-CFLAGS += $$(curl-config --cflags)
+-endif
+ CFLAGS += -W -Wall -Wshadow -Werror -pedantic
+ CFLAGS += -Wconversion -Wmissing-prototypes -Wwrite-strings -Wsign-compare -Wno-sign-conversion
+ ifndef NDEBUG