diff options
author | wiz <wiz@pkgsrc.org> | 2005-03-04 12:05:12 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-03-04 12:05:12 +0000 |
commit | f454d6899a6f33ea35701a4dfab2679b02c98798 (patch) | |
tree | 4b1c21fffd36073eb1f8edfd41c4c76de2e746d8 /emulators | |
parent | bb237e1daa2d293f24e58faa6f107ec5ffa66742 (diff) | |
download | pkgsrc-f454d6899a6f33ea35701a4dfab2679b02c98798.tar.gz |
Add some ROM-, mostly arcade-(MAME-)related tools from www.logiqx.com.
Diffstat (limited to 'emulators')
40 files changed, 728 insertions, 1 deletions
diff --git a/emulators/DatLib/DESCR b/emulators/DatLib/DESCR new file mode 100644 index 00000000000..66159b1c83c --- /dev/null +++ b/emulators/DatLib/DESCR @@ -0,0 +1,4 @@ +DatLib is a library for emulation data file formats. It supports +a variety of data file formats and handles the standard loading, +cleansing, converting and saving operations that are required by +tools such as DatUtil, MAMEDiff, ROMBuild, ROMInfo and ZipIdent. diff --git a/emulators/DatLib/Makefile b/emulators/DatLib/Makefile new file mode 100644 index 00000000000..a59682ed007 --- /dev/null +++ b/emulators/DatLib/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/03/04 12:05:12 wiz Exp $ +# + +DISTNAME= datlib22 +PKGNAME= DatLib-2.2 +CATEGORIES= emulation +MASTER_SITES= http://www.logiqx.com/Tools/DatLib/ +EXTRACT_SUFX= .zip + +MAINTAINER= wiz@NetBSD.org +HOMEPAGE= http://www.logiqx.com/Tools/DatLib/DatLib.shtml +COMMENT= Data file library for some emulation tools + +USE_BUILDLINK3= YES +USE_GNU_TOOLS+= make +WRKSRC= ${WRKDIR} +MAKEFILE= makefile +BUILD_TARGET= datlib + +MAKE_ENV+= RANLIB=${RANLIB:Q} + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/include/DatLib + ${INSTALL_DATA_DIR} ${PREFIX}/include/DatLib/hash + ${INSTALL_DATA_DIR} ${PREFIX}/include/DatLib/mame + ${INSTALL_DATA_DIR} ${PREFIX}/include/DatLib/misc + ${INSTALL_DATA} ${WRKSRC}/src/*.h ${PREFIX}/include/DatLib + ${INSTALL_DATA} ${WRKSRC}/src/hash/*.h ${PREFIX}/include/DatLib/hash + ${INSTALL_DATA} ${WRKSRC}/src/mame/*.h ${PREFIX}/include/DatLib/mame + ${INSTALL_DATA} ${WRKSRC}/src/misc/*.h ${PREFIX}/include/DatLib/misc + ${INSTALL_LIB} ${WRKSRC}/obj/libdatlib.a ${PREFIX}/lib/libdatlib.a + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/DatLib + ${INSTALL_DATA} ${WRKSRC}/datlib.txt ${PREFIX}/share/doc/DatLib + +.include "../../devel/zlib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/DatLib/PLIST b/emulators/DatLib/PLIST new file mode 100644 index 00000000000..1b4b3f8e84b --- /dev/null +++ b/emulators/DatLib/PLIST @@ -0,0 +1,19 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/04 12:05:12 wiz Exp $ +include/DatLib/datlib.h +include/DatLib/driver.h +include/DatLib/hash/md5.h +include/DatLib/hash/sha1.h +include/DatLib/macro.h +include/DatLib/mame/mame.h +include/DatLib/mame/osd_cpu.h +include/DatLib/mame/unzip.h +include/DatLib/misc/getopt.h +include/DatLib/token.h +include/DatLib/type.h +lib/libdatlib.a +share/doc/DatLib/datlib.txt +@dirrm share/doc/DatLib +@dirrm include/DatLib/hash +@dirrm include/DatLib/mame +@dirrm include/DatLib/misc +@dirrm include/DatLib diff --git a/emulators/DatLib/buildlink3.mk b/emulators/DatLib/buildlink3.mk new file mode 100644 index 00000000000..0c9e40f75c3 --- /dev/null +++ b/emulators/DatLib/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/03/04 12:05:12 wiz Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +DATLIB_BUILDLINK3_MK:= ${DATLIB_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= DatLib +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NDatLib} +BUILDLINK_PACKAGES+= DatLib + +.if !empty(DATLIB_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.DatLib+= DatLib>=2.2 +BUILDLINK_PKGSRCDIR.DatLib?= ../../emulators/DatLib +.endif # DATLIB_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/emulators/DatLib/distinfo b/emulators/DatLib/distinfo new file mode 100644 index 00000000000..3519477257f --- /dev/null +++ b/emulators/DatLib/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/03/04 12:05:12 wiz Exp $ + +SHA1 (datlib22.zip) = 422b88786d86325f1b5ac29c46fb1ef3c8dcf5e4 +RMD160 (datlib22.zip) = 527302e7b035dad554127c4adafce533ca03e034 +Size (datlib22.zip) = 80830 bytes +SHA1 (patch-aa) = c3babe4b2843c0ff362aaa5f08b4278bbcd9340c diff --git a/emulators/DatLib/patches/patch-aa b/emulators/DatLib/patches/patch-aa new file mode 100644 index 00000000000..d1bad6a0955 --- /dev/null +++ b/emulators/DatLib/patches/patch-aa @@ -0,0 +1,48 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ + +--- makefile.orig 2005-02-24 23:39:10.000000000 +0100 ++++ makefile +@@ -5,20 +5,20 @@ + MD=mkdir
+
+ CC=@gcc
+-CFLAGS+=-Wall -O2 -I $(LOGIQX)/dev
++CFLAGS+=-Wall -O2 -I .
+
+ LD=@gcc
+ LIBS+=-lz -lm
+
+ UPX=@upx -9
+
+-DLSRC=$(LOGIQX)/dev/datlib/src
++DLSRC=./src
+
+ DLINCS= $(DLSRC)/macro.h \
+ $(DLSRC)/type.h \
+ $(DLSRC)/token.h \
+
+-DLOBJ=$(LOGIQX)/dev/datlib/obj
++DLOBJ=./obj
+
+ DLOBJDIRS=$(DLOBJ) \
+ $(DLOBJ)/drv \
+@@ -42,7 +42,7 @@ DLOBJS= $(DLOBJ)/datlib.o \
+ # Build the obj tree then build the EXE
+ #
+
+-datlib: dlmaketree $(DLOBJS)
++datlib: dlmaketree $(DLOBJS) $(DLOBJ)/libdatlib.a
+
+ #
+ # Creating obj directory tree
+@@ -53,6 +53,10 @@ dlmaketree: $(sort $(DLOBJDIRS))
+ $(sort $(DLOBJDIRS)):
+ $(MD) $@
+
++$(DLOBJ)/libdatlib.a: $(DLOBJS)
++ @echo Creating $@...
++ $(AR) r $@ $(DLOBJS)
++ $(RANLIB) $@
+ #
+ # Compiling of separate modules
+ #
diff --git a/emulators/DatUtil/DESCR b/emulators/DatUtil/DESCR new file mode 100644 index 00000000000..1cc23549303 --- /dev/null +++ b/emulators/DatUtil/DESCR @@ -0,0 +1,5 @@ +DatUtil was created to aid in the creation of dat files for Rom +Managers such as ClrMamePro and RomCenter (Roman Scherzer / Eric +Bole-Feysot). It can convert between formats, extract individual +games (and optionally their clones) and cleanse dats. It supports +a variety of formats. diff --git a/emulators/DatUtil/Makefile b/emulators/DatUtil/Makefile new file mode 100644 index 00000000000..fe67e6cb8a5 --- /dev/null +++ b/emulators/DatUtil/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ +# + +DISTNAME= dutil214 +PKGNAME= DatUtil-2.14 +CATEGORIES= emulation +MASTER_SITES= http://www.logiqx.com/Tools/DatUtil/ +EXTRACT_SUFX= .zip + +MAINTAINER= wiz@NetBSD.org +HOMEPAGE= http://www.logiqx.com/Tools/DatUtil/DatUtil.shtml +COMMENT= Create and convert emulator rom checksum files + +USE_BUILDLINK3= YES +USE_GNU_TOOLS+= make +WRKSRC= ${WRKDIR} +MAKEFILE= makefile +BUILD_TARGET= datutil + +post-extract: + ${MKDIR} ${WRKSRC}/obj + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/datutil ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/DatUtil + ${INSTALL_DATA} ${WRKSRC}/datutil.txt ${PREFIX}/share/doc/DatUtil + +.include "../../devel/zlib/buildlink3.mk" +.include "../../emulators/DatLib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/DatUtil/PLIST b/emulators/DatUtil/PLIST new file mode 100644 index 00000000000..a965e8fd78e --- /dev/null +++ b/emulators/DatUtil/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ +bin/datutil +share/doc/DatUtil/datutil.txt +@dirrm share/doc/DatUtil diff --git a/emulators/DatUtil/distinfo b/emulators/DatUtil/distinfo new file mode 100644 index 00000000000..86b11638c52 --- /dev/null +++ b/emulators/DatUtil/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ + +SHA1 (dutil214.zip) = 22392a9797fa7986d4ae35008375fe55f34e4eab +RMD160 (dutil214.zip) = 1b5edd53ce75f0e8386b507aef986673b27ee206 +Size (dutil214.zip) = 132739 bytes +SHA1 (patch-aa) = 213e8401442c241cd138f8148ef543cf46faf013 +SHA1 (patch-ab) = 81fdb02636842b4ee8f7e7260c45fb943346b4da diff --git a/emulators/DatUtil/patches/patch-aa b/emulators/DatUtil/patches/patch-aa new file mode 100644 index 00000000000..8179d281bf8 --- /dev/null +++ b/emulators/DatUtil/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:16.000000000 +0200 ++++ makefile +@@ -3,7 +3,7 @@ + #
+
+ NAME=datutil
+-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/DatUtil/patches/patch-ab b/emulators/DatUtil/patches/patch-ab new file mode 100644 index 00000000000..d38ee72bdbf --- /dev/null +++ b/emulators/DatUtil/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ + +--- src/datutil.c.orig 2005-02-22 21:04:44.000000000 +0100 ++++ src/datutil.c +@@ -21,13 +21,13 @@ +
+ /* --- 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/misc/getopt.h>
+
+
+ /* --- DatUtil definitions and macros --- */
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 --- */
diff --git a/emulators/Makefile b/emulators/Makefile index ecadbcee92c..c7ca17afa54 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -1,11 +1,17 @@ -# $NetBSD: Makefile,v 1.123 2005/01/15 17:00:43 kristerw Exp $ +# $NetBSD: Makefile,v 1.124 2005/03/04 12:06:22 wiz Exp $ # COMMENT= Emulators for other operating systems SUBDIR+= BasiliskII SUBDIR+= Cygne-SDL +SUBDIR+= DatLib +SUBDIR+= DatUtil +SUBDIR+= MAMEDiff SUBDIR+= NeoPop-SDL +SUBDIR+= ROMBuild +SUBDIR+= ROMInfo +SUBDIR+= ZIPIdent SUBDIR+= aliados SUBDIR+= aranym SUBDIR+= arcem diff --git a/emulators/ROMBuild/DESCR b/emulators/ROMBuild/DESCR new file mode 100644 index 00000000000..249a8c5389d --- /dev/null +++ b/emulators/ROMBuild/DESCR @@ -0,0 +1,12 @@ +ROMBuild is a ROM manipulation tool that is capable of creating +ROMs for the older arcade emus using MAME ones. An example of this +is by splitting ROMs in two or joining two together but ROMBuild +supports much more than this. It can can split, join, extract, +fill, patch, pad, interleave etc but to you the user that doesn't +really matter. The important thing is that MAME ROMs go in and ROMs +for another emulator come out. :) + +When used in conjunction with the CMPro/ROMCenter dats that I have +produced you can generate ROM sets for practically any emulator +from MAME ROMs. In fact, the only ROMs you can't generate from MAME +sets are where MAME doesn't support the game. diff --git a/emulators/ROMBuild/Makefile b/emulators/ROMBuild/Makefile new file mode 100644 index 00000000000..5c89581ec4e --- /dev/null +++ b/emulators/ROMBuild/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ +# + +DISTNAME= rbuild25 +PKGNAME= ROMBuild-2.5 +CATEGORIES= emulation +MASTER_SITES= http://www.logiqx.com/Tools/ROMBuild/ +EXTRACT_SUFX= .zip + +MAINTAINER= wiz@NetBSD.org +HOMEPAGE= http://www.logiqx.com/Tools/ROMBuild/ROMBuild.shtml +COMMENT= Arcade ROM manipulation tool + +USE_BUILDLINK3= YES +USE_GNU_TOOLS+= make +WRKSRC= ${WRKDIR} +MAKEFILE= makefile +BUILD_TARGET= rombuild + +post-extract: + ${MKDIR} ${WRKSRC}/obj + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/rombuild ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ROMBuild + ${INSTALL_DATA} ${WRKSRC}/rombuild.txt ${PREFIX}/share/doc/ROMBuild + +.include "../../devel/zlib/buildlink3.mk" +.include "../../emulators/DatLib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/ROMBuild/PLIST b/emulators/ROMBuild/PLIST new file mode 100644 index 00000000000..ee3b013b87a --- /dev/null +++ b/emulators/ROMBuild/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ +bin/rombuild +share/doc/ROMBuild/rombuild.txt +@dirrm share/doc/ROMBuild diff --git a/emulators/ROMBuild/distinfo b/emulators/ROMBuild/distinfo new file mode 100644 index 00000000000..002aa8a8233 --- /dev/null +++ b/emulators/ROMBuild/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ + +SHA1 (rbuild25.zip) = 25042f50ad727f001bba9777811d893fdbd59e41 +RMD160 (rbuild25.zip) = 7d718c268be64223afbe21d1f91a587b01861fc5 +Size (rbuild25.zip) = 107497 bytes +SHA1 (patch-aa) = db393d4c23106875be652c9f2118fab7edf5d35f +SHA1 (patch-ab) = e14b0892737292f6ca3d0907f70bbbe25a5f2559 +SHA1 (patch-ac) = 7149cce6e51000d8f86042368b7c777b7a8200cb diff --git a/emulators/ROMBuild/patches/patch-aa b/emulators/ROMBuild/patches/patch-aa new file mode 100644 index 00000000000..ab0ccf007e2 --- /dev/null +++ b/emulators/ROMBuild/patches/patch-aa @@ -0,0 +1,47 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ + +--- makefile.orig 2004-07-01 16:25:18.000000000 +0200 ++++ makefile +@@ -3,7 +3,7 @@ + #
+
+ NAME=rombuild
+-EXT=.exe
++EXT=
+ EXE=$(NAME)$(EXT)
+
+ SRC=src
+@@ -11,19 +11,17 @@ OBJ=obj
+
+ OBJDIRS=$(OBJ)
+
+-OBJS= $(DLOBJ)/misc/getopt.o \
+- $(DLOBJ)/mame/unzip.o \
+- $(DLOBJ)/mame/msdos/msdos.o \
+- $(OBJ)/$(NAME).o \
++OBJS= $(OBJ)/$(NAME).o \
+ $(OBJ)/rominfo.o
+
+ #
+ # 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
+@@ -52,8 +50,7 @@ $(OBJ)/rominfo.o: $(SRC)/rominfo.c $(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/ROMBuild/patches/patch-ab b/emulators/ROMBuild/patches/patch-ab new file mode 100644 index 00000000000..9fef4a0a37c --- /dev/null +++ b/emulators/ROMBuild/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ + +--- src/rombuild.c.orig 2005-01-30 12:19:54.000000000 +0100 ++++ src/rombuild.c +@@ -23,13 +23,13 @@ +
+ /* --- Dat library includes --- */
+
+-#include "datlib/src/macro.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"
+
+
+ /* --- ROMBuild definitions and macros --- */
diff --git a/emulators/ROMBuild/patches/patch-ac b/emulators/ROMBuild/patches/patch-ac new file mode 100644 index 00000000000..328c5c47801 --- /dev/null +++ b/emulators/ROMBuild/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ + +--- src/rombuild.h.orig 2005-01-02 22:50:32.000000000 +0100 ++++ src/rombuild.h +@@ -6,7 +6,7 @@ +
+ /* --- Dat library includes --- */
+
+-#include "datlib/src/macro.h"
++#include "DatLib/macro.h"
+
+
+ /* --- Types of ROMBuild operation --- */
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 --- */
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 --- */
|