summaryrefslogtreecommitdiff
path: root/mk/tools
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-12-28 22:41:27 +0000
committerjlam <jlam@pkgsrc.org>2005-12-28 22:41:27 +0000
commit91abe4f16b73d2725b289e001c9d62fbc2930b36 (patch)
treec00453e060b3b36d75d5c8039a0d1ca430e19083 /mk/tools
parent57321a54e0aa37deded9a33d4eaa29ff2c7ae3fb (diff)
downloadpkgsrc-91abe4f16b73d2725b289e001c9d62fbc2930b36.tar.gz
Teach the tools framework about ttmkfdir and type1inst.
Diffstat (limited to 'mk/tools')
-rw-r--r--mk/tools/replace.mk24
1 files changed, 23 insertions, 1 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk
index 86dda13da66..becb114f795 100644
--- a/mk/tools/replace.mk
+++ b/mk/tools/replace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.149 2005/12/28 22:26:50 jlam Exp $
+# $NetBSD: replace.mk,v 1.150 2005/12/28 22:41:27 jlam Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -648,6 +648,28 @@ TOOLS_PATH.tclsh= ${TOOLS_PREFIX.tclsh}/bin/tclsh
. endif
.endif
+.if !defined(TOOLS_IGNORE.ttmkfdir) && !empty(_USE_TOOLS:Mttmkfdir)
+. if !empty(PKGPATH:Mfonts/ttmkfdir2)
+MAKEFLAGS+= TOOLS_IGNORE.ttmkfdir=
+. elif !empty(_TOOLS_USE_PKGSRC.ttmkfdir:M[yY][eE][sS])
+TOOLS_DEPENDS.ttmkfdir?= ttmkfdir2>=20021109:../../fonts/ttmkfdir2
+TOOLS_CREATE+= ttmkfdir
+TOOLS_FIND_PREFIX+= TOOLS_PREFIX.ttmkfdir=ttmkfdir2
+TOOLS_PATH.ttmkfdir= ${TOOLS_PREFIX.ttmkfdir}/bin/ttmkfdir
+. endif
+.endif
+
+.if !defined(TOOLS_IGNORE.type1inst) && !empty(_USE_TOOLS:Mtype1inst)
+. if !empty(PKGPATH:Mfonts/type1inst)
+MAKEFLAGS+= TOOLS_IGNORE.type1inst=
+. elif !empty(_TOOLS_USE_PKGSRC.type1inst:M[yY][eE][sS])
+TOOLS_DEPENDS.type1inst?= type1inst2>=0.6.1:../../fonts/type1inst
+TOOLS_CREATE+= type1inst
+TOOLS_FIND_PREFIX+= TOOLS_PREFIX.type1inst=type1inst
+TOOLS_PATH.type1inst= ${TOOLS_PREFIX.type1inst}/bin/type1inst
+. endif
+.endif
+
.if !defined(TOOLS_IGNORE.unrar) && !empty(_USE_TOOLS:Munrar)
. if !empty(PKGPATH:Marchivers/unrar)
MAKEFLAGS+= TOOLS_IGNORE.unrar=