From 7cfd802d284c48428044db57e206dd13281d93ee Mon Sep 17 00:00:00 2001 From: jperkin Date: Tue, 13 Dec 2022 14:17:07 +0000 Subject: htmllint: Work around NetBSD unzip for patched files. --- www/htmllint/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'www') diff --git a/www/htmllint/Makefile b/www/htmllint/Makefile index 9cba8915887..89d1d72bcc6 100644 --- a/www/htmllint/Makefile +++ b/www/htmllint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2022/06/28 11:37:05 wiz Exp $ +# $NetBSD: Makefile,v 1.45 2022/12/13 14:17:07 jperkin Exp $ DISTNAME= htmllint PKGNAME= htmllint-20111128 @@ -18,6 +18,13 @@ DEPENDS+= p5-libwww>=5.8:../../www/p5-libwww WRKSRC= ${WRKDIR} DIST_SUBDIR= ${PKGNAME_NOREV} +# Work around NetBSD unzip vs others for patched files. +SUBST_CLASSES+= cr +SUBST_STAGE.cr= post-extract +SUBST_FILES.cr= *.html htmllint* +SUBST_FILTER_CMD.cr= ${TR} -d '\r' +SUBST_NOOP_OK.cr= yes + REPLACE_PERL= htmllint.cgi htmllint parsedtd.pl tagslist.cgi USE_TOOLS+= perl:run NO_BUILD= yes -- cgit v1.2.3