pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/tk-Tix Replacing the #!tixwish line in script comm...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d9ca20d6c43e
branches:  trunk
changeset: 523720:d9ca20d6c43e
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Jan 12 08:44:48 2007 +0000

description:
Replacing the #!tixwish line in script commands becomes easier for other
packages.

diffstat:

 x11/tk-Tix/interpreter.mk |  20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diffs (24 lines):

diff -r d0521538a426 -r d9ca20d6c43e x11/tk-Tix/interpreter.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/tk-Tix/interpreter.mk Fri Jan 12 08:44:48 2007 +0000
@@ -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



Home | Main Index | Thread Index | Old Index