git: 5937a20a19fc - main - www/rssroll: update to 0.11.0

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Tue, 08 Nov 2022 16:16:34 UTC
The branch main has been updated by fernape:

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

commit 5937a20a19fc450d1bdc6a1f65845c64fd4a17f2
Author:     Nikola Kolev <koue@chaosophia.net>
AuthorDate: 2022-11-07 19:23:03 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-11-08 16:11:59 +0000

    www/rssroll: update to 0.11.0
    
    ChangeLog: https://github.com/koue/rssroll/blob/master/ChangeLog
    
    PR:             267495
    Reported by:    koue@chaosophia.net (maintainer)
---
 www/rssroll/Makefile | 52 +++++++++++++++++++++++++++++++++++-----------------
 www/rssroll/distinfo | 14 +++++++++-----
 2 files changed, 44 insertions(+), 22 deletions(-)

diff --git a/www/rssroll/Makefile b/www/rssroll/Makefile
index 1e0714e6eb6c..316795aa1ee1 100644
--- a/www/rssroll/Makefile
+++ b/www/rssroll/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	rssroll
-PORTVERSION=	0.6.2
-PORTREVISION=	2
+PORTVERSION=	0.11.0
 CATEGORIES=	www
 
 MAINTAINER=	koue@chaosophia.net
@@ -9,37 +8,56 @@ WWW=		http://chaosophia.net/rssroll/
 
 LICENSE=	BSD2CLAUSE
 
-LIB_DEPENDS=	libcurl.so:ftp/curl
-
 USES=		gnome sqlite:3
 USE_GNOME=	libxml2
 
-CEZ_VERSION=	1.05
+FSL_VERSION=	2.14
+CEZ_VERSION=	1.13
+RENDER_VERSION=	1.0
 USE_GITHUB=	yes
 GH_ACCOUNT=	koue
 
 GH_PROJECT=	rssroll:rssroll \
-		libcez:libcez
-GH_TAGNAME=	${CEZ_VERSION}:libcez
-
-CFLAGS+=	-I${WRKSRC_libcez}/src/config \
-		-I${WRKSRC_libcez}/src/fossil \
-		-I${WRKSRC_libcez}/src/misc
-
-LDFLAGS+=	-L${WRKSRC_libcez}/src/config \
-		-L${WRKSRC_libcez}/src/fossil \
-		-L${WRKSRC_libcez}/src/misc
+		libfsl:libfsl \
+		libcez:libcez \
+		librender:librender
+GH_TAGNAME=	${FSL_VERSION}:libfsl \
+		${CEZ_VERSION}:libcez \
+		${RENDER_VERSION}:librender
 
 # XXX Static libraries with PIE are currently unsupported.
 MAKE_ENV+=	WITHOUT_PIE=true
 
+CFLAGS+=	-I${WRKSRC_libfsl}/src/base \
+		-I${WRKSRC_libfsl}/src/db \
+		-I${WRKSRC_libcez}/src/core \
+		-I${WRKSRC_libcez}/src/misc \
+		-I${WRKSRC_libcez}/src/queue \
+		-I${WRKSRC_librender}/src
+
+LDFLAGS+=	-L${WRKSRC_libfsl}/src/base \
+		-L${WRKSRC_libfsl}/src/db \
+		-L${WRKSRC_libcez}/src/core \
+		-L${WRKSRC_libcez}/src/misc \
+		-L${WRKSRC_libcez}/src/queue \
+		-L${WRKSRC_librender}/src
+
+post-patch:
+	@${REINPLACE_CMD} -e "s|/etc/rssrollrc|${PREFIX}/etc/rssrollrc|" \
+		${WRKSRC}/src/rss.h
+
 pre-configure:
-	@(cd ${WRKSRC_libcez} && ${SETENV} ${MAKE_ENV} ${MAKE})
+	@(cd ${WRKSRC_libfsl}/src/base && ${SETENV} ${MAKE_ENV} ${MAKE})
+	@(cd ${WRKSRC_libfsl}/src/db && ${SETENV} ${MAKE_ENV} ${MAKE})
+	@(cd ${WRKSRC_libcez}/src/core && ${SETENV} ${MAKE_ENV} ${MAKE})
+	@(cd ${WRKSRC_libcez}/src/misc && ${SETENV} ${MAKE_ENV} ${MAKE})
+	@(cd ${WRKSRC_libcez}/src/queue && ${SETENV} ${MAKE_ENV} ${MAKE})
+	@(cd ${WRKSRC_librender}/src && ${SETENV} ${MAKE_ENV} ${MAKE})
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/rssroll ${STAGEDIR}${PREFIX}/bin
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} "html css" ${STAGEDIR}${PREFIX}/www/rssroll/)
 	${INSTALL_PROGRAM} ${WRKSRC}/src/index.cgi ${STAGEDIR}${PREFIX}/www/rssroll/index.cgi
-	${INSTALL_DATA} ${WRKSRC}/rssrollrc ${STAGEDIR}${PREFIX}/etc/rssrollrc.sample
+	${INSTALL_DATA} ${WRKSRC}/etc/rssrollrc ${STAGEDIR}${PREFIX}/etc/rssrollrc.sample
 
 .include <bsd.port.mk>
diff --git a/www/rssroll/distinfo b/www/rssroll/distinfo
index aa0745af44f8..43126a88e588 100644
--- a/www/rssroll/distinfo
+++ b/www/rssroll/distinfo
@@ -1,5 +1,9 @@
-TIMESTAMP = 1540833188
-SHA256 (koue-rssroll-0.6.2_GH0.tar.gz) = dfa862bfc3e87c8ff2945bff0cf4183fecc37b998ea6a720cce85800889fa649
-SIZE (koue-rssroll-0.6.2_GH0.tar.gz) = 24228
-SHA256 (koue-libcez-1.05_GH0.tar.gz) = 8cb938d869c8a4a5547c44bc49489224d877341778c0746b11d308905c41db52
-SIZE (koue-libcez-1.05_GH0.tar.gz) = 143054
+TIMESTAMP = 1667322731
+SHA256 (koue-rssroll-0.11.0_GH0.tar.gz) = 16502edcdcc6930c8b27588775596178ca83f9ae742042d33ed8eca34e64dc92
+SIZE (koue-rssroll-0.11.0_GH0.tar.gz) = 30559
+SHA256 (koue-libfsl-2.14_GH0.tar.gz) = 94b40dbbb79621ab9cd21fcaccab226855e040581414a805fb4d757f7e3cc694
+SIZE (koue-libfsl-2.14_GH0.tar.gz) = 88696
+SHA256 (koue-libcez-1.13_GH0.tar.gz) = 6e263467c7ef2491b2ebc657ef61b9948ef844ed1442c06b371794cf4028ce6c
+SIZE (koue-libcez-1.13_GH0.tar.gz) = 87868
+SHA256 (koue-librender-1.0_GH0.tar.gz) = e2911302e76680b2501f8b43924e9d6afec5ae05485ab0949ef9e3d570723445
+SIZE (koue-librender-1.0_GH0.tar.gz) = 3372