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 ttmkfdir and ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d3654b9b2ed5
branches: trunk
changeset: 505025:d3654b9b2ed5
user: jlam <jlam%pkgsrc.org@localhost>
date: Wed Dec 28 22:41:27 2005 +0000
description:
Teach the tools framework about ttmkfdir and type1inst.
diffstat:
mk/tools/replace.mk | 24 +++++++++++++++++++++++-
1 files changed, 23 insertions(+), 1 deletions(-)
diffs (38 lines):
diff -r d49b707497e2 -r d3654b9b2ed5 mk/tools/replace.mk
--- a/mk/tools/replace.mk Wed Dec 28 22:38:05 2005 +0000
+++ b/mk/tools/replace.mk Wed Dec 28 22:41:27 2005 +0000
@@ -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 @@
. 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=
Home |
Main Index |
Thread Index |
Old Index