summaryrefslogtreecommitdiff
path: root/print/chktex
diff options
context:
space:
mode:
authorwiz <wiz>2016-09-30 11:33:06 +0000
committerwiz <wiz>2016-09-30 11:33:06 +0000
commit1220a30c09338885b714447f6abdc5caa3854838 (patch)
tree533da254faeb2da127d5255b71151274e849b748 /print/chktex
parentf050b34ded4110722bd6cc93afb3c3c6c531db8b (diff)
downloadpkgsrc-1220a30c09338885b714447f6abdc5caa3854838.tar.gz
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.
Diffstat (limited to 'print/chktex')
-rw-r--r--print/chktex/Makefile11
-rw-r--r--print/chktex/distinfo12
-rw-r--r--print/chktex/patches/patch-aa31
3 files changed, 28 insertions, 26 deletions
diff --git a/print/chktex/Makefile b/print/chktex/Makefile
index 3c480616cc4..b7ee4682916 100644
--- a/print/chktex/Makefile
+++ b/print/chktex/Makefile
@@ -1,19 +1,18 @@
-# $NetBSD: Makefile,v 1.28 2016/07/09 06:38:49 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.29 2016/09/30 11:33:06 wiz Exp $
-DISTNAME= chktex-1.6.4
-PKGREVISION= 2
+DISTNAME= chktex-1.7.6
CATEGORIES= print
-MASTER_SITES= http://baruch.ev-en.org/proj/chktex/
+MASTER_SITES= http://download.savannah.gnu.org/releases/chktex/
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://baruch.ev-en.org/proj/chktex/
+HOMEPAGE= http://www.nongnu.org/chktex/
COMMENT= LaTeX semantic checker
LICENSE= gnu-gpl-v2
BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
BUILD_DEPENDS+= tex-ntgclass-[0-9]*:../../print/tex-ntgclass
BUILD_DEPENDS+= tex-tools-[0-9]*:../../print/tex-tools
+BUILD_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec
DEPENDS+= lynx-[0-9]*:../../www/lynx
EGDIR= ${PREFIX}/share/examples/chktex
diff --git a/print/chktex/distinfo b/print/chktex/distinfo
index d93c64d6c53..eb70789a55b 100644
--- a/print/chktex/distinfo
+++ b/print/chktex/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2015/11/04 01:01:31 agc Exp $
+$NetBSD: distinfo,v 1.6 2016/09/30 11:33:06 wiz Exp $
-SHA1 (chktex-1.6.4.tar.gz) = b42b6a69e17373760c9653cce0add6ffc741312b
-RMD160 (chktex-1.6.4.tar.gz) = 27651f1a9bb2fb626ca6d300cf60ec7d1dcc2f52
-SHA512 (chktex-1.6.4.tar.gz) = 4c5a22f2ea2a1c341cd2d653af06f1bbeb07b9504a57adbebfac5e6230bac83f4b680c6ae7140fa0a5f34d52350bc8b49167b170b6c4c16eed6071d8b265abe6
-Size (chktex-1.6.4.tar.gz) = 214235 bytes
-SHA1 (patch-aa) = a2f853763427432897235fb09aaadbe5616427bf
+SHA1 (chktex-1.7.6.tar.gz) = f1deb9ef9d5bd7732334f09c64587ff2c30cdb5f
+RMD160 (chktex-1.7.6.tar.gz) = 08a2e1bd14aff2d4eec3c48f77d873ec2321304f
+SHA512 (chktex-1.7.6.tar.gz) = dd5ad2d7fce66eeb8d890bd79d00bdb28d9807539988232a917d6478c204e9a0ab287f2b8baf7977dba374b551609d8951cbf67ad15a793d35cdfe3411e4fe0b
+Size (chktex-1.7.6.tar.gz) = 153071 bytes
+SHA1 (patch-aa) = 6a8c9c7e916e60a4a16e54832101dbd1af4fd153
diff --git a/print/chktex/patches/patch-aa b/print/chktex/patches/patch-aa
index 7482013f8f7..c8f4202cd3a 100644
--- a/print/chktex/patches/patch-aa
+++ b/print/chktex/patches/patch-aa
@@ -1,21 +1,24 @@
-$NetBSD: patch-aa,v 1.2 2005/10/22 13:44:17 tonio Exp $
+$NetBSD: patch-aa,v 1.3 2016/09/30 11:33:06 wiz Exp $
---- Makefile.in.orig 2005-01-01 21:51:11.000000000 +0100
+Use proper installation tools.
+
+--- Makefile.in.orig 2016-09-10 04:14:58.000000000 +0000
+++ Makefile.in
-@@ -141,11 +141,13 @@ chktex: $(OBJS)
-
+@@ -162,13 +162,13 @@ chktex: $(OBJS)
install: chktex ChkTeX.dvi
- $(INSTALL) -d $(DESTDIR)$(bindir)
-- for program in chktex $(SCRIPTS); do \
-- $(INSTALL_PROGRAM) $$program $(DESTDIR)$(bindir); \
-+ $(INSTALL_PROGRAM) chktex $(DESTDIR)$(bindir);
-+ for program in $(SCRIPTS); do \
-+ $(INSTALL_SCRIPT) $$program $(DESTDIR)$(bindir); \
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ for program in chktex $(BUILT_SCRIPTS); do \
+- $(INSTALL_PROGRAM) $$program $(DESTDIR)$(bindir); \
++ $(INSTALL_SCRIPT) $$program $(DESTDIR)$(bindir); \
+ done
+ for program in $(SCRIPTS); do \
+- $(INSTALL_PROGRAM) $(srcdir)/$$program $(DESTDIR)$(bindir); \
++ $(INSTALL_SCRIPT) $(srcdir)/$$program $(DESTDIR)$(bindir); \
done
- $(INSTALL) -d $(DESTDIR)$(sysconfdir)
+- $(MKDIR_P) $(DESTDIR)$(sysconfdir)
- $(INSTALL_DATA) $(srcdir)/chktexrc $(DESTDIR)$(sysconfdir)
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(EGDIR)
+ $(INSTALL_DATA) $(srcdir)/chktexrc $(DESTDIR)$(EGDIR)
- if (eval echo "$(SCRIPTS)") | egrep deweb >/dev/null 2>&1; then \
- $(INSTALL) -d $(DESTDIR)$(mandir); \
- $(INSTALL) -d $(DESTDIR)$(mandir)/man1; \
+ if (eval echo "$(BUILT_SCRIPTS)") | egrep deweb >/dev/null 2>&1; then \
+ $(MKDIR_P) $(DESTDIR)$(mandir)/man1; \
+ cp $(srcdir)/deweb.1 $(DESTDIR)$(mandir)/man1; \