diff options
author | steve <steve@FreeBSD.org> | 1999-12-25 15:50:05 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-12-25 15:50:05 +0000 |
commit | 75b110d27eda12ef2758856d58f1bec30e5ac386 (patch) | |
tree | 6d11ea136afd6c8459751bf04d626f472309d66f /emulators | |
parent | ee2f36e9767227de3b80ed36880b10377a34e832 (diff) | |
download | FreeBSD-ports-75b110d27eda12ef2758856d58f1bec30e5ac386.zip FreeBSD-ports-75b110d27eda12ef2758856d58f1bec30e5ac386.tar.gz |
TrueReality version 1999062900
A Nintendo N64(tm) emulator.
PR: 15146
Submitted by: Mario S F Ferreira <lioux@linf.unb.br>
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/Makefile | 1 | ||||
-rw-r--r-- | emulators/truereality/Makefile | 33 | ||||
-rw-r--r-- | emulators/truereality/distinfo | 1 | ||||
-rw-r--r-- | emulators/truereality/files/patch-aa | 34 | ||||
-rw-r--r-- | emulators/truereality/files/patch-ab | 12 | ||||
-rw-r--r-- | emulators/truereality/files/patch-ac | 12 | ||||
-rw-r--r-- | emulators/truereality/pkg-comment | 1 | ||||
-rw-r--r-- | emulators/truereality/pkg-descr | 23 | ||||
-rw-r--r-- | emulators/truereality/pkg-plist | 2 |
9 files changed, 119 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile index 97791d1..e76dcc4 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -30,6 +30,7 @@ SUBDIR += stella SUBDIR += stonx SUBDIR += tkhfs + SUBDIR += truereality SUBDIR += vgb SUBDIR += vice SUBDIR += vMac diff --git a/emulators/truereality/Makefile b/emulators/truereality/Makefile new file mode 100644 index 0000000..d4743c4 --- /dev/null +++ b/emulators/truereality/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: truereality +# Version required: 1999062900 +# Date Created: 28 November 1999 +# Whom: Mario S F Ferreira <lioux@linf.unb.br> et al. +# +# $FreeBSD$ +# + +DISTNAME= TrueReality-${DATE} +PKGNAME= truereality-${DATE} +CATEGORIES= emulators devel +MASTER_SITES= http://www.emuhq.com/emulators/ +EXTRACT_SUFX= .tgz + +MAINTAINER= lioux@linf.unb.br + +LIB_DEPENDS= MesaGL.14:${PORTSDIR}/graphics/Mesa3 \ + MesaGLU.14:${PORTSDIR}/graphics/Mesa3 \ + X11.6:${PORTSDIR}/x11/XFree86 \ + Xext.6:${PORTSDIR}/x11/XFree86 + +USE_GMAKE= yes +USE_XLIB= yes + +WRKSRC= ${WRKDIR}/TrueReality/Source + +DATE= 1999062900 + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/TrueReality ${PREFIX}/bin + @${LN} -sf ${PREFIX}/bin/TrueReality ${PREFIX}/bin/truereality + +.include <bsd.port.mk> diff --git a/emulators/truereality/distinfo b/emulators/truereality/distinfo new file mode 100644 index 0000000..dad047f --- /dev/null +++ b/emulators/truereality/distinfo @@ -0,0 +1 @@ +MD5 (TrueReality-1999062900.tgz) = 59ba6cb9c4cc709a6361363fe234a103 diff --git a/emulators/truereality/files/patch-aa b/emulators/truereality/files/patch-aa new file mode 100644 index 0000000..57f632d --- /dev/null +++ b/emulators/truereality/files/patch-aa @@ -0,0 +1,34 @@ +--- Makefile.tmpl.ORIG Sat Nov 27 22:21:16 1999 ++++ Makefile.tmpl Sun Nov 28 15:40:17 1999 +@@ -39,8 +39,8 @@ + ############################################################################### + + # it might be that you need gmake (in my distribution make is a link to gmake) +-MAKE = make +-#MAKE = gmake ++#MAKE = make ++MAKE = gmake + #MAKE = /usr/local/bin/gmake + + +@@ -60,7 +60,8 @@ + HOSTCFLAGS = + #HOSTCFLAGS = -ansi -pedantic + +-HOSTCPP = $(HOSTCC) -E ++HOSTCPP = $(CXX) ++#HOSTCPP = $(HOSTCC) -E + #HOSTCPP = cpp + + #HOSTLD = ld +@@ -188,8 +189,8 @@ + # # + ############################################################################### + +-ARCH = linux +-#ARCH = bsd ++#ARCH = linux ++ARCH = bsd + #ARCH = sunos + #ARCH = solaris + #ARCH = aix diff --git a/emulators/truereality/files/patch-ab b/emulators/truereality/files/patch-ab new file mode 100644 index 0000000..1f77a9c --- /dev/null +++ b/emulators/truereality/files/patch-ab @@ -0,0 +1,12 @@ +--- Makefile.ORIG Sat Nov 27 23:06:31 1999 ++++ Makefile Sun Nov 28 15:18:03 1999 +@@ -354,6 +354,9 @@ + ifeq ($(ARCH),os2) + LDLIBS := $(LDLIBS) -lMesaGL -lMesaGLU -lglut + endif ++ifeq ($(ARCH),bsd) ++LDLIBS := $(LDLIBS) -lMesaGL -lMesaGLU ++endif + ifeq ($(ARCH),linux) + LDLIBS := $(LDLIBS) -lMesaGL -lMesaGLU -lglut + endif diff --git a/emulators/truereality/files/patch-ac b/emulators/truereality/files/patch-ac new file mode 100644 index 0000000..f839c9c --- /dev/null +++ b/emulators/truereality/files/patch-ac @@ -0,0 +1,12 @@ +--- N64/memory.c.ORIG Sun Nov 28 14:21:18 1999 ++++ N64/memory.c Sun Nov 28 14:23:34 1999 +@@ -346,7 +346,8 @@ + mem_shminfo[i].shmid = shmget(IPC_PRIVATE, mem_size[i], IPC_CREAT | 0777); + if(mem_shminfo[i].shmid < 0) + { +- printf("alloc_n64_mem: Couldn't get SHM ID [%d]\n\n", i); ++ printf("alloc_n64_mem: Couldn't get SHM ID [%d]\n", i); ++ printf("alloc_n64_mem: Try increasing the kernel limits SHMMAX and SHMALL\n\n"); + return(-1); + } + diff --git a/emulators/truereality/pkg-comment b/emulators/truereality/pkg-comment new file mode 100644 index 0000000..2ede8ff --- /dev/null +++ b/emulators/truereality/pkg-comment @@ -0,0 +1 @@ +Nintendo N64(tm) emulator diff --git a/emulators/truereality/pkg-descr b/emulators/truereality/pkg-descr new file mode 100644 index 0000000..2131f40 --- /dev/null +++ b/emulators/truereality/pkg-descr @@ -0,0 +1,23 @@ +TrueReality (TR) is a Nintendo N64(tm) emulator developed by +Niki W. Waibel <niki.waibel@gmx.net> mainly for learning purposes. + +From TR.FAQ: + +Anyway - I think that TR does not run commercial ROMs - there is too much +stuff missing (I've not tested it - I just have heard nothing about that). + +What is TR for if it is not for playing commercial ROMs? +A: 1) TR should be a tool for demo writers. + 2) TR should be an open emu project where everyone can learn from it. + 3) TR should be an example (one time) for implementing/learning asm under + various machines. + If someones hacks out iP-MMX routines you can compare it with the C ones + and learn how things are done with MMX. + +Where can I get ROMs? +A: There are demos at http://www.dextrose.com. + +WWW: http://www.emuhq.com/truereality/ + +- Mario S F Ferreira +lioux@linf.unb.br diff --git a/emulators/truereality/pkg-plist b/emulators/truereality/pkg-plist new file mode 100644 index 0000000..0c0c1e2 --- /dev/null +++ b/emulators/truereality/pkg-plist @@ -0,0 +1,2 @@ +bin/TrueReality +bin/truereality |