diff options
author | jlam <jlam@pkgsrc.org> | 2006-03-19 23:40:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-03-19 23:40:07 +0000 |
commit | 766f664aefb51ed543b57703a247c998d4b12528 (patch) | |
tree | 595eb4f9e7d9d27c40995c9609d40bea7d223e0e /mk | |
parent | af346ae99f3b6ec58fcdd52190cad3473a9b31d8 (diff) | |
download | pkgsrc-766f664aefb51ed543b57703a247c998d4b12528.tar.gz |
Teach the tools framework about "texi2html".
Diffstat (limited to 'mk')
-rw-r--r-- | mk/tools/replace.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk index 8667be1cc48..e1b59ab1da7 100644 --- a/mk/tools/replace.mk +++ b/mk/tools/replace.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace.mk,v 1.162 2006/03/16 22:31:59 jlam Exp $ +# $NetBSD: replace.mk,v 1.163 2006/03/19 23:40:07 jlam Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -662,6 +662,17 @@ TOOLS_PATH.tclsh= ${TOOLS_PREFIX.tclsh}/bin/tclsh . endif .endif +.if !defined(TOOLS_IGNORE.texi2html) && !empty(_USE_TOOLS:Mtexi2html) +. if !empty(PKGPATH:Mtextproc/texi2html) +MAKEFLAGS+= TOOLS_IGNORE.texi2html= +. elif !empty(_TOOLS_USE_PKGSRC.texi2html:M[yY][eE][sS]) +TOOLS_DEPENDS.texi2html?= texi2html>=1.76:../../textproc/texi2html +TOOLS_CREATE+= texi2html +TOOLS_FIND_PREFIX+= TOOLS_PREFIX.texi2html=texi2html +TOOLS_PATH.texi2html= ${TOOLS_PREFIX.texi2html}/bin/texi2html +. endif +.endif + .if !defined(TOOLS_IGNORE.ttmkfdir) && !empty(_USE_TOOLS:Mttmkfdir) . if !empty(PKGPATH:Mfonts/ttmkfdir2) MAKEFLAGS+= TOOLS_IGNORE.ttmkfdir= |