summaryrefslogtreecommitdiff
path: root/emulators/ROMInfo
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/ROMInfo
parentbb237e1daa2d293f24e58faa6f107ec5ffa66742 (diff)
downloadpkgsrc-f454d6899a6f33ea35701a4dfab2679b02c98798.tar.gz
Add some ROM-, mostly arcade-(MAME-)related tools from www.logiqx.com.
Diffstat (limited to 'emulators/ROMInfo')
-rw-r--r--emulators/ROMInfo/DESCR3
-rw-r--r--emulators/ROMInfo/Makefile30
-rw-r--r--emulators/ROMInfo/PLIST4
-rw-r--r--emulators/ROMInfo/distinfo7
-rw-r--r--emulators/ROMInfo/patches/patch-aa36
-rw-r--r--emulators/ROMInfo/patches/patch-ab23
6 files changed, 103 insertions, 0 deletions
diff --git a/emulators/ROMInfo/DESCR b/emulators/ROMInfo/DESCR
new file mode 100644
index 00000000000..f7fd1864bdd
--- /dev/null
+++ b/emulators/ROMInfo/DESCR
@@ -0,0 +1,3 @@
+ROMInfo is for identifying arcade ROMs and checking if they are
+emulated yet. It does this using the CMPro dats from the CAESAR
+database and should cover every arcade game emulated so far.
diff --git a/emulators/ROMInfo/Makefile b/emulators/ROMInfo/Makefile
new file mode 100644
index 00000000000..e033139d139
--- /dev/null
+++ b/emulators/ROMInfo/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
+#
+
+DISTNAME= rinfo23
+PKGNAME= ROMInfo-2.3
+CATEGORIES= emulation
+MASTER_SITES= http://www.logiqx.com/Tools/ROMInfo/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= wiz@NetBSD.org
+HOMEPAGE= http://www.logiqx.com/Tools/ROMInfo/ROMInfo.shtml
+COMMENT= Identify arcade ROM sets
+
+USE_BUILDLINK3= YES
+USE_GNU_TOOLS+= make
+WRKSRC= ${WRKDIR}
+MAKEFILE= makefile
+BUILD_TARGET= rominfo
+
+post-extract:
+ ${MKDIR} ${WRKSRC}/obj
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/rominfo ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ROMInfo
+ ${INSTALL_DATA} ${WRKSRC}/rominfo.txt ${PREFIX}/share/doc/ROMInfo
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../emulators/DatLib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/ROMInfo/PLIST b/emulators/ROMInfo/PLIST
new file mode 100644
index 00000000000..f6152cf2621
--- /dev/null
+++ b/emulators/ROMInfo/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
+bin/rominfo
+share/doc/ROMInfo/rominfo.txt
+@dirrm share/doc/ROMInfo
diff --git a/emulators/ROMInfo/distinfo b/emulators/ROMInfo/distinfo
new file mode 100644
index 00000000000..70833f1e3a8
--- /dev/null
+++ b/emulators/ROMInfo/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
+
+SHA1 (rinfo23.zip) = f4fd3b662428414ddc23f2d65b11e7fd1bf9eb96
+RMD160 (rinfo23.zip) = 0e33d39221b3a94acd75dd430b798d9ca031d1ed
+Size (rinfo23.zip) = 125239 bytes
+SHA1 (patch-aa) = 3d08710e0b68799a789e0a8aa5fee9b2d0d7522c
+SHA1 (patch-ab) = d80e5487b764533547b4f5340e2a103b5de03adb
diff --git a/emulators/ROMInfo/patches/patch-aa b/emulators/ROMInfo/patches/patch-aa
new file mode 100644
index 00000000000..47574052b7b
--- /dev/null
+++ b/emulators/ROMInfo/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:06.000000000 +0100
++++ makefile
+@@ -3,7 +3,7 @@
+ #
+
+ NAME=rominfo
+-EXT=.exe
++EXT=
+ EXE=$(NAME)$(EXT)
+
+ SRC=src
+@@ -18,9 +18,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
+@@ -45,8 +46,7 @@ $(OBJ)/%.o: $(SRC)/%.c $(SRC)/%.h $(DLSR
+
+ $(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/ROMInfo/patches/patch-ab b/emulators/ROMInfo/patches/patch-ab
new file mode 100644
index 00000000000..06394135882
--- /dev/null
+++ b/emulators/ROMInfo/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
+
+--- src/rominfo.c.orig 2005-02-28 19:17:24.000000000 +0100
++++ src/rominfo.c
+@@ -22,14 +22,14 @@
+
+ /* --- Dat library includes --- */
+
+-#include "datlib/src/datlib.h"
+-#include "datlib/src/macro.h"
++#include "DatLib/datlib.h"
++#include "DatLib/macro.h"
+
+
+ /* --- Misc library includes --- */
+
+-#include "datlib/src/misc/getopt.h"
+-#include "datlib/src/mame/unzip.h"
++#include "DatLib/misc/getopt.h"
++#include "DatLib/mame/unzip.h"
+
+
+ /* --- ROMInfo definitions and macros --- */