diff options
author | jperkin <jperkin@pkgsrc.org> | 2022-12-13 14:17:07 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2022-12-13 14:17:07 +0000 |
commit | 7cfd802d284c48428044db57e206dd13281d93ee (patch) | |
tree | 73217c49ebf02e8118658afe0dc142b9955a79ab /www | |
parent | 3e9db271adb36db598984d7f3a22889ae9cb3838 (diff) | |
download | pkgsrc-7cfd802d284c48428044db57e206dd13281d93ee.tar.gz |
htmllint: Work around NetBSD unzip for patched files.
Diffstat (limited to 'www')
-rw-r--r-- | www/htmllint/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
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 |