summaryrefslogtreecommitdiff
path: root/emulators/DatUtil
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/DatUtil
parentbb237e1daa2d293f24e58faa6f107ec5ffa66742 (diff)
downloadpkgsrc-f454d6899a6f33ea35701a4dfab2679b02c98798.tar.gz
Add some ROM-, mostly arcade-(MAME-)related tools from www.logiqx.com.
Diffstat (limited to 'emulators/DatUtil')
-rw-r--r--emulators/DatUtil/DESCR5
-rw-r--r--emulators/DatUtil/Makefile30
-rw-r--r--emulators/DatUtil/PLIST4
-rw-r--r--emulators/DatUtil/distinfo7
-rw-r--r--emulators/DatUtil/patches/patch-aa36
-rw-r--r--emulators/DatUtil/patches/patch-ab21
6 files changed, 103 insertions, 0 deletions
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 --- */