I noticed this was behind the latest version, ok to update?
I simplified the distfile fetching as this is a good place to use
DIST_TUPLE.
Upstream has now archived the repository - and it has weak CSS support
as it's an ld qtwebkit, and breaks totally with more complex pages,
but chromium/iridium broke headless mode somewhere between 117 and 120,
likely in 120 where I think they changed to new headless mode, and
wkhtmltopdf does at least work for getting image/pdf dumps in some
cases, so it still seems slightly useful to have for now.
ok?
Index: Makefile
===
RCS file: /cvs/ports/textproc/wkhtmltopdf/Makefile,v
diff -u -p -r1.30 Makefile
--- Makefile5 Apr 2024 16:08:43 - 1.30
+++ Makefile26 Apr 2024 14:00:36 -
@@ -6,16 +6,10 @@ DPB_PROPERTIES = parallel nojunk
COMMENT = convert HTML to PDF using Webkit
-GH_ACCOUNT = wkhtmltopdf
-GH_PROJECT = wkhtmltopdf
-GH_TAGNAME = 0.12.5
-QT_COMMIT =5db36ec76b29712eb2c5bd0625c2c77d7468b3fc
-SITES.a = https://github.com/wkhtmltopdf/qt/archive/
-DISTFILES =${DISTNAME}.tar.gz
-DISTFILES.a = wkhtmltopdf-qt-${QT_COMMIT}_1{${QT_COMMIT}}.tar.gz
-REVISION = 6
+DIST_TUPLE = github wkhtmltopdf wkhtmltopdf 0.12.6 . \
+ github wkhtmltopdf qt
aa2e3129f8ef05dfa72c4b183feb8b7e1927ac8a qt
-SHARED_LIBS = wkhtmltox 1.0 # 0.12
+SHARED_LIBS = wkhtmltox 2.0 # 0.12
CATEGORIES = textproc
@@ -27,7 +21,7 @@ MAINTAINER = Frank Groeneveld