freebsd-ports/textproc/man2html/Makefile
Robert Clausecker 2523a664b3 textproc/man2html: update to 3.1.20240105
Upstream changes:

 * change the special case of bold italics to "-mixsecs" option.
 o allow a special case of bold italics (used in captoinfo.1m in ncurses)
 o provide a special case for ncurses's main manpage, which now uses
   italics for the subsections defining environment variables, rather
   than bold.
 o convert remaining tabs to spaces (perl tidy already did most).

 o reset variable used to splice links which are broken by hyphenation,
   if the bold text happens to not match the see-also pattern.  This
   occurred with ncurses curs_refresh.3x.html file.

 o fix a case where optional pattern in substitution did not match,
   causing an uninitialized-variable warning.
2024-09-30 16:01:56 +02:00

32 lines
828 B
Makefile

PORTNAME= man2html
DISTVERSION= 3.1.20240105
CATEGORIES= textproc
MASTER_SITES= https://invisible-island.net/archives/man2html/
DISTNAME= man2html-${DISTVERSION:E}
MAINTAINER= fuz@FreeBSD.org
COMMENT= Convert nroff(1) man pages to HTML
WWW= https://dickey.his.com/scripts/man2html.html
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= perl5 shebangfix tar:tgz
USE_PERL5= run
SHEBANG_FILES= man.cgi man2html
NO_ARCH= yes
NO_BUILD= yes
CGIDIR= ${PREFIX}/www/cgi-bin
PLIST_FILES= bin/man2html \
share/man/man1/man2html.1.gz \
www/cgi-bin/man.cgi
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/man2html ${STAGEDIR}/${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/man2html.1 ${STAGEDIR}/${PREFIX}/share/man/man1
${MKDIR} ${STAGEDIR}${CGIDIR}
${INSTALL_SCRIPT} ${WRKSRC}/man.cgi ${STAGEDIR}${CGIDIR}
.include <bsd.port.mk>