diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-06-23 13:44:03 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-06-23 13:44:03 +0000 |
commit | 40a33a607008465f53d5a6195b52da563743c5c1 (patch) | |
tree | 6746aa60a42ef4999ee47c9081c98f357098f148 /emulators/frodo | |
parent | 08436d780099b5b9549d412fe146fb0733c19412 (diff) | |
download | ports-40a33a607008465f53d5a6195b52da563743c5c1.tar.gz ports-40a33a607008465f53d5a6195b52da563743c5c1.zip |
- Support LOCALBASE properly (in setting path to custom wish script)
PR: 19470
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes:
svn path=/head/; revision=29809
Diffstat (limited to 'emulators/frodo')
-rw-r--r-- | emulators/frodo/Makefile | 9 | ||||
-rw-r--r-- | emulators/frodo/files/patch-TkGui.tcl | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/emulators/frodo/Makefile b/emulators/frodo/Makefile index 411e5b7ab65e..576c93e7d6c3 100644 --- a/emulators/frodo/Makefile +++ b/emulators/frodo/Makefile @@ -8,7 +8,7 @@ PORTNAME= frodo PORTVERSION= 4.1a CATEGORIES= emulators tk82 -MASTER_SITES= ftp://sunsite.unc.edu/pub/micro/commodore/crossplatform/emulators/unix/ +MASTER_SITES= ftp://metalab.unc.edu/pub/micro/commodore/crossplatform/emulators/unix/ DISTNAME= FrodoV4_1a.Src MAINTAINER= dirk.meyer@dinoex.sub.org @@ -21,6 +21,9 @@ WRKSRC= ${WRKDIR}/Frodo/Src ROM= 1541 Basic Char Kernal +post-patch: + @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKDIR}/Frodo/TkGui.tcl + do-configure: @(cd ${WRKSRC}; ${SH} ./configure) @@ -36,7 +39,7 @@ do-install: ${INSTALL_DATA} "${WRKDIR}/Frodo/Frodo Logo" ${PREFIX}/libexec/frodo ${CP} "${WRKDIR}/Frodo/TkGui.tcl" ${PREFIX}/libexec/frodo ${MKDIR} ${PREFIX}/libexec/frodo/64prgs - @cd ${WRKDIR}/Frodo/64prgs; tar cf - . | (cd ${PREFIX}/libexec/frodo/64prgs; tar xf -) + @(${TAR} -C ${WRKDIR}/Frodo/64prgs -cf - . | ${TAR} -C ${PREFIX}/libexec/frodo/64prgs -xf - post-install: .if !defined(NOPORTDOCS) @@ -44,7 +47,7 @@ post-install: .for i in CHANGES ${INSTALL_DATA} ${WRKDIR}/Frodo/${i} ${PREFIX}/share/doc/frodo .endfor - @cd ${WRKDIR}/Frodo/Docs; tar cf - . | (cd ${PREFIX}/share/doc/frodo; tar xf -) + @(${TAR} -C ${WRKDIR}/Frodo/Docs -cf - . | ${TAR} -C ${PREFIX}/share/doc/frodo -xf -) .endif .include <bsd.port.mk> diff --git a/emulators/frodo/files/patch-TkGui.tcl b/emulators/frodo/files/patch-TkGui.tcl index 6a94e3408dbc..5aae3b731caf 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 -+#!/usr/local/bin/wish8.2 -f ++#!%%LOCALBASE%%/bin/wish8.2 -f # Frodo Tk GUI by Lutz Vieweg <lkv@mania.robin.de> # requires Tk >= 4.1 |