summaryrefslogtreecommitdiff
path: root/print/chktex
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-04-06 14:37:38 +0000
committerwiz <wiz@pkgsrc.org>2003-04-06 14:37:38 +0000
commit312b205bf61282cff9d6cc6fa75971f628259197 (patch)
treefa12074c107fac36f28d36ad3adb1339adbc7429 /print/chktex
parent40f42e719d2c98c3c984b6a070b0d297c1d13822 (diff)
downloadpkgsrc-312b205bf61282cff9d6cc6fa75971f628259197.tar.gz
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.
Diffstat (limited to 'print/chktex')
-rw-r--r--print/chktex/DESCR5
-rw-r--r--print/chktex/Makefile22
-rw-r--r--print/chktex/PLIST7
-rw-r--r--print/chktex/distinfo5
-rw-r--r--print/chktex/patches/patch-aa16
5 files changed, 55 insertions, 0 deletions
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)