Skip to content

Commit

Permalink
Update print-chktex to 1.6.3
Browse files Browse the repository at this point in the history
use CONF_FILES for chktexrc
  • Loading branch information
tonio committed Oct 22, 2005
1 parent d68b2b9 commit 21b0252
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 23 deletions.
16 changes: 11 additions & 5 deletions print/chktex/Makefile
Original file line number Diff line number Diff line change
@@ -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= [email protected]
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"
6 changes: 3 additions & 3 deletions print/chktex/PLIST
Original file line number Diff line number Diff line change
@@ -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
10 changes: 5 additions & 5 deletions print/chktex/distinfo
Original file line number Diff line number Diff line change
@@ -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
25 changes: 15 additions & 10 deletions print/chktex/patches/patch-aa
Original file line number Diff line number Diff line change
@@ -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; \

0 comments on commit 21b0252

Please sign in to comment.