pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/tools Teach the tools framework about "texi2html".



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6dea8ea61016
branches:  trunk
changeset: 509939:6dea8ea61016
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Mar 19 23:40:07 2006 +0000

description:
Teach the tools framework about "texi2html".

diffstat:

 mk/tools/replace.mk |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r c295072175fe -r 6dea8ea61016 mk/tools/replace.mk
--- a/mk/tools/replace.mk       Sun Mar 19 22:36:03 2006 +0000
+++ b/mk/tools/replace.mk       Sun Mar 19 23:40:07 2006 +0000
@@ -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 @@
 .  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=



Home | Main Index | Thread Index | Old Index