diff --git a/textproc/htmldoc/Makefile b/textproc/htmldoc/Makefile
index ab7d36114838..83cbab7d93cd 100644
--- a/textproc/htmldoc/Makefile
+++ b/textproc/htmldoc/Makefile
@@ -1,36 +1,36 @@
PORTNAME= htmldoc
DISTVERSIONPREFIX= v
-DISTVERSION= 1.9.20
+DISTVERSION= 1.9.21
CATEGORIES= textproc
MAINTAINER= fuz@FreeBSD.org
COMMENT= Converts HTML to PDF and/or PostScript
WWW= https://michaelrsweet.github.io/htmldoc
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_mips= complains about expecting ) before png_ptr
LIB_DEPENDS= libcups.so:print/cups \
libpng16.so:graphics/png
USES= compiler:c11 cpe jpeg pkgconfig
CPE_VENDOR= htmldoc_project
USE_GITHUB= yes
GH_ACCOUNT= michaelrsweet
HAS_CONFIGURE= yes
OPTIONS_DEFINE= HTMLDOCGUI
HTMLDOCGUI_DESC= Build GUI front-end
HTMLDOCGUI_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \
libfontconfig.so:x11-fonts/fontconfig
HTMLDOCGUI_USES= xorg
HTMLDOCGUI_USE= XORG=x11,xcursor,xext,xfixes,xft,xinerama,xpm,xrender
HTMLDOCGUI_CONFIGURE_WITH= gui=yes
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/htmldoc
.include
diff --git a/textproc/htmldoc/distinfo b/textproc/htmldoc/distinfo
index 3019cbc0af4f..87845331d88c 100644
--- a/textproc/htmldoc/distinfo
+++ b/textproc/htmldoc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1733762026
-SHA256 (michaelrsweet-htmldoc-v1.9.20_GH0.tar.gz) = a155c86c69f90a426ff7244bd046bad026cc5ba9ac2be89dcb1d7973c52d5d82
-SIZE (michaelrsweet-htmldoc-v1.9.20_GH0.tar.gz) = 3313590
+TIMESTAMP = 1757710217
+SHA256 (michaelrsweet-htmldoc-v1.9.21_GH0.tar.gz) = 9f783917c7f6a23997c6318c807435aa41445a8a315e83cb327c23db4b8af918
+SIZE (michaelrsweet-htmldoc-v1.9.21_GH0.tar.gz) = 3309241