Bug 5687 - UPDATED PORT: emulators/xmame, Arcade game machine emulator
Summary: UPDATED PORT: emulators/xmame, Arcade game machine emulator
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-02-09 02:50 UTC by dburr
Modified: 1998-02-10 03:12 UTC (History)
0 users

See Also:


Attachments
file.diff (69.68 KB, patch)
1998-02-09 02:50 UTC, dburr
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dburr 1998-02-09 02:50:00 UTC
[A couple months ago, I promised an update of my xmame port to version
0.29.  Unfortunately, I got really busy at the time, plus suffered various
computer failures, etc.  By the time I was able to work on the port, version
0.30 was close to coming out, so I thought I'd wait for it.  Anyway, I have
now completed my port of 0.30.  This port is much improved over my previous
port... it properly respects all of the FreeBSD porting conventions, for one,
and I portlint'ed it and got rid of all the errors and warnings.  This one
should be very nice.]

#define NITPICKING_MODE
[NOTE TO PORTS TEAM: My previous xmame port was imported into the category
"games".  I do not believe this is completely accurate.  It is an arcade
machine EMULATOR, so it sould go into the "emulators" category.  I cite,
as examples, the emulators/iNES port (it *emulates* the Nintendo *game*
console), the emulators/stella port (again, it *emulates* the Atari 2600
*game console*), etc.]
#undef NITPICKING_MODE

X-Mame 0.30.1 is an emulator.  It emulates many classic coin-operated arcade
game machines, right on your FreeBSD PC.

This emulator supports over 200 arcade games, and the nunmber grows every
day!  A partial list of the (more popular and well-known) games currently
supported by this emulator include:

PacMan, Ms. PacMan, Jr. PacMan, Super PacMan, Dig Dug, Star Trek, Galaga,
Space Invaders, Tempest, Frogger, Mr. Do!, Battle Zone, Missile Command,
Asteroids, Burger Time, Centipede, Millipede, Gorf, Donkey Kong, Donkey
Kong III, Donkey Kong Jr., Mario Bros., Defender, Stargate, Galaxians,
Gyruss, Kangaroo, Moon Patrol, Phoenix, Q*Bert, Rally X, Robotron,
Star Wars, Zaxxon, ... you get the idea.

To run these games, however, you will need images of the ROM chips that
are used on these games.  If you actually have one of these games (or the
motherboard to one of them), and access to a ROM burner, it is a fairly
trivial process to make ROM image files for use with MAME.  If you DON'T
have access to a ROM burner, or you don't own one of these video games
(and you are aware of the possible legal ramifications of doing this),
you can obtain ROM images for MAME on the Net.

[ This port is maintained by Donald Burr <dburr@POBoxes.com>. ]

Fix: #!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.1.4).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 1998-02-08 18:40 PST by <dburr@control.colossus.dyn.ml.org>.
# Source directory was `/usr/ports/emulators'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#   1060 -rw-r--r-- xmame/Makefile
#   4827 -rw-r--r-- xmame/patches/patch-aa
#    687 -rw-r--r-- xmame/patches/patch-ab
#   5570 -rw-r--r-- xmame/patches/patch-ac
#  35839 -rw-r--r-- xmame/patches/patch-ae
#    461 -rw-r--r-- xmame/patches/patch-af
#   1254 -rw-r--r-- xmame/patches/patch-ag
#    445 -rw-r--r-- xmame/patches/patch-ah
#    477 -rw-r--r-- xmame/patches/patch-ai
#    367 -rw-r--r-- xmame/patches/patch-aj
#    468 -rw-r--r-- xmame/patches/patch-ak
#    805 -rw-r--r-- xmame/patches/patch-al
#   6897 -rw-r--r-- xmame/patches/patch-ad
#    460 -rw-r--r-- xmame/files/dos2unx
#     62 -rw-r--r-- xmame/files/md5
#    262 -rw-r--r-- xmame/pkg/PLIST
#    103 -rw-r--r-- xmame/pkg/MESSAGE
#   1248 -rw-r--r-- xmame/pkg/DESCR
#     57 -rw-r--r-- xmame/pkg/COMMENT
#
touch -am 1231235999 $$.touch >/dev/null 2>&1
if test ! -f 1231235999 && test -f $$.touch; then
  shar_touch=touch
else
  shar_touch=:
  echo
  echo 'WARNING: not restoring timestamps.  Consider getting and'
  echo "installing GNU \`touch', distributed in GNU File Utilities..."
  echo
fi
rm -f 1231235999 $$.touch
#
# ============= xmame/Makefile ==============
if test ! -d 'xmame'; then
  echo 'x - creating directory xmame'
  mkdir 'xmame'
fi
if test -f 'xmame/Makefile' && test X"$1" != X"-c"; then
  echo 'x - skipping xmame/Makefile (file already exists)'
else
  echo 'x - extracting xmame/Makefile (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'xmame/Makefile' &&
# New ports collection makefile for:    xmame
# Version required:     0.30.1
# Date created:         8 Feb 1998
# Whom:                 Donald Burr <dburr@POBoxes.com>
#
# $Id$
#
X
DISTNAME=	xmame-0.30.1_src
PKGNAME=        xmame-0.30.1
CATEGORIES=	emulators
MASTER_SITES=	ftp://drake.dit.upm.es/pub/emulators/mame/
EXTRACT_SUFX=	.tgz
X
MAINTAINER=	dburr@POBoxes.com
X
LIB_DEPENDS=	Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
X
WRKSRC=		${WRKDIR}/${PKGNAME}
X
USE_GMAKE=	YES
MAKEFILE=	makefile.unix
X
MAN6=		xmame.6
X
post-install:
X.ifdef NOPORTDOCS
X	@echo "==> Extra documentation WILL NOT be installed."
X.else
X	@echo "==> Installing extra documentation..."
X	${MKDIR} ${PREFIX}/lib/mame
X	for DOC in CHEAT.DOC Changes MailList.notes README.unix mamelist.txt readme.txt whatsnew.txt; do ${INSTALL} -c -o bin -g bin -m 444 ${WRKSRC}/doc/$${DOC} ${PREFIX}/lib/mame/$${DOC}; done
X.endif
X	(cd ${PREFIX}/lib/mame; sh ${FILESDIR}/dos2unx CHEAT.DOC Changes MailList.notes README.unix cheat.dat mamelist.txt readme.txt whatsnew.txt)
X	@${CAT} ${PKGDIR}/MESSAGE
X
X.include <bsd.port.mk>
SHAR_EOF
  $shar_touch -am 0208184098 'xmame/Makefile' &&
  chmod 0644 'xmame/Makefile' ||
  echo 'restore of xmame/Makefile failed'
  shar_count="`wc -c < 'xmame/Makefile'`"
  test 1060 -eq "$shar_count" ||
    echo "xmame/Makefile: original size 1060, current size $shar_count"
fi
# ============= xmame/patches/patch-aa ==============
if test ! -d 'xmame/patches'; then
  echo 'x - creating directory xmame/patches'
  mkdir 'xmame/patches'
fi
if test -f 'xmame/patches/patch-aa' && test X"$1" != X"-c"; then
  echo 'x - skipping xmame/patches/patch-aa (file already exists)'
else
  echo 'x - extracting xmame/patches/patch-aa (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'xmame/patches/patch-aa' &&
Comment 1 jkh freebsd_committer freebsd_triage 1998-02-10 03:11:59 UTC
State Changed
From-To: open->closed

Submitted and moved, as requested.