pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/htmllint htmllint: Work around NetBSD unzip for pa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/89bfe65ac09d
branches:  trunk
changeset: 389975:89bfe65ac09d
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Dec 13 14:17:07 2022 +0000

description:
htmllint: Work around NetBSD unzip for patched files.

diffstat:

 www/htmllint/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 516af2429729 -r 89bfe65ac09d www/htmllint/Makefile
--- a/www/htmllint/Makefile     Tue Dec 13 14:13:31 2022 +0000
+++ b/www/htmllint/Makefile     Tue Dec 13 14:17:07 2022 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index