Files
ports/textproc/html-pretty/Makefile
T
Tobias Kortkamp 18a2d75dd3 *: Fix WWW with broken anchors-as-comments
Case 1: WWW=https://example.com#foo

 Here #foo is not part of the value of WWW since # introduces a comment
 whether it's part of a word or not (quoting the word+# makes no
 difference either).  # needs to be escaped:

   WWW=https://example.com\#foo

Case 2: WWW=https://example.com #foo

 This is probably fallout from when WWW was moved from pkg-descr to
 Makefile.

The anchors still exist on the actual websites too or I removed them.
2026-03-17 22:29:31 +01:00

32 lines
792 B
Makefile

PORTNAME= html-pretty
PORTVERSION= 1.02
CATEGORIES= textproc www
MASTER_SITES= http://ftp.math.utah.edu:80/pub/sgml/
DISTNAME= htmlpty-${PORTVERSION}
MAINTAINER= atanubiswas484@gmail.com
COMMENT= HTML and SGML prettyprinter and text-to-HTML/SGML converter
WWW= http://www.math.utah.edu/~beebe/software/html-sgml-tools.html\#html-pretty
LICENSE= PD
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/*.html ${WRKSRC}/Docs/*.html \
${STAGEDIR}${DOCSDIR}/html
.for f in AUTHORS BUGS ChangeLog NEWS README THANKS
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>