aboutsummaryrefslogtreecommitdiff
path: root/emulators/frodo
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-06-16 15:03:10 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-06-16 15:03:10 +0000
commit3209d0ed2cc143797c8daed23af744fac7bae88f (patch)
tree860c1e7d1aa2270dd945fbd7842cb80ebf687386 /emulators/frodo
parentc00b0f53f4a755b319b5a5939106cfe959913672 (diff)
downloadports-3209d0ed2cc143797c8daed23af744fac7bae88f.tar.gz
ports-3209d0ed2cc143797c8daed23af744fac7bae88f.zip
Notes
Diffstat (limited to 'emulators/frodo')
-rw-r--r--emulators/frodo/Makefile4
-rw-r--r--emulators/frodo/files/patch-TkGui.tcl2
2 files changed, 4 insertions, 2 deletions
diff --git a/emulators/frodo/Makefile b/emulators/frodo/Makefile
index 5c1263b50905..8b034744bbfe 100644
--- a/emulators/frodo/Makefile
+++ b/emulators/frodo/Makefile
@@ -23,7 +23,9 @@ WRKSRC= ${WRKDIR}/Frodo/Src
ROM= 1541 Basic Char Kernal
post-patch:
- @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKDIR}/Frodo/TkGui.tcl
+ @${MV} ${WRKDIR}/Frodo/TkGui.tcl ${WRKDIR}/Frodo/TkGui.tcl.sed
+ ${SED} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
+ ${WRKDIR}/Frodo/TkGui.tcl.sed > ${WRKDIR}/Frodo/TkGui.tcl
do-configure:
@(cd ${WRKSRC}; ${SH} ./configure)
diff --git a/emulators/frodo/files/patch-TkGui.tcl b/emulators/frodo/files/patch-TkGui.tcl
index 5aae3b731caf..fcefa38ad682 100644
--- a/emulators/frodo/files/patch-TkGui.tcl
+++ b/emulators/frodo/files/patch-TkGui.tcl
@@ -2,7 +2,7 @@
+++ ../TkGui.tcl Mon Apr 26 21:49:18 1999
@@ -1,9 +1,9 @@
-#!/usr/local/bin/X11/wish
-+#!%%LOCALBASE%%/bin/wish8.2 -f
++#!%%LOCALBASE%%/bin/wish8.3 -f
# Frodo Tk GUI by Lutz Vieweg <lkv@mania.robin.de>
# requires Tk >= 4.1