diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-05-20 18:35:33 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-05-20 18:35:33 +0800 |
commit | 63857575a71ddeb60d103b9c8a39a066abb63e0a (patch) | |
tree | 4e352f3159f07e01f13d710dd23006feeffcb198 /emulators | |
parent | bf18c1a4c0fccf307c349996a170b876d0f432d8 (diff) | |
download | freebsd-ports-gnome-63857575a71ddeb60d103b9c8a39a066abb63e0a.tar.gz freebsd-ports-gnome-63857575a71ddeb60d103b9c8a39a066abb63e0a.tar.zst freebsd-ports-gnome-63857575a71ddeb60d103b9c8a39a066abb63e0a.zip |
Add gxemul.
GXemul is a free instruction-level machine emulator, emulating not only the
CPU, but also other hardware components, making it possible to use the emulator
to run unmodified operating systems such as NetBSD, OpenBSD, or Linux.
A few different machine types are emulated. The following machine types are
emulated well enough to run at least one "guest OS":
* DECstation 5000/200 ("3max"): serial controller (including keyboard and
mouse), ethernet, SCSI, and graphical framebuffers.
* Acer Pica-61 (an ARC machine): serial controller, "VGA" text console, and
SCSI.
* NEC MobilePro 770, 780, 800, and 880 (HPCmips machines): framebuffer,
keyboard, and a PCMCIA IDE controller.
* Cobalt: serial controller and PCI IDE.
WWW: http://gavare.se/gxemul/
PR: ports/81048
Submitted by: Janni <jannisan@t-online.de>
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/Makefile | 1 | ||||
-rw-r--r-- | emulators/gxemul/Makefile | 98 | ||||
-rw-r--r-- | emulators/gxemul/distinfo | 2 | ||||
-rw-r--r-- | emulators/gxemul/pkg-descr | 19 |
4 files changed, 120 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile index 69200fb08e1d..0d81a3cc2dfa 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -31,6 +31,7 @@ SUBDIR += gnuboy SUBDIR += grustibus SUBDIR += gsnes9x + SUBDIR += gxemul SUBDIR += gxmame SUBDIR += hatari SUBDIR += hercules diff --git a/emulators/gxemul/Makefile b/emulators/gxemul/Makefile new file mode 100644 index 000000000000..aa993655f90c --- /dev/null +++ b/emulators/gxemul/Makefile @@ -0,0 +1,98 @@ +# New ports collection makefile for: gxemul +# Date created: 15 May 2005 +# Whom: Janni +# +# $FreeBSD$ +# + +PORTNAME= gxemul +PORTVERSION= 0.3.2 +CATEGORIES= emulators +MASTER_SITES= http://gavare.se/gxemul/src/ + +MAINTAINER= jannisan@t-online.de +COMMENT= Instruction-level machine emulator + +USE_REINPLACE= yes +HAS_CONFIGURE= yes +ALL_TARGET= build + +PLIST_FILES= bin/gxemul +MAN1= gxemul.1 + +.if !defined(NOPORTDOCS) +PORTDOCS= * +.endif + +OPTIONS= ALWAYS32 "ALWAYS_SIGNEXTEND_32" off \ + BINTRANS "bintrans" on \ + CACHES "cache emulation (experimental)" off \ + DELAYS "instruction latency/delay emulation" off \ + X "X11 support" on \ + ALPHA "Alpha CPU emulation" off \ + HPPA "HPPA CPU emulation" off \ + MIPS "MIPS CPU emulation" on \ + PPC "PPC CPU emulation" on \ + SPARC "SPARC CPU emulation" off \ + URISC "URISC CPU emulation" on \ + X86 "x86 CPU emulation" off \ + MIPS16 "MIPS16 instruction support (experimental)" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_ALWAYS32) +CONFIGURE_ARGS+=--always32 +.endif +.if !defined(WITH_BINTRANS) +CONFIGURE_ARGS+=--disable-bintrans +.endif +.if defined(WITH_CACHES) +CONFIGURE_ARGS+=--enable-caches +.endif +.if defined(WITH_DELAYS) +CONFIGURE_ARGS+=--enable-delays +.endif +.if defined(WITH_X) +USE_XLIB= yes +.else +CONFIGURE_ARGS+=--disable-x +.endif +.if defined(WITH_ALPHA) +CONFIGURE_ARGS+=--enable-alpha +.endif +.if defined(WITH_HPPA) +CONFIGURE_ARGS+=--enable-hppa +.endif +.if !defined(WITH_MIPS) +CONFIGURE_ARGS+=--disable-mips +.endif +.if !defined(WITH_PPC) +CONFIGURE_ARGS+=--disable-ppc +.endif +.if defined(WITH_SPARC) +CONFIGURE_ARGS+=--enable-sparc +.endif +.if !defined(WITH_URISC) +CONFIGURE_ARGS+=--disable-urisc +.endif +.if defined(WITH_X86) +CONFIGURE_ARGS+=--enable-x86 +.endif +.if defined(WITH_MIPS16) +CONFIGURE_ARGS+=--enable-mips16 +.endif + +post-patch: + @${REINPLACE_CMD} -Ee \ + 's|/usr/X11R6|${X11BASE}|g; s|-O[0-9]?||g; s|-f[a-zA-Z-]+||g' \ + ${WRKSRC}/configure + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/man/gxemul.1 ${MAN1PREFIX}/man/man1 +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} +.endif + +.include <bsd.port.post.mk> diff --git a/emulators/gxemul/distinfo b/emulators/gxemul/distinfo new file mode 100644 index 000000000000..09e2ec4fa415 --- /dev/null +++ b/emulators/gxemul/distinfo @@ -0,0 +1,2 @@ +MD5 (gxemul-0.3.2.tar.gz) = 4fb92906454e1de2db8e6bc595e13d75 +SIZE (gxemul-0.3.2.tar.gz) = 1114030 diff --git a/emulators/gxemul/pkg-descr b/emulators/gxemul/pkg-descr new file mode 100644 index 000000000000..437f748a7f52 --- /dev/null +++ b/emulators/gxemul/pkg-descr @@ -0,0 +1,19 @@ +GXemul is a free instruction-level machine emulator, emulating not only the +CPU, but also other hardware components, making it possible to use the emulator +to run unmodified operating systems such as NetBSD, OpenBSD, or Linux. + +A few different machine types are emulated. The following machine types are +emulated well enough to run at least one "guest OS": + + * DECstation 5000/200 ("3max"): serial controller (including keyboard and + mouse), ethernet, SCSI, and graphical framebuffers. + * Acer Pica-61 (an ARC machine): serial controller, "VGA" text console, and + SCSI. + * NEC MobilePro 770, 780, 800, and 880 (HPCmips machines): framebuffer, + keyboard, and a PCMCIA IDE controller. + * Cobalt: serial controller and PCI IDE. + +WWW: http://gavare.se/gxemul/ + +- Janni +jannisan@t-online.de |