pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/htmllint



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Dec 13 14:17:07 UTC 2022

Modified Files:
        pkgsrc/www/htmllint: Makefile

Log Message:
htmllint: Work around NetBSD unzip for patched files.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/www/htmllint/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/htmllint/Makefile
diff -u pkgsrc/www/htmllint/Makefile:1.44 pkgsrc/www/htmllint/Makefile:1.45
--- pkgsrc/www/htmllint/Makefile:1.44   Tue Jun 28 11:37:05 2022
+++ pkgsrc/www/htmllint/Makefile        Tue Dec 13 14:17:07 2022
@@ -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-li
 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