2020-01-19 00:30:43 +01:00
|
|
|
# $NetBSD: Makefile,v 1.35 2020/01/18 23:33:27 rillig Exp $
|
2003-04-06 16:37:38 +02:00
|
|
|
|
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.
2016-09-30 13:33:06 +02:00
|
|
|
DISTNAME= chktex-1.7.6
|
2019-08-11 15:17:48 +02:00
|
|
|
PKGREVISION= 3
|
2003-04-06 16:37:38 +02:00
|
|
|
CATEGORIES= print
|
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.
2016-09-30 13:33:06 +02:00
|
|
|
MASTER_SITES= http://download.savannah.gnu.org/releases/chktex/
|
2003-04-06 16:37:38 +02:00
|
|
|
|
2011-02-28 15:52:37 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-01-19 00:30:43 +01:00
|
|
|
HOMEPAGE= https://www.nongnu.org/chktex/
|
2003-04-06 16:37:38 +02:00
|
|
|
COMMENT= LaTeX semantic checker
|
2011-02-26 16:47:57 +01:00
|
|
|
LICENSE= gnu-gpl-v2
|
2003-04-06 16:37:38 +02:00
|
|
|
|
2011-02-26 16:47:57 +01:00
|
|
|
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
|
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.
2016-09-30 13:33:06 +02:00
|
|
|
BUILD_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec
|
2003-04-06 16:37:38 +02:00
|
|
|
DEPENDS+= lynx-[0-9]*:../../www/lynx
|
|
|
|
|
2011-02-26 16:47:57 +01:00
|
|
|
EGDIR= ${PREFIX}/share/examples/chktex
|
|
|
|
CONF_FILES= ${EGDIR}/chktexrc ${PKG_SYSCONFDIR}/chktexrc
|
2005-10-22 15:44:16 +02:00
|
|
|
|
2005-07-16 21:10:37 +02:00
|
|
|
USE_TOOLS+= gmake perl:run
|
2003-04-06 16:37:38 +02:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
CFLAGS+= -D__unix__
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= PERL5=${PERL5:Q}
|
|
|
|
MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} EGDIR=${EGDIR:Q}
|
2005-10-22 15:44:16 +02:00
|
|
|
|
2016-12-25 20:02:44 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
|
|
|
2010-02-11 23:57:40 +01:00
|
|
|
INSTALLATION_DIRS+= ${EGDIR}
|
2003-04-06 16:37:38 +02:00
|
|
|
|
2016-12-25 20:02:44 +01:00
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
2017-05-09 14:24:45 +02:00
|
|
|
.include "../../mk/termcap.buildlink3.mk"
|
2003-04-06 16:37:38 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|