From 312b205bf61282cff9d6cc6fa75971f628259197 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 6 Apr 2003 14:37:38 +0000 Subject: Initial import of chktex, from Marc Recht via pkgsrc-wip. This program has been written in frustration because some constructs in LaTeX are sometimes non-intuitive, and easy to forget. It is _not_ a replacement for the built-in checker in LaTeX; however it catches some typographic errors LaTeX oversees. In other words, it is Lint for LaTeX. Filters are also provided for checking the LaTeX parts of CWEB documents. --- print/chktex/DESCR | 5 +++++ print/chktex/Makefile | 22 ++++++++++++++++++++++ print/chktex/PLIST | 7 +++++++ print/chktex/distinfo | 5 +++++ print/chktex/patches/patch-aa | 16 ++++++++++++++++ 5 files changed, 55 insertions(+) create mode 100644 print/chktex/DESCR create mode 100644 print/chktex/Makefile create mode 100644 print/chktex/PLIST create mode 100644 print/chktex/distinfo create mode 100644 print/chktex/patches/patch-aa diff --git a/print/chktex/DESCR b/print/chktex/DESCR new file mode 100644 index 00000000000..118612dfaf2 --- /dev/null +++ b/print/chktex/DESCR @@ -0,0 +1,5 @@ +This program has been written in frustration because some constructs in LaTeX +are sometimes non-intuitive, and easy to forget. It is _not_ a replacement +for the built-in checker in LaTeX; however it catches some typographic errors +LaTeX oversees. In other words, it is Lint for LaTeX. Filters are also +provided for checking the LaTeX parts of CWEB documents. diff --git a/print/chktex/Makefile b/print/chktex/Makefile new file mode 100644 index 00000000000..3c18d7ee435 --- /dev/null +++ b/print/chktex/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/04/06 14:37:38 wiz Exp $ +# + +DISTNAME= chktex-1.6.1 +CATEGORIES= print +MASTER_SITES= http://savannah.nongnu.org/download/chktex/chktex.pkg/1.6.1/ + +MAINTAINER= marc@informatik.uni-bremen.de +HOMEPAGE= http://www.nongnu.org/chktex/ +COMMENT= LaTeX semantic checker + +DEPENDS+= lynx-[0-9]*:../../www/lynx + +USE_BUILDLINK2= YES +USE_GMAKE= YES +USE_PERL5= YES +GNU_CONFIGURE= YES +CFLAGS+= -D__unix__ +MAKE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}" + +.include "../../print/teTeX2-bin/kpathsea.buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/print/chktex/PLIST b/print/chktex/PLIST new file mode 100644 index 00000000000..f63b41e2b98 --- /dev/null +++ b/print/chktex/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/06 14:37:38 wiz Exp $ +bin/chktex +bin/chkweb +bin/deweb +man/man1/deweb.1 +share/chktex/chktexrc +@dirrm share/chktex diff --git a/print/chktex/distinfo b/print/chktex/distinfo new file mode 100644 index 00000000000..8146f564e8c --- /dev/null +++ b/print/chktex/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/04/06 14:37:38 wiz Exp $ + +SHA1 (chktex-1.6.1.tar.gz) = 8e34753861e7971616145b249383d1de9e673347 +Size (chktex-1.6.1.tar.gz) = 178324 bytes +SHA1 (patch-aa) = 97f116b5cdc60cb100a08291972cf5d935e6c766 diff --git a/print/chktex/patches/patch-aa b/print/chktex/patches/patch-aa new file mode 100644 index 00000000000..fa0f8ffadb4 --- /dev/null +++ b/print/chktex/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/04/06 14:37:38 wiz Exp $ + +--- Makefile.in.orig 2003-04-01 18:13:16.000000000 +0200 ++++ Makefile.in 2003-04-01 18:13:50.000000000 +0200 +@@ -192,8 +192,9 @@ + + install: chktex ChkTeX.dvi + $(INSTALL) -d $(bindir) +- for program in chktex $(SCRIPTS); do \ +- $(INSTALL_PROGRAM) $$program $(bindir); \ ++ $(INSTALL_PROGRAM) chktex $(bindir); ++ for program in $(SCRIPTS); do \ ++ $(INSTALL_SCRIPT) $$program $(bindir); \ + done + $(INSTALL) -d $(datadir) + $(INSTALL_DATA) chktexrc $(datadir) -- cgit v1.2.3