summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/chktex/Makefile16
-rw-r--r--print/chktex/PLIST6
-rw-r--r--print/chktex/distinfo10
-rw-r--r--print/chktex/patches/patch-aa25
4 files changed, 34 insertions, 23 deletions
diff --git a/print/chktex/Makefile b/print/chktex/Makefile
index 8f2b82b1bd9..4a94154dc59 100644
--- a/print/chktex/Makefile
+++ b/print/chktex/Makefile
@@ -1,22 +1,28 @@
-# $NetBSD: Makefile,v 1.12 2005/10/22 13:07:24 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2005/10/22 13:44:16 tonio Exp $
#
-DISTNAME= chktex-1.6.1
-PKGREVISION= 3
+DISTNAME= chktex-1.6.3
CATEGORIES= print
MASTER_SITES= http://savannah.nongnu.org/download/chktex/
MAINTAINER= recht@NetBSD.org
-HOMEPAGE= http://www.nongnu.org/chktex/
+HOMEPAGE= http://baruch.ev-en.org/proj/chktex/
COMMENT= LaTeX semantic checker
DEPENDS+= lynx-[0-9]*:../../www/lynx
+USE_PKGINSTALL=yes
+EGDIR= ${PREFIX}/share/examples/chktex
+CONF_FILES= ${EGDIR}/chktexrc ${PKG_SYSCONFDIR}/chktexrc
+
USE_TOOLS+= gmake perl:run
GNU_CONFIGURE= YES
CFLAGS+= -D__unix__
CONFIGURE_ENV+= PERL5="${PERL5}"
-MAKE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+MAKE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}" EGDIR="${EGDIR}"
+
+pre-install:
+ ${INSTALL_DATA_DIR} ${EGDIR}
.include "../../print/teTeX-bin/kpathsea.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/chktex/PLIST b/print/chktex/PLIST
index f63b41e2b98..f3cb57323ae 100644
--- a/print/chktex/PLIST
+++ b/print/chktex/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/06 14:37:38 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2005/10/22 13:44:16 tonio Exp $
bin/chktex
bin/chkweb
bin/deweb
man/man1/deweb.1
-share/chktex/chktexrc
-@dirrm share/chktex
+share/examples/chktex/chktexrc
+@dirrm share/examples/chktex
diff --git a/print/chktex/distinfo b/print/chktex/distinfo
index 65460294076..0dc633f6b85 100644
--- a/print/chktex/distinfo
+++ b/print/chktex/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 12:51:41 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/10/22 13:44:16 tonio Exp $
-SHA1 (chktex-1.6.1.tar.gz) = 8e34753861e7971616145b249383d1de9e673347
-RMD160 (chktex-1.6.1.tar.gz) = 71d99232e517fe5e6059a577589322d63273123e
-Size (chktex-1.6.1.tar.gz) = 178324 bytes
-SHA1 (patch-aa) = 97f116b5cdc60cb100a08291972cf5d935e6c766
+SHA1 (chktex-1.6.3.tar.gz) = 9ae85c99f11fc99a088c3055eca40c9de04e686c
+RMD160 (chktex-1.6.3.tar.gz) = 668178bd03841e66e479aafee48b916e1e879243
+Size (chktex-1.6.3.tar.gz) = 213163 bytes
+SHA1 (patch-aa) = a2f853763427432897235fb09aaadbe5616427bf
diff --git a/print/chktex/patches/patch-aa b/print/chktex/patches/patch-aa
index fa0f8ffadb4..7482013f8f7 100644
--- a/print/chktex/patches/patch-aa
+++ b/print/chktex/patches/patch-aa
@@ -1,16 +1,21 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/04/06 14:37:38 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2005/10/22 13:44:17 tonio 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 @@
+--- Makefile.in.orig 2005-01-01 21:51:11.000000000 +0100
++++ Makefile.in
+@@ -141,11 +141,13 @@ chktex: $(OBJS)
install: chktex ChkTeX.dvi
- $(INSTALL) -d $(bindir)
+ $(INSTALL) -d $(DESTDIR)$(bindir)
- for program in chktex $(SCRIPTS); do \
-- $(INSTALL_PROGRAM) $$program $(bindir); \
-+ $(INSTALL_PROGRAM) chktex $(bindir);
+- $(INSTALL_PROGRAM) $$program $(DESTDIR)$(bindir); \
++ $(INSTALL_PROGRAM) chktex $(DESTDIR)$(bindir);
+ for program in $(SCRIPTS); do \
-+ $(INSTALL_SCRIPT) $$program $(bindir); \
++ $(INSTALL_SCRIPT) $$program $(DESTDIR)$(bindir); \
done
- $(INSTALL) -d $(datadir)
- $(INSTALL_DATA) chktexrc $(datadir)
+ $(INSTALL) -d $(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; \