Updated chktex to 1.7.6. 1.7.6 (2016-09-09), released by Ivan Andrus <darthandrus@gmail.com> * Properly copy and free strings. This caused incorrect file reporting in some cases #49000 * Add "verbatim" commands and environments from tipa #46734 * Avoid infinite loop when a regex matches an empty string * Fix crash on invalid regular expression * Add warnings for $$...$$ and $...$ #47044 * Update the banner to reflect current bug reporting contacts 1.7.5 (2015-12-07), released by Ivan Andrus <darthandrus@gmail.com> * Track whether the previous line ended in a comment #45980 * Add a few source code environments to VerbEnvir * Don't show long line warning if the last line doesn't have a newline #46539 * Fix deweb's handling of file names #46043,#46042 * Use the exit status to indicate warnings were found #45979 * Consider OS X a UNIX 1.7.4 (2015-04-11), released by Ivan Andrus <darthandrus@gmail.com> * Fixed undefined behavior (patch from TeXLive) 1.7.3 (2015-04-09), released by Ivan Andrus <darthandrus@gmail.com> * Fixed memory leaks and a crashing bug #42813 * Added ConTeXt \start... \stop... tracking #44517 * Added DashExcpt list for exceptions to dash rules #42237 * Support \cite with two optional arguments (biblatex) #44413 * Removed warning about using \dots instead of .. #40731 This incorrectly warns about relative paths * Removed check for intro since it's common in file names #43013 * Turn off warning 19 by default #44226 Warning 19 is about Latin-1 quotes, but gives false positives for some utf-8 characters. 1.7.2 (2013-04-17), released by Ivan Andrus <darthandrus@gmail.com> * Fixed display bug on platforms where sizeof(int) != sizeof(regoff_t) * Warn that .. should be \dots like lacheck does * Fixed warnings under clang * Incorporated several build related patches from TeX Live 1.7.1 (2012-08-22), released by Ivan Andrus <darthandrus@gmail.com> * Improvements for TeX Live and CTAN * Fixed bug when checking for interword spacing * Added warning when a file has lines that are too long which can cause problems * Added ability to suppress user regular expression warnings by "naming" them * Added ability to suppress warnings for the rest of the file * Allow using PCRE or POSIX ERE or neither (at configure time). Regular expressions can be marked as PCRE or POSIX only. * Allow () to specify an optional argument in WipeArg to support \cmidrule[](){} * Allow regular expressions for Silent keyword, specified in [] for "case insensitive" * Added warning about \hline and vertical rules in tabular environments * I changed user warnings to be post WipeArg (like they were pre 1.7.0). I had changed them in 1.7.0 to be pre WipeArg so that I could match things like \label{...}, but this caused many false positives by matching in comments, etc. 1.7.0 (2012-05-28), released by Ivan Andrus <darthandrus@gmail.com> * Added support for user defined regular expression based warnings * Added support for macros like \ensuremath and \text * Added support for suppressing messages on a single line 1.6.6 (2012-04-07), released by Ivan Andrus <darthandrus@gmail.com> * Fixed some memory issues * Do not increase line number when the line was very long * Some fixes for TexLive 1.6.5 (??), released by Jean-Marc Lasgouttes <lasgouttes@lyx.org> * Fix bug where ChkTeX generates a warning about missing space before parenthesis when the parenthesis is at start of line. * Update ChkTeX.tex.in to use proper LaTeX2e markup. * Update the build machinery a bit.diff -r1.28 -r1.29 pkgsrc/print/chktex/Makefile
(wiz)
@@ -1,29 +1,28 @@ | @@ -1,29 +1,28 @@ | |||
1 | # $NetBSD: Makefile,v 1.28 2016/07/09 06:38:49 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.29 2016/09/30 11:33:06 wiz Exp $ | |
2 | # | |||
3 | 2 | |||
4 | DISTNAME= chktex-1.6.4 | 3 | DISTNAME= chktex-1.7.6 | |
5 | PKGREVISION= 2 | |||
6 | CATEGORIES= print | 4 | CATEGORIES= print | |
7 | MASTER_SITES= http://baruch.ev-en.org/proj/chktex/ | 5 | MASTER_SITES= http://download.savannah.gnu.org/releases/chktex/ | |
8 | 6 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 7 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://baruch.ev-en.org/proj/chktex/ | 8 | HOMEPAGE= http://www.nongnu.org/chktex/ | |
11 | COMMENT= LaTeX semantic checker | 9 | COMMENT= LaTeX semantic checker | |
12 | LICENSE= gnu-gpl-v2 | 10 | LICENSE= gnu-gpl-v2 | |
13 | 11 | |||
14 | BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin | 12 | BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin | |
15 | BUILD_DEPENDS+= tex-ntgclass-[0-9]*:../../print/tex-ntgclass | 13 | BUILD_DEPENDS+= tex-ntgclass-[0-9]*:../../print/tex-ntgclass | |
16 | BUILD_DEPENDS+= tex-tools-[0-9]*:../../print/tex-tools | 14 | BUILD_DEPENDS+= tex-tools-[0-9]*:../../print/tex-tools | |
15 | BUILD_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec | |||
17 | DEPENDS+= lynx-[0-9]*:../../www/lynx | 16 | DEPENDS+= lynx-[0-9]*:../../www/lynx | |
18 | 17 | |||
19 | EGDIR= ${PREFIX}/share/examples/chktex | 18 | EGDIR= ${PREFIX}/share/examples/chktex | |
20 | CONF_FILES= ${EGDIR}/chktexrc ${PKG_SYSCONFDIR}/chktexrc | 19 | CONF_FILES= ${EGDIR}/chktexrc ${PKG_SYSCONFDIR}/chktexrc | |
21 | 20 | |||
22 | USE_TOOLS+= gmake perl:run | 21 | USE_TOOLS+= gmake perl:run | |
23 | GNU_CONFIGURE= YES | 22 | GNU_CONFIGURE= YES | |
24 | CFLAGS+= -D__unix__ | 23 | CFLAGS+= -D__unix__ | |
25 | CONFIGURE_ENV+= PERL5=${PERL5:Q} | 24 | CONFIGURE_ENV+= PERL5=${PERL5:Q} | |
26 | MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} EGDIR=${EGDIR:Q} | 25 | MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} EGDIR=${EGDIR:Q} | |
27 | 26 | |||
28 | INSTALLATION_DIRS+= ${EGDIR} | 27 | INSTALLATION_DIRS+= ${EGDIR} | |
29 | 28 |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.5 2015/11/04 01:01:31 agc Exp $ | 1 | $NetBSD: distinfo,v 1.6 2016/09/30 11:33:06 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (chktex-1.6.4.tar.gz) = b42b6a69e17373760c9653cce0add6ffc741312b | 3 | SHA1 (chktex-1.7.6.tar.gz) = f1deb9ef9d5bd7732334f09c64587ff2c30cdb5f | |
4 | RMD160 (chktex-1.6.4.tar.gz) = 27651f1a9bb2fb626ca6d300cf60ec7d1dcc2f52 | 4 | RMD160 (chktex-1.7.6.tar.gz) = 08a2e1bd14aff2d4eec3c48f77d873ec2321304f | |
5 | SHA512 (chktex-1.6.4.tar.gz) = 4c5a22f2ea2a1c341cd2d653af06f1bbeb07b9504a57adbebfac5e6230bac83f4b680c6ae7140fa0a5f34d52350bc8b49167b170b6c4c16eed6071d8b265abe6 | 5 | SHA512 (chktex-1.7.6.tar.gz) = dd5ad2d7fce66eeb8d890bd79d00bdb28d9807539988232a917d6478c204e9a0ab287f2b8baf7977dba374b551609d8951cbf67ad15a793d35cdfe3411e4fe0b | |
6 | Size (chktex-1.6.4.tar.gz) = 214235 bytes | 6 | Size (chktex-1.7.6.tar.gz) = 153071 bytes | |
7 | SHA1 (patch-aa) = a2f853763427432897235fb09aaadbe5616427bf | 7 | SHA1 (patch-aa) = 6a8c9c7e916e60a4a16e54832101dbd1af4fd153 |
@@ -1,21 +1,24 @@ | @@ -1,21 +1,24 @@ | |||
1 | $NetBSD: patch-aa,v 1.2 2005/10/22 13:44:17 tonio Exp $ | 1 | $NetBSD: patch-aa,v 1.3 2016/09/30 11:33:06 wiz Exp $ | |
2 | 2 | |||
3 | --- Makefile.in.orig 2005-01-01 21:51:11.000000000 +0100 | 3 | Use proper installation tools. | |
4 | ||||
5 | --- Makefile.in.orig 2016-09-10 04:14:58.000000000 +0000 | |||
4 | +++ Makefile.in | 6 | +++ Makefile.in | |
5 | @@ -141,11 +141,13 @@ chktex: $(OBJS) | 7 | @@ -162,13 +162,13 @@ chktex: $(OBJS) | |
6 | ||||
7 | install: chktex ChkTeX.dvi | 8 | install: chktex ChkTeX.dvi | |
8 | $(INSTALL) -d $(DESTDIR)$(bindir) | 9 | $(MKDIR_P) $(DESTDIR)$(bindir) | |
9 | - for program in chktex $(SCRIPTS); do \ | 10 | for program in chktex $(BUILT_SCRIPTS); do \ | |
10 | - $(INSTALL_PROGRAM) $$program $(DESTDIR)$(bindir); \ | 11 | - $(INSTALL_PROGRAM) $$program $(DESTDIR)$(bindir); \ | |
11 | + $(INSTALL_PROGRAM) chktex $(DESTDIR)$(bindir); | 12 | + $(INSTALL_SCRIPT) $$program $(DESTDIR)$(bindir); \ | |
12 | + for program in $(SCRIPTS); do \ | 13 | done | |
13 | + $(INSTALL_SCRIPT) $$program $(DESTDIR)$(bindir); \ | 14 | for program in $(SCRIPTS); do \ | |
15 | - $(INSTALL_PROGRAM) $(srcdir)/$$program $(DESTDIR)$(bindir); \ | |||
16 | + $(INSTALL_SCRIPT) $(srcdir)/$$program $(DESTDIR)$(bindir); \ | |||
14 | done | 17 | done | |
15 | $(INSTALL) -d $(DESTDIR)$(sysconfdir) | 18 | - $(MKDIR_P) $(DESTDIR)$(sysconfdir) | |
16 | - $(INSTALL_DATA) $(srcdir)/chktexrc $(DESTDIR)$(sysconfdir) | 19 | - $(INSTALL_DATA) $(srcdir)/chktexrc $(DESTDIR)$(sysconfdir) | |
17 | + $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(EGDIR) | 20 | + $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(EGDIR) | |
18 | + $(INSTALL_DATA) $(srcdir)/chktexrc $(DESTDIR)$(EGDIR) | 21 | + $(INSTALL_DATA) $(srcdir)/chktexrc $(DESTDIR)$(EGDIR) | |
19 | if (eval echo "$(SCRIPTS)") | egrep deweb >/dev/null 2>&1; then \ | 22 | if (eval echo "$(BUILT_SCRIPTS)") | egrep deweb >/dev/null 2>&1; then \ | |
20 | $(INSTALL) -d $(DESTDIR)$(mandir); \ | 23 | $(MKDIR_P) $(DESTDIR)$(mandir)/man1; \ | |
21 | $(INSTALL) -d $(DESTDIR)$(mandir)/man1; \ | 24 | cp $(srcdir)/deweb.1 $(DESTDIR)$(mandir)/man1; \ |