aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-06-16 23:03:10 +0800
committerdinoex <dinoex@FreeBSD.org>2002-06-16 23:03:10 +0800
commitfd64cc1ce59cc2c7732d14183fbb09c1530a6fca (patch)
treef2b90f36648fe13ed28fdddbabab21b4f8e0d784 /emulators
parent95776cd25c1f4f9a7a4a975fd6c165ae559dc920 (diff)
downloadfreebsd-ports-gnome-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.tar.gz
freebsd-ports-gnome-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.tar.zst
freebsd-ports-gnome-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.zip
- Get rid of PERL and use SED
Diffstat (limited to 'emulators')
-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