git: a4b6c50994e5 - main - textproc/raptor2: Clean up port and backport upstream commit

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 26 Aug 2023 17:07:55 UTC
The branch main has been updated by diizzy:

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

commit a4b6c50994e5c0981c6380a6ad54720e48d6e431
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-08-26 16:42:51 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-08-26 16:42:55 +0000

    textproc/raptor2: Clean up port and backport upstream commit
    
    - Backport upstream commit 4dbc4c1da2a033c497d84a1291c46f416a9cac51 to
      fix build with newer versions of libxml2
    - Use USES= localbase and remove unnecessary CONFIGURE_ARGS
    - Move USE_LDCONFIG
    
    PR:             273116
    Approved by:    kde (jhale)
    Sponsored by:   Blinkinblox
---
 textproc/raptor2/Makefile | 16 +++++++---------
 textproc/raptor2/distinfo |  4 +++-
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/textproc/raptor2/Makefile b/textproc/raptor2/Makefile
index bdc681119a41..ebf5c0bd2986 100644
--- a/textproc/raptor2/Makefile
+++ b/textproc/raptor2/Makefile
@@ -2,8 +2,10 @@ PORTNAME=	raptor2
 DISTVERSION=	2.0.16
 PORTREVISION=	1
 CATEGORIES=	textproc
-MASTER_SITES=	http://download.librdf.org/source/ \
-		SF/librdf/${PORTNAME}/${PORTVERSION}
+MASTER_SITES=	https://download.librdf.org/source/
+
+PATCH_SITES=	https://github.com/dajobe/raptor/commit/
+PATCHFILES=	4dbc4c1da2a033c497d84a1291c46f416a9cac51.patch:-p1
 
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	RDF Parser Toolkit for Redland
@@ -20,15 +22,11 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 
 CONFLICTS=	raptor-1.4.1[0-9]* raptor-1.4.21
 
+USES=		gnome libtool:keepla localbase pathfix pkgconfig
 USE_GNOME=	libxml2 libxslt
-USES=		gnome libtool:keepla pathfix pkgconfig
+USE_LDCONFIG=	yes
+
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-xml2-config=${LOCALBASE}/bin/xml2-config \
-		--with-curl-config=${LOCALBASE}/bin/curl-config \
-		--with-icu-config=${LOCALBASE}/bin/icu-config \
-		--with-www=curl
 INSTALL_TARGET=	install-strip
 
-USE_LDCONFIG=	yes
-
 .include <bsd.port.mk>
diff --git a/textproc/raptor2/distinfo b/textproc/raptor2/distinfo
index 00bd0e7c09e6..cf35d8bd6fd6 100644
--- a/textproc/raptor2/distinfo
+++ b/textproc/raptor2/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1677909926
+TIMESTAMP = 1691830822
 SHA256 (raptor2-2.0.16.tar.gz) = 089db78d7ac982354bdbf39d973baf09581e6904ac4c92a98c5caadb3de44680
 SIZE (raptor2-2.0.16.tar.gz) = 1750726
+SHA256 (4dbc4c1da2a033c497d84a1291c46f416a9cac51.patch) = 5059dcfb1b4694584f2c8fbf75a02b5cd2bfe4f92b0b15e1cc2bd1ff023e4244
+SIZE (4dbc4c1da2a033c497d84a1291c46f416a9cac51.patch) = 1166