Files
ports/textproc/hhm/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

21 lines
396 B
Makefile

PORTNAME= hhm
PORTVERSION= 0.1.1
CATEGORIES= textproc
MASTER_SITES= SAVANNAH
MAINTAINER= ports@FreeBSD.org
COMMENT= HTML Help Maker
WWW= http://bonedaddy.net/pabs3/code/\#hhm
LIB_DEPENDS= liblzxcomp.so:archivers/liblzxcomp
USES= uidfix
MAKEFILE= ${FILESDIR}/Makefile
PLIST_FILES= bin/hhm
post-patch:
${REINPLACE_CMD} -e 's!^typedef unsigned.*$$!!' ${WRKSRC}/hhm.c
.include <bsd.port.mk>