summaryrefslogtreecommitdiffstats
path: root/emulators/frodo
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-02-21 21:24:41 +0000
committersteve <steve@FreeBSD.org>1998-02-21 21:24:41 +0000
commitdb301d765fea42af1df88ec22e00643de32f0b39 (patch)
treec83c5601bab5f7b3cd871de4c2d20c939a47898e /emulators/frodo
parent64953d8d3bc515e4aaceced4e48f22b86f80c7ff (diff)
downloadFreeBSD-ports-db301d765fea42af1df88ec22e00643de32f0b39.zip
FreeBSD-ports-db301d765fea42af1df88ec22e00643de32f0b39.tar.gz
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 0000000..e428856
--- /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 0000000..5aa116d
--- /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 0000000..5cf1d67
--- /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 0000000..079d903
--- /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 0000000..bc2ee126
--- /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 0000000..566dc3d
--- /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 0000000..5dad81a
--- /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 0000000..2cb93c4
--- /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
OpenPOWER on IntegriCloud