summaryrefslogtreecommitdiff
path: root/emulators/MAMEDiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-03-04 12:05:12 +0000
committerwiz <wiz@pkgsrc.org>2005-03-04 12:05:12 +0000
commitf454d6899a6f33ea35701a4dfab2679b02c98798 (patch)
tree4b1c21fffd36073eb1f8edfd41c4c76de2e746d8 /emulators/MAMEDiff
parentbb237e1daa2d293f24e58faa6f107ec5ffa66742 (diff)
downloadpkgsrc-f454d6899a6f33ea35701a4dfab2679b02c98798.tar.gz
Add some ROM-, mostly arcade-(MAME-)related tools from www.logiqx.com.
Diffstat (limited to 'emulators/MAMEDiff')
-rw-r--r--emulators/MAMEDiff/DESCR9
-rw-r--r--emulators/MAMEDiff/Makefile30
-rw-r--r--emulators/MAMEDiff/PLIST4
-rw-r--r--emulators/MAMEDiff/distinfo9
-rw-r--r--emulators/MAMEDiff/patches/patch-aa36
-rw-r--r--emulators/MAMEDiff/patches/patch-ab19
-rw-r--r--emulators/MAMEDiff/patches/patch-ac15
-rw-r--r--emulators/MAMEDiff/patches/patch-ad15
8 files changed, 137 insertions, 0 deletions
diff --git a/emulators/MAMEDiff/DESCR b/emulators/MAMEDiff/DESCR
new file mode 100644
index 00000000000..a57e2308d0b
--- /dev/null
+++ b/emulators/MAMEDiff/DESCR
@@ -0,0 +1,9 @@
+MAMEDiff makes it easy to identify ROM related changes in a new
+release of MAME (it can even find game additions that aren't
+mentioned in whatsnew.txt). It can spot game renames and will not
+regard them as one game deleted and another added. When ROMs or
+games are renamed (or if there is a change in the way that sets
+are merged), MAMEDiff will just tell you how to rebuild the affected
+sets (i.e. no downloading required). A must-have for any MAME
+fanatic! It also works for new releases of MESS, RAINE, Final Burn
+Alpha, Kawaks, etc.
diff --git a/emulators/MAMEDiff/Makefile b/emulators/MAMEDiff/Makefile
new file mode 100644
index 00000000000..0e548796315
--- /dev/null
+++ b/emulators/MAMEDiff/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
+#
+
+DISTNAME= mdiff216
+PKGNAME= MAMEDiff-2.16
+CATEGORIES= emulation
+MASTER_SITES= http://www.logiqx.com/Tools/MAMEDiff/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= wiz@NetBSD.org
+HOMEPAGE= http://www.logiqx.com/Tools/MAMEDiff/MAMEDiff.shtml
+COMMENT= Compare MAME rom sets of different releases
+
+USE_BUILDLINK3= YES
+USE_GNU_TOOLS+= make
+WRKSRC= ${WRKDIR}
+MAKEFILE= makefile
+BUILD_TARGET= mamediff
+
+post-extract:
+ ${MKDIR} ${WRKSRC}/obj
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/mamediff ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/MAMEDiff
+ ${INSTALL_DATA} ${WRKSRC}/mamediff.txt ${PREFIX}/share/doc/MAMEDiff
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../emulators/DatLib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/MAMEDiff/PLIST b/emulators/MAMEDiff/PLIST
new file mode 100644
index 00000000000..f3a96a11f79
--- /dev/null
+++ b/emulators/MAMEDiff/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
+bin/mamediff
+share/doc/MAMEDiff/mamediff.txt
+@dirrm share/doc/MAMEDiff
diff --git a/emulators/MAMEDiff/distinfo b/emulators/MAMEDiff/distinfo
new file mode 100644
index 00000000000..2fdf370a514
--- /dev/null
+++ b/emulators/MAMEDiff/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
+
+SHA1 (mdiff216.zip) = bc6dd8b21c20b73027dfb0e541681227d11173a9
+RMD160 (mdiff216.zip) = 8b144e710c75b20309fc12f8f24399aec4bc5294
+Size (mdiff216.zip) = 153474 bytes
+SHA1 (patch-aa) = 889efeca6087d8b43b793d015e84a40ee39cd64c
+SHA1 (patch-ab) = 71d9b2b8321f3e1d7adead3c385d6d7d4b2f53be
+SHA1 (patch-ac) = a7d6acfc086ee4eec481e9c1aea10fbe3636f63b
+SHA1 (patch-ad) = 02187fcf5720f639e922f8e6cdc7e3dec783793b
diff --git a/emulators/MAMEDiff/patches/patch-aa b/emulators/MAMEDiff/patches/patch-aa
new file mode 100644
index 00000000000..2bab95d8340
--- /dev/null
+++ b/emulators/MAMEDiff/patches/patch-aa
@@ -0,0 +1,36 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
+
+--- makefile.orig 2005-02-24 23:39:38.000000000 +0100
++++ makefile
+@@ -3,7 +3,7 @@
+ #
+
+ NAME=mamediff
+-EXT=.exe
++EXT=
+ EXE=$(NAME)$(EXT)
+
+ SRC=src
+@@ -20,9 +20,10 @@ OBJS= $(DLOBJS) \
+ # Build the obj tree then build the EXE
+ #
+
+-all: dlmaketree maketree $(EXE)
++all: maketree $(EXE)
+
+-include $(LOGIQX)/dev/datlib/makefile
++DLSRC= $(PREFIX)/include/DatLib
++CFLAGS+= -I src -I $(PREFIX)/include
+
+ #
+ # Creating obj directory tree
+@@ -51,8 +52,7 @@ $(OBJ)/%.o: $(SRC)/%.c $(SRC)/%.h $(SRC)
+
+ $(EXE): $(OBJS)
+ @echo Linking $@...
+- $(LD) $(OBJS) $(LIBS) -o $@
+- $(UPX) $@
++ $(CC) $(OBJS) $(LIBS) -o $@ -ldatlib -lm -lz
+
+ #
+ # Complete removal of built objects
diff --git a/emulators/MAMEDiff/patches/patch-ab b/emulators/MAMEDiff/patches/patch-ab
new file mode 100644
index 00000000000..04b7fe17e87
--- /dev/null
+++ b/emulators/MAMEDiff/patches/patch-ab
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
+
+--- src/mamediff.c.orig 2005-02-28 19:12:48.000000000 +0100
++++ src/mamediff.c
+@@ -19,12 +19,12 @@
+
+ /* --- Dat library includes --- */
+
+-#include "datlib/src/datlib.h"
++#include <DatLib/datlib.h>
+
+
+ /* --- Misc library includes --- */
+
+-#include "datlib/src/misc/getopt.h"
++#include <DatLib/misc/getopt.h>
+
+
+ /* --- MAMEDiff definitions and macros --- */
diff --git a/emulators/MAMEDiff/patches/patch-ac b/emulators/MAMEDiff/patches/patch-ac
new file mode 100644
index 00000000000..1c9a7143d06
--- /dev/null
+++ b/emulators/MAMEDiff/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
+
+--- src/compare.c.orig 2005-02-20 16:08:38.000000000 +0100
++++ src/compare.c
+@@ -15,8 +15,8 @@
+
+ /* --- Dat library includes --- */
+
+-#include "datlib/src/datlib.h"
+-#include "datlib/src/macro.h"
++#include "DatLib/datlib.h"
++#include "DatLib/macro.h"
+
+
+ /* --- MAMEDiff definitions and macros --- */
diff --git a/emulators/MAMEDiff/patches/patch-ad b/emulators/MAMEDiff/patches/patch-ad
new file mode 100644
index 00000000000..681b941607c
--- /dev/null
+++ b/emulators/MAMEDiff/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
+
+--- src/generate.c.orig 2005-02-13 16:11:00.000000000 +0100
++++ src/generate.c
+@@ -15,8 +15,8 @@
+
+ /* --- Dat library includes --- */
+
+-#include "datlib/src/datlib.h"
+-#include "datlib/src/macro.h"
++#include "DatLib/datlib.h"
++#include "DatLib/macro.h"
+
+
+ /* --- MAMEDiff definitions and macros --- */