Changelog: - Now install a 32x32 icon for Linux - Fixed an issue with large values for roman numerals and letters in headings - Fixed a crash bug when a HTML comment contains an invalid nul character - Fixed a crash bug with bogus BMP images - Fixed a potential heap overflow bug with bogus GIF images - Fixed a potential stack overflow bug with bogus BMP images (https://www.msweet.org/blog/2021-11-05-htmldoc-1.9.13.html) PR: 260108 Approved by: jose@diasfernandes.pt (maintainer timeout, >3 weeks)
42 lines
980 B
Makefile
42 lines
980 B
Makefile
# Created by: Glenn Trewitt <glenn@trewitt.org>
|
|
|
|
PORTNAME= htmldoc
|
|
PORTVERSION= 1.9.13
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= textproc
|
|
|
|
MAINTAINER= jose@diasfernandes.pt
|
|
COMMENT= Converts HTML to PDF and/or PostScript
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BROKEN_mips= complains about expecting ) before png_ptr
|
|
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
|
|
|
USES= compiler:c11 cpe jpeg pkgconfig
|
|
CPE_VENDOR= ${PORTNAME}_project
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= michaelrsweet
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
OPTIONS_DEFINE= GNUTLS HTMLDOCGUI
|
|
OPTIONS_DEFAULT= GNUTLS
|
|
|
|
HTMLDOCGUI_DESC= Build GUI front-end
|
|
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
|
|
GNUTLS_CONFIGURE_ENABLE= gnutls
|
|
|
|
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,xrender
|
|
HTMLDOCGUI_CONFIGURE_WITH= gui=yes
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/htmldoc
|
|
|
|
.include <bsd.port.mk>
|