summaryrefslogtreecommitdiff
path: root/print/chktex
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-11 22:57:40 +0000
committerjoerg <joerg>2010-02-11 22:57:40 +0000
commit75db0a8d4d8c1b10e90f51a0827f26c0c9eabfac (patch)
tree892f24338b971c99ecdc3db1d871d95d58c28c61 /print/chktex
parent99d44c5e24649baeca752737a9e4b5ec5e030970 (diff)
downloadpkgsrc-75db0a8d4d8c1b10e90f51a0827f26c0c9eabfac.tar.gz
DESTDIR support
Diffstat (limited to 'print/chktex')
-rw-r--r--print/chktex/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/print/chktex/Makefile b/print/chktex/Makefile
index 5050cb2e8b5..6ed240e27d1 100644
--- a/print/chktex/Makefile
+++ b/print/chktex/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2006/02/05 23:10:35 joerg Exp $
+# $NetBSD: Makefile,v 1.19 2010/02/11 23:50:51 joerg Exp $
#
DISTNAME= chktex-1.6.3
@@ -10,6 +10,8 @@ MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://baruch.ev-en.org/proj/chktex/
COMMENT= LaTeX semantic checker
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= lynx-[0-9]*:../../www/lynx
EGDIR= ${PREFIX}/share/examples/chktex
@@ -21,8 +23,7 @@ CFLAGS+= -D__unix__
CONFIGURE_ENV+= PERL5=${PERL5:Q}
MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} EGDIR=${EGDIR:Q}
-pre-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
+INSTALLATION_DIRS+= ${EGDIR}
.include "../../mk/tex.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"