Import of xmame/xmess 0.37b11.2.

Submitted by Claudio Castiglia <ccastig@softhome.net>.

Multi Arcade Machine Emulator and Multi Emulator Super System.
Emulates a staggering number of old arcade machines and game consoles.
This commit is contained in:
naddy 2001-04-04 14:31:54 +00:00
parent 26f45d9d22
commit 339d0a91c3
16 changed files with 367 additions and 0 deletions

79
emulators/xmame/Makefile Normal file
View File

@ -0,0 +1,79 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/04/04 14:31:54 naddy Exp $
COMMENT= emulates arcade machines and old home computers
COMMENT-mame= emulates a massive variety of arcade machines
COMMENT-mess= emulates game consoles and old home computers
VERSION= 0.37b11.2
DISTNAME= xmame-${VERSION}
NEED_VERSION= 1.377
CATEGORIES= emulators games
MASTER_SITES= ${HOMEPAGE}/download/ \
ftp://ftp.kaupp.cx/pub/xmame/
HOMEPAGE= http://x.mame.net
MAINTAINER= Claudio Castiglia <ccastig@softhome.net>
# Need to know endianness
ONLY_FOR_ARCHS= alpha hppa i386 m68k powerpc sparc
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
EXTRACT_SUFX= .tar.bz2
USE_GMAKE= Yes
USE_X11= Yes
MULTI_PACKAGES= -mame -mess
PKGNAME= xmame+xmess-${VERSION}
PKGNAME-mame= xmame-${VERSION}
PKGNAME-mess= xmess-${VERSION}
FLAVORS= gl
FLAVOR?=
.if ${FLAVOR:L:Mgl}
LIB_DEPENDS+= GLU.3::graphics/Mesa
DISPLAY_METHOD= xgl
.else
DISPLAY_METHOD= x11
.endif
MAKE_ENV= PREFIX="${PREFIX}"
MAKE_FILE= Makefile.OpenBSD
FAKE_FLAGS= ${MAKE_FLAGS}
MAKE_FLAGS= ARCH=openbsd \
DISPLAY_METHOD="${DISPLAY_METHOD}" \
INCLUDES="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib" \
X11INC="-I${X11BASE}/include" X11LIB="-L${X11BASE}/lib" \
INSTALL_PROGRAM_DIR="${INSTALL_PROGRAM_DIR}" \
INSTALL_MAN_DIR="${INSTALL_MAN_DIR}" \
INSTALL_DATA_DIR="${INSTALL_DATA_DIR}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_PROGRAM_SUID="${INSTALL_PROGRAM}" \
INSTALL_MAN="${INSTALL_MAN}" \
INSTALL_DATA="${INSTALL_DATA}"
.if ${MACHINE_ARCH} == "i386"
MAKE_FLAGS+= MY_CPU=i386 JOY_I386=1 X11_DGA=1
.elif ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "m68k"
MAKE_FLAGS+= MY_CPU=${MACHINE_ARCH}
.elif ${MACHINE_ARCH} == "hppa" || ${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "sparc"
MAKE_FLAGS+= MY_CPU=risc
.endif
post-patch:
@cp ${FILESDIR}/${MAKE_FILE} ${WRKSRC}
post-install:
@echo "\nInstalling extra documentation..."
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xmame
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/xmame
.include <bsd.port.mk>

View File

@ -0,0 +1,6 @@
# $OpenBSD: Makefile.OpenBSD,v 1.1.1.1 2001/04/04 14:31:55 naddy Exp $
all install:
@for i in mame mess; do \
${MAKE} -f makefile.unix TARGET=$$i $@; \
done

View File

@ -0,0 +1,3 @@
MD5 (xmame-0.37b11.2.tar.bz2) = 723caaa67908860b952f9df6e3744b05
RMD160 (xmame-0.37b11.2.tar.bz2) = cf00cbf621944ae58805c2d699a964cfb2c18f1d
SHA1 (xmame-0.37b11.2.tar.bz2) = d25b081126731b8aeac3141d5cae271733d04319

View File

@ -0,0 +1,24 @@
$OpenBSD: patch-src_unix_unix_mak,v 1.1.1.1 2001/04/04 14:31:55 naddy Exp $
--- src/unix/unix.mak.orig Tue Feb 6 01:45:55 2001
+++ src/unix/unix.mak Tue Apr 3 23:27:41 2001
@@ -319,17 +319,17 @@ install: $(INST.$(DISPLAY_METHOD)) insta
install-man:
@echo installing manual pages under $(MANDIR) ...
-$(INSTALL_MAN_DIR) $(MANDIR)
- $(INSTALL_MAN) doc/x$(TARGET).6 $(MANDIR)/x$(TARGET).6
+ $(INSTALL_MAN) doc/xmame.6 $(MANDIR)/x$(TARGET).6
doinstall:
@echo installing binaries under $(BINDIR)...
-$(INSTALL_PROGRAM_DIR) $(BINDIR)
- $(INSTALL_PROGRAM) $(NAME).$(DISPLAY_METHOD) $(BINDIR)
+ $(INSTALL_PROGRAM) $(NAME).$(DISPLAY_METHOD) $(BINDIR)/$(NAME)
doinstallsuid:
@echo installing binaries under $(BINDIR)...
-$(INSTALL_PROGRAM_DIR) $(BINDIR)
- $(INSTALL_PROGRAM_SUID) $(NAME).$(DISPLAY_METHOD) $(BINDIR)
+ $(INSTALL_PROGRAM_SUID) $(NAME).$(DISPLAY_METHOD) $(BINDIR)/$(NAME)
copycab:
@echo installing cabinet files under $(XMAMEROOT)...

13
emulators/xmame/pkg/DESCR Normal file
View File

@ -0,0 +1,13 @@
MAME stands for Multi Arcade Machine Emulator. As the name suggests, it is
a program that emulates the hardware (and low-level firmware) of a massive
variety of arcade machines.
MESS stands for Multi Emulator Super System. It is an emulator for the
hardware of many different games consoles (e.g. Sega, NES, SNES, etc.)
as well as many different old games-oriented home computers (e.g. C64,
C128, ZX80, etc.)
While the two programs are conceptually different, and have different
development teams, they share a lot of code and are distributed together.
You can check out the xmame/xmess homepage at: ${HOMEPAGE}

View File

@ -0,0 +1,5 @@
MAME stands for Multi Arcade Machine Emulator. As the name suggests, it is
a program that emulates the hardware (and low-level firmware) of a massive
variety of arcade machines.
You can check out the xmame/xmess homepage at: ${HOMEPAGE}

View File

@ -0,0 +1,6 @@
MESS stands for Multi Emulator Super System. It is an emulator for the
hardware of many different games consoles (e.g. Sega, NES, SNES, etc.)
as well as many different old games-oriented home computers (e.g. C64,
C128, ZX80, etc.)
You can check out the xmame/xmess homepage at: ${HOMEPAGE}

View File

@ -0,0 +1,3 @@
You should read the xmame and xmess documentation at ${PREFIX}/share/doc/xmame.

View File

@ -0,0 +1,3 @@
You should read the xmame documentation at ${PREFIX}/share/doc/xmame.

View File

@ -0,0 +1,3 @@
You should read the xmess documentation at ${PREFIX}/share/doc/xmame.

33
emulators/xmame/pkg/PLIST Normal file
View File

@ -0,0 +1,33 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/04/04 14:31:55 naddy Exp $
bin/xmame
bin/xmess
man/man6/xmame.6
man/man6/xmess.6
share/doc/xmame/changes.mame
share/doc/xmame/changes.mess
share/doc/xmame/changes.unix
share/doc/xmame/credits.txt
share/doc/xmame/gamelist.mame
share/doc/xmame/gamelist.mess
share/doc/xmame/imgtool.txt
share/doc/xmame/liesmich.unix
share/doc/xmame/messold.txt
share/doc/xmame/messroms.txt
share/doc/xmame/multiplayer-readme.txt
share/doc/xmame/readme.mame
share/doc/xmame/readme.mess
share/doc/xmame/xmame-doc-1.html
share/doc/xmame/xmame-doc-2.html
share/doc/xmame/xmame-doc-3.html
share/doc/xmame/xmame-doc-4.html
share/doc/xmame/xmame-doc-5.html
share/doc/xmame/xmame-doc-6.html
share/doc/xmame/xmame-doc-7.html
share/doc/xmame/xmame-doc.html
share/doc/xmame/xmame-doc.lyx
share/doc/xmame/xmame-doc.ps
share/doc/xmame/xmame-doc.sgml
share/doc/xmame/xmame-doc.txt
share/doc/xmame/xmame.6
share/doc/xmame/xmamerc.dist
@dirrm share/doc/xmame

View File

@ -0,0 +1,49 @@
@comment $OpenBSD: PLIST-gl,v 1.1.1.1 2001/04/04 14:31:55 naddy Exp $
bin/xmame
bin/xmess
lib/xmame/cab/glmame/cabfront.jpg
lib/xmame/cab/glmame/cabtitle.jpg
lib/xmame/cab/glmame/glmame.cab
lib/xmame/cab/trans/trans.cab
lib/xmess/cab/glmame/cabfront.jpg
lib/xmess/cab/glmame/cabtitle.jpg
lib/xmess/cab/glmame/glmame.cab
lib/xmess/cab/trans/trans.cab
man/man6/xmame.6
man/man6/xmess.6
share/doc/xmame/changes.mame
share/doc/xmame/changes.mess
share/doc/xmame/changes.unix
share/doc/xmame/credits.txt
share/doc/xmame/gamelist.mame
share/doc/xmame/gamelist.mess
share/doc/xmame/imgtool.txt
share/doc/xmame/liesmich.unix
share/doc/xmame/messold.txt
share/doc/xmame/messroms.txt
share/doc/xmame/multiplayer-readme.txt
share/doc/xmame/readme.mame
share/doc/xmame/readme.mess
share/doc/xmame/xmame-doc-1.html
share/doc/xmame/xmame-doc-2.html
share/doc/xmame/xmame-doc-3.html
share/doc/xmame/xmame-doc-4.html
share/doc/xmame/xmame-doc-5.html
share/doc/xmame/xmame-doc-6.html
share/doc/xmame/xmame-doc-7.html
share/doc/xmame/xmame-doc.html
share/doc/xmame/xmame-doc.lyx
share/doc/xmame/xmame-doc.ps
share/doc/xmame/xmame-doc.sgml
share/doc/xmame/xmame-doc.txt
share/doc/xmame/xmame.6
share/doc/xmame/xmamerc.dist
@dirrm share/doc/xmame
@dirrm lib/xmess/cab/trans
@dirrm lib/xmess/cab/glmame
@dirrm lib/xmess/cab
@dirrm lib/xmess
@dirrm lib/xmame/cab/trans
@dirrm lib/xmame/cab/glmame
@dirrm lib/xmame/cab
@dirrm lib/xmame

View File

@ -0,0 +1,31 @@
@comment $OpenBSD: PLIST-mame,v 1.1.1.1 2001/04/04 14:31:55 naddy Exp $
bin/xmame
man/man6/xmame.6
share/doc/xmame/changes.mame
share/doc/xmame/changes.mess
share/doc/xmame/changes.unix
share/doc/xmame/credits.txt
share/doc/xmame/gamelist.mame
share/doc/xmame/gamelist.mess
share/doc/xmame/imgtool.txt
share/doc/xmame/liesmich.unix
share/doc/xmame/messold.txt
share/doc/xmame/messroms.txt
share/doc/xmame/multiplayer-readme.txt
share/doc/xmame/readme.mame
share/doc/xmame/readme.mess
share/doc/xmame/xmame-doc-1.html
share/doc/xmame/xmame-doc-2.html
share/doc/xmame/xmame-doc-3.html
share/doc/xmame/xmame-doc-4.html
share/doc/xmame/xmame-doc-5.html
share/doc/xmame/xmame-doc-6.html
share/doc/xmame/xmame-doc-7.html
share/doc/xmame/xmame-doc.html
share/doc/xmame/xmame-doc.lyx
share/doc/xmame/xmame-doc.ps
share/doc/xmame/xmame-doc.sgml
share/doc/xmame/xmame-doc.txt
share/doc/xmame/xmame.6
share/doc/xmame/xmamerc.dist
@dirrm share/doc/xmame

View File

@ -0,0 +1,39 @@
@comment $OpenBSD: PLIST-mame-gl,v 1.1.1.1 2001/04/04 14:31:55 naddy Exp $
bin/xmame
lib/xmame/cab/glmame/cabfront.jpg
lib/xmame/cab/glmame/cabtitle.jpg
lib/xmame/cab/glmame/glmame.cab
lib/xmame/cab/trans/trans.cab
man/man6/xmame.6
share/doc/xmame/changes.mame
share/doc/xmame/changes.mess
share/doc/xmame/changes.unix
share/doc/xmame/credits.txt
share/doc/xmame/gamelist.mame
share/doc/xmame/gamelist.mess
share/doc/xmame/imgtool.txt
share/doc/xmame/liesmich.unix
share/doc/xmame/messold.txt
share/doc/xmame/messroms.txt
share/doc/xmame/multiplayer-readme.txt
share/doc/xmame/readme.mame
share/doc/xmame/readme.mess
share/doc/xmame/xmame-doc-1.html
share/doc/xmame/xmame-doc-2.html
share/doc/xmame/xmame-doc-3.html
share/doc/xmame/xmame-doc-4.html
share/doc/xmame/xmame-doc-5.html
share/doc/xmame/xmame-doc-6.html
share/doc/xmame/xmame-doc-7.html
share/doc/xmame/xmame-doc.html
share/doc/xmame/xmame-doc.lyx
share/doc/xmame/xmame-doc.ps
share/doc/xmame/xmame-doc.sgml
share/doc/xmame/xmame-doc.txt
share/doc/xmame/xmame.6
share/doc/xmame/xmamerc.dist
@dirrm share/doc/xmame
@dirrm lib/xmame/cab/trans
@dirrm lib/xmame/cab/glmame
@dirrm lib/xmame/cab
@dirrm lib/xmame

View File

@ -0,0 +1,31 @@
@comment $OpenBSD: PLIST-mess,v 1.1.1.1 2001/04/04 14:31:55 naddy Exp $
bin/xmess
man/man6/xmess.6
share/doc/xmame/changes.mame
share/doc/xmame/changes.mess
share/doc/xmame/changes.unix
share/doc/xmame/credits.txt
share/doc/xmame/gamelist.mame
share/doc/xmame/gamelist.mess
share/doc/xmame/imgtool.txt
share/doc/xmame/liesmich.unix
share/doc/xmame/messold.txt
share/doc/xmame/messroms.txt
share/doc/xmame/multiplayer-readme.txt
share/doc/xmame/readme.mame
share/doc/xmame/readme.mess
share/doc/xmame/xmame-doc-1.html
share/doc/xmame/xmame-doc-2.html
share/doc/xmame/xmame-doc-3.html
share/doc/xmame/xmame-doc-4.html
share/doc/xmame/xmame-doc-5.html
share/doc/xmame/xmame-doc-6.html
share/doc/xmame/xmame-doc-7.html
share/doc/xmame/xmame-doc.html
share/doc/xmame/xmame-doc.lyx
share/doc/xmame/xmame-doc.ps
share/doc/xmame/xmame-doc.sgml
share/doc/xmame/xmame-doc.txt
share/doc/xmame/xmame.6
share/doc/xmame/xmamerc.dist
@dirrm share/doc/xmame

View File

@ -0,0 +1,39 @@
@comment $OpenBSD: PLIST-mess-gl,v 1.1.1.1 2001/04/04 14:31:55 naddy Exp $
bin/xmess
lib/xmess/cab/glmame/cabfront.jpg
lib/xmess/cab/glmame/cabtitle.jpg
lib/xmess/cab/glmame/glmame.cab
lib/xmess/cab/trans/trans.cab
man/man6/xmess.6
share/doc/xmame/changes.mame
share/doc/xmame/changes.mess
share/doc/xmame/changes.unix
share/doc/xmame/credits.txt
share/doc/xmame/gamelist.mame
share/doc/xmame/gamelist.mess
share/doc/xmame/imgtool.txt
share/doc/xmame/liesmich.unix
share/doc/xmame/messold.txt
share/doc/xmame/messroms.txt
share/doc/xmame/multiplayer-readme.txt
share/doc/xmame/readme.mame
share/doc/xmame/readme.mess
share/doc/xmame/xmame-doc-1.html
share/doc/xmame/xmame-doc-2.html
share/doc/xmame/xmame-doc-3.html
share/doc/xmame/xmame-doc-4.html
share/doc/xmame/xmame-doc-5.html
share/doc/xmame/xmame-doc-6.html
share/doc/xmame/xmame-doc-7.html
share/doc/xmame/xmame-doc.html
share/doc/xmame/xmame-doc.lyx
share/doc/xmame/xmame-doc.ps
share/doc/xmame/xmame-doc.sgml
share/doc/xmame/xmame-doc.txt
share/doc/xmame/xmame.6
share/doc/xmame/xmamerc.dist
@dirrm share/doc/xmame
@dirrm lib/xmess/cab/trans
@dirrm lib/xmess/cab/glmame
@dirrm lib/xmess/cab
@dirrm lib/xmess