summaryrefslogtreecommitdiff
path: root/emulators/frodo
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-02-21 21:24:41 +0000
committerSteve Price <steve@FreeBSD.org>1998-02-21 21:24:41 +0000
commit056ec539996863b1892c19a612e35bb1bdcc9992 (patch)
treeb7c4450002a148f13f8fa5a6af5f84714d786254 /emulators/frodo
parentUpgrade to 3.11 (diff)
Frodo version 4.1.
Emulates a Commodore 64. PR: 5329 Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org>
Diffstat (limited to 'emulators/frodo')
-rw-r--r--emulators/frodo/Makefile49
-rw-r--r--emulators/frodo/distinfo1
-rw-r--r--emulators/frodo/files/frodo6
-rw-r--r--emulators/frodo/files/patch-CmdPipe.cpp14
-rw-r--r--emulators/frodo/files/patch-TkGui.tcl23
-rw-r--r--emulators/frodo/pkg-comment1
-rw-r--r--emulators/frodo/pkg-descr23
-rw-r--r--emulators/frodo/pkg-plist44
8 files changed, 161 insertions, 0 deletions
diff --git a/emulators/frodo/Makefile b/emulators/frodo/Makefile
new file mode 100644
index 000000000000..e42885605002
--- /dev/null
+++ b/emulators/frodo/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: frodo
+# Version required: 4.1
+# Date created: 11 Dez 1997
+# Whom: dirk.meyer@dinoex.sub.org
+#
+# $Id$
+
+DISTNAME= FrodoV4_1a.Src
+PKGNAME= frodo-4.1
+CATEGORIES= emulators
+MASTER_SITES= ftp://sunsite.unc.edu/pub/micro/commodore/crossplatform/emulators/unix/
+
+MAINTAINER= dirk.meyer@dinoex.sub.org
+
+RUN_DEPENDS= wish8.0:${PORTSDIR}/x11/tk80
+
+USE_X11= YES
+ALL_TARGET= Frodo
+WRKSRC= ${WRKDIR}/Frodo/Src
+
+ROM= 1541 Basic Char Kernal
+
+do-configure:
+ @(cd ${WRKSRC}; ${SH} ./configure)
+
+do-install:
+ ${SED} -e 's/\$${PREFIX}/${PREFIX:S/\//\\\//g}/g' \
+ < ${FILESDIR}/frodo > ${WRKDIR}/frodo
+ ${INSTALL_SCRIPT} ${WRKDIR}/frodo ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/libexec/frodo
+ ${INSTALL_PROGRAM} ${WRKDIR}/Frodo/Frodo ${PREFIX}/libexec/frodo
+.for i in ${ROM}
+ ${INSTALL_DATA} "${WRKDIR}/Frodo/${i} ROM" ${PREFIX}/libexec/frodo
+.endfor
+ ${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 -)
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/frodo
+.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 -)
+.endif
+
+.include <bsd.port.mk>
diff --git a/emulators/frodo/distinfo b/emulators/frodo/distinfo
new file mode 100644
index 000000000000..5aa116db7110
--- /dev/null
+++ b/emulators/frodo/distinfo
@@ -0,0 +1 @@
+MD5 (FrodoV4_1a.Src.tar.gz) = 9a4b502f66275cb95c4f42631ca340fe
diff --git a/emulators/frodo/files/frodo b/emulators/frodo/files/frodo
new file mode 100644
index 000000000000..5cf1d67484e3
--- /dev/null
+++ b/emulators/frodo/files/frodo
@@ -0,0 +1,6 @@
+#!/bin/sh
+#
+cd ${PREFIX}/libexec/frodo
+exec ${PREFIX}/libexec/frodo/Frodo
+#
+# eof
diff --git a/emulators/frodo/files/patch-CmdPipe.cpp b/emulators/frodo/files/patch-CmdPipe.cpp
new file mode 100644
index 000000000000..079d90399605
--- /dev/null
+++ b/emulators/frodo/files/patch-CmdPipe.cpp
@@ -0,0 +1,14 @@
+*** CmdPipe.cpp Wed Aug 6 20:56:26 1997
+--- CmdPipe.cpp.neu Fri Sep 5 14:15:37 1997
+***************
+*** 29,34 ****
+--- 29,37 ----
+ #if defined(__linux__)
+ #include <sys/time.h>
+ #endif
++ #if defined(__FreeBSD__)
++ #include <sys/time.h>
++ #endif
+
+ #include <time.h>
+ #include <errno.h>
diff --git a/emulators/frodo/files/patch-TkGui.tcl b/emulators/frodo/files/patch-TkGui.tcl
new file mode 100644
index 000000000000..bc2ee1265c93
--- /dev/null
+++ b/emulators/frodo/files/patch-TkGui.tcl
@@ -0,0 +1,23 @@
+*** ../TkGui.tcl Wed Aug 6 20:56:34 1997
+--- ../TkGui.tcl.neu Thu Dec 4 00:38:15 1997
+***************
+*** 1,9 ****
+! #!/usr/local/bin/X11/wish
+
+ # Frodo Tk GUI by Lutz Vieweg <lkv@mania.robin.de>
+ # requires Tk >= 4.1
+
+! package require Tk 4.1
+
+ set prefname "$env(HOME)/.frodorc"
+
+--- 1,9 ----
+! #!/usr/local/bin/wish8.0 -f
+
+ # Frodo Tk GUI by Lutz Vieweg <lkv@mania.robin.de>
+ # requires Tk >= 4.1
+
+! ## package require Tk 4.1
+
+ set prefname "$env(HOME)/.frodorc"
+
diff --git a/emulators/frodo/pkg-comment b/emulators/frodo/pkg-comment
new file mode 100644
index 000000000000..566dc3d2fbaf
--- /dev/null
+++ b/emulators/frodo/pkg-comment
@@ -0,0 +1 @@
+Frodo - emulates a Commodore 64
diff --git a/emulators/frodo/pkg-descr b/emulators/frodo/pkg-descr
new file mode 100644
index 000000000000..5dad81abc6a3
--- /dev/null
+++ b/emulators/frodo/pkg-descr
@@ -0,0 +1,23 @@
+
+ Frodo is a freeware C64 emulator for BeOS, Unix, MacOS, AmigaOS, Win32
+ and RiscOS systems and the world's first C64 emulator not bearing a
+ "64" in its name. :-) (No, it has absolutely nothing to do with
+ frodo.hiof.no, that's a pure coincidence.)
+
+ Frodo was developed to reproduce the graphics of games and demos
+ better than the existing C64 emulators. Therefore Frodo has relatively
+ high system requirements: It should only be run on systems with at
+ least a PowerPC/Pentium/68060. But on the other hand, Frodo can
+ display raster effects correctly that only result in a flickering mess
+ with other emulators.
+
+ Frodo comes in three flavours: The "normal" Frodo with a line-based
+ emulation, the improved line-based emulation "Frodo PC", and the
+ single-cycle emulation Frodo SC that is slower but far more
+ compatible.
+
+ In addition to a precise 6510/VIC emulation, Frodo features a
+ processor-level 1541 emulation that is even able to handle about 95%
+ of all fast loaders. There is also a faster 1541 emulation for four
+ drives in .d64/x64 disk images, .t64/LYNX archives, or directories of
+ the host system.
diff --git a/emulators/frodo/pkg-plist b/emulators/frodo/pkg-plist
new file mode 100644
index 000000000000..2cb93c44607b
--- /dev/null
+++ b/emulators/frodo/pkg-plist
@@ -0,0 +1,44 @@
+bin/frodo
+libexec/frodo/Frodo
+libexec/frodo/1541 ROM
+libexec/frodo/Basic ROM
+libexec/frodo/Char ROM
+libexec/frodo/Kernal ROM
+libexec/frodo/Frodo Logo
+libexec/frodo/TkGui.tcl
+libexec/frodo/64prgs/3fff
+libexec/frodo/64prgs/colorbars
+libexec/frodo/64prgs/d011h3
+libexec/frodo/64prgs/dadb
+libexec/frodo/64prgs/de00all
+libexec/frodo/64prgs/dycp
+libexec/frodo/64prgs/fld
+libexec/frodo/64prgs/lrborder
+libexec/frodo/64prgs/sprsync
+libexec/frodo/64prgs/stretch
+libexec/frodo/64prgs/tech-tech
+libexec/frodo/64prgs/text26
+@dirrm libexec/frodo/64prgs
+@dirrm libexec/frodo
+share/doc/frodo/CHANGES
+share/doc/frodo/Main.html
+share/doc/frodo/author.html
+share/doc/frodo/bugreports.html
+share/doc/frodo/demoprograms.html
+share/doc/frodo/emulwindow.html
+share/doc/frodo/files.html
+share/doc/frodo/flavours.html
+share/doc/frodo/future.html
+share/doc/frodo/history.html
+share/doc/frodo/installation.html
+share/doc/frodo/kernal.html
+share/doc/frodo/keyboard.html
+share/doc/frodo/legalmush.html
+share/doc/frodo/overview.html
+share/doc/frodo/sam.html
+share/doc/frodo/settings.html
+share/doc/frodo/systemspecific.html
+share/doc/frodo/technicalinfo.html
+share/doc/frodo/thanks.html
+share/doc/frodo/whatsnew.html
+@dirrm share/doc/frodo