summaryrefslogtreecommitdiff
path: root/emulators/ZIPIdent
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/ZIPIdent
parentbb237e1daa2d293f24e58faa6f107ec5ffa66742 (diff)
downloadpkgsrc-f454d6899a6f33ea35701a4dfab2679b02c98798.tar.gz
Add some ROM-, mostly arcade-(MAME-)related tools from www.logiqx.com.
Diffstat (limited to 'emulators/ZIPIdent')
-rw-r--r--emulators/ZIPIdent/DESCR12
-rw-r--r--emulators/ZIPIdent/Makefile30
-rw-r--r--emulators/ZIPIdent/PLIST4
-rw-r--r--emulators/ZIPIdent/distinfo7
-rw-r--r--emulators/ZIPIdent/patches/patch-aa36
-rw-r--r--emulators/ZIPIdent/patches/patch-ab23
6 files changed, 112 insertions, 0 deletions
diff --git a/emulators/ZIPIdent/DESCR b/emulators/ZIPIdent/DESCR
new file mode 100644
index 00000000000..bbfefa1cc06
--- /dev/null
+++ b/emulators/ZIPIdent/DESCR
@@ -0,0 +1,12 @@
+ZIPIdent has been created to assist in the management of unemulated
+or 'needed soon' ROM collections. Anyone who possesses such a
+collection (emu developers for example) may find it difficult to
+spot games that become emulated and then remove them from the
+unemulated collection. ZIPIdent will identify ZIPs that should not
+be classified unemulated and if desired will even move them out of
+the 'unemulated' collection and into a separate directory.
+
+It is quite similar to MAME's '-romident' function except for the
+fact that it processes entire ROM collections, not just an individual
+ZIP. ZIPIdent probably has some additional logic that '-romident'
+doesn't contain too (not checked).
diff --git a/emulators/ZIPIdent/Makefile b/emulators/ZIPIdent/Makefile
new file mode 100644
index 00000000000..37653c3e4d1
--- /dev/null
+++ b/emulators/ZIPIdent/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
+#
+
+DISTNAME= zident24
+PKGNAME= ZIPIdent-2.4
+CATEGORIES= emulation
+MASTER_SITES= http://www.logiqx.com/Tools/ZIPIdent/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= wiz@NetBSD.org
+HOMEPAGE= http://www.logiqx.com/Tools/ZIPIdent/ZIPIdent.shtml
+COMMENT= Identify arcade ROM sets
+
+USE_BUILDLINK3= YES
+USE_GNU_TOOLS+= make
+WRKSRC= ${WRKDIR}
+MAKEFILE= makefile
+BUILD_TARGET= zipident
+
+post-extract:
+ ${MKDIR} ${WRKSRC}/obj
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/zipident ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ZIPIdent
+ ${INSTALL_DATA} ${WRKSRC}/zipident.txt ${PREFIX}/share/doc/ZIPIdent
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../emulators/DatLib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/ZIPIdent/PLIST b/emulators/ZIPIdent/PLIST
new file mode 100644
index 00000000000..d24c12a2ccf
--- /dev/null
+++ b/emulators/ZIPIdent/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
+bin/zipident
+share/doc/ZIPIdent/zipident.txt
+@dirrm share/doc/ZIPIdent
diff --git a/emulators/ZIPIdent/distinfo b/emulators/ZIPIdent/distinfo
new file mode 100644
index 00000000000..cfee43b6190
--- /dev/null
+++ b/emulators/ZIPIdent/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
+
+SHA1 (zident24.zip) = 2c22835ac1ad9ee8c7f9c40b125e3b856718828b
+RMD160 (zident24.zip) = 09500182746f6be1b2c78769474a632bf10ae7a9
+Size (zident24.zip) = 132766 bytes
+SHA1 (patch-aa) = b67b6cdb5961c697d673baef7a0a0cf49bfb400e
+SHA1 (patch-ab) = bd0d8a41f7f497da845113256e6aa8a0edeec75a
diff --git a/emulators/ZIPIdent/patches/patch-aa b/emulators/ZIPIdent/patches/patch-aa
new file mode 100644
index 00000000000..f00411fbcf9
--- /dev/null
+++ b/emulators/ZIPIdent/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 2004-07-01 16:25:20.000000000 +0200
++++ makefile
+@@ -3,7 +3,7 @@
+ #
+
+ NAME=zipident
+-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/ZIPIdent/patches/patch-ab b/emulators/ZIPIdent/patches/patch-ab
new file mode 100644
index 00000000000..27901fad039
--- /dev/null
+++ b/emulators/ZIPIdent/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
+
+--- src/zipident.c.orig 2005-02-13 14:07:40.000000000 +0100
++++ src/zipident.c
+@@ -21,14 +21,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"
+
+
+ /* --- ZipIdent definitions and macros --- */