summaryrefslogtreecommitdiff
path: root/x11/tk-Tix
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-12 08:44:48 +0000
committerrillig <rillig@pkgsrc.org>2007-01-12 08:44:48 +0000
commit4ac223ee9c5a39b7894caf5d8007017876f3ba91 (patch)
treeb7775ee603cc9b017ecb5206fa935b922fa79fd1 /x11/tk-Tix
parentece83b345672bf42601ae2b7cbc9ba1a55316d6b (diff)
downloadpkgsrc-4ac223ee9c5a39b7894caf5d8007017876f3ba91.tar.gz
Replacing the #!tixwish line in script commands becomes easier for other
packages.
Diffstat (limited to 'x11/tk-Tix')
-rw-r--r--x11/tk-Tix/interpreter.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/tk-Tix/interpreter.mk b/x11/tk-Tix/interpreter.mk
new file mode 100644
index 00000000000..359f532cb85
--- /dev/null
+++ b/x11/tk-Tix/interpreter.mk
@@ -0,0 +1,20 @@
+# $NetBSD: interpreter.mk,v 1.1 2007/01/12 08:44:48 rillig Exp $
+#
+# Package-settable variables:
+#
+# REPLACE_TK_TIX
+# The list of files whose interpreter will be corrected.
+#
+# See also:
+# replace-interpreter
+#
+
+.if !defined(TK_TIX_INTERPRETER_MK)
+TK_TIX_INTERPRETER_MK= # defined
+
+REPLACE_INTERPRETER+= tk-Tix
+REPLACE.tk-Tix.old= .*/tixwish
+REPLACE.tk-Tix.new= ${LOCALBASE}/bin/tixwish
+REPLACE_FILES.tk-Tix= ${REPLACE_TK_TIX}
+
+.endif