Skip to content

Commit

Permalink
textproc/raptor2: Clean up port and backport upstream commit
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
Daniel Engberg authored and Daniel Engberg committed Aug 26, 2023
1 parent ab5c140 commit a4b6c50
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 7 additions & 9 deletions textproc/raptor2/Makefile
Expand Up @@ -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
Expand All @@ -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>
4 changes: 3 additions & 1 deletion 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

0 comments on commit a4b6c50

Please sign in to comment.