Files
ports/textproc/html-xml-utils/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

34 lines
963 B
Makefile

PORTNAME= html-xml-utils
DISTVERSION= 8.7
CATEGORIES= textproc
MASTER_SITES= https://www.w3.org/Tools/HTML-XML-utils/
MAINTAINER= takefu@airport.fm
COMMENT= Utilities for manipulating HTML and XML files
WWW= https://www.w3.org/Status.html\#HTML-XML-utils
LICENSE= W3C
LICENSE_GROUPS= FSF GPL OSI
LICENSE_NAME= W3C Software Notice and License (2002-12-31)
LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= gmake iconv localbase shebangfix
SHEBANG_FILES= ${WRKSRC}/hxcite-mkbib
GNU_CONFIGURE= yes
CONFIGURE_ARGS= LDFLAGS=${ICONV_LIB}
OPTIONS_DEFINE= CURL IDN IDN2 DOCS
OPTIONS_SUB= yes
IDN2_DESC= Use dns/libidn2 (IDNA2008 library)
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
CURL_CONFIGURE_WITH= libcurl=${LOCALBASE}
IDN2_LIB_DEPENDS= libidn2.so:dns/libidn2
IDN2_CONFIGURE_WITH= libidn2=${LOCALBASE}
IDN_LIB_DEPENDS= libidn.so:dns/libidn
IDN_CONFIGURE_WITH= libidn=${LOCALBASE}
.include <bsd.port.mk>