pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Add some ROM-, mostly arcade-(MAME-)related tools from...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c252056fa72b
branches:  trunk
changeset: 490154:c252056fa72b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Mar 04 12:05:12 2005 +0000

description:
Add some ROM-, mostly arcade-(MAME-)related tools from www.logiqx.com.

diffstat:

 doc/CHANGES                         |   8 +++++-
 emulators/DatLib/DESCR              |   4 +++
 emulators/DatLib/Makefile           |  36 +++++++++++++++++++++++++++
 emulators/DatLib/PLIST              |  19 ++++++++++++++
 emulators/DatLib/buildlink3.mk      |  18 +++++++++++++
 emulators/DatLib/distinfo           |   6 ++++
 emulators/DatLib/patches/patch-aa   |  48 +++++++++++++++++++++++++++++++++++++
 emulators/DatUtil/DESCR             |   5 +++
 emulators/DatUtil/Makefile          |  30 +++++++++++++++++++++++
 emulators/DatUtil/PLIST             |   4 +++
 emulators/DatUtil/distinfo          |   7 +++++
 emulators/DatUtil/patches/patch-aa  |  36 +++++++++++++++++++++++++++
 emulators/DatUtil/patches/patch-ab  |  21 ++++++++++++++++
 emulators/MAMEDiff/DESCR            |   9 ++++++
 emulators/MAMEDiff/Makefile         |  30 +++++++++++++++++++++++
 emulators/MAMEDiff/PLIST            |   4 +++
 emulators/MAMEDiff/distinfo         |   9 ++++++
 emulators/MAMEDiff/patches/patch-aa |  36 +++++++++++++++++++++++++++
 emulators/MAMEDiff/patches/patch-ab |  19 ++++++++++++++
 emulators/MAMEDiff/patches/patch-ac |  15 +++++++++++
 emulators/MAMEDiff/patches/patch-ad |  15 +++++++++++
 emulators/Makefile                  |   8 +++++-
 emulators/ROMBuild/DESCR            |  12 +++++++++
 emulators/ROMBuild/Makefile         |  30 +++++++++++++++++++++++
 emulators/ROMBuild/PLIST            |   4 +++
 emulators/ROMBuild/distinfo         |   8 ++++++
 emulators/ROMBuild/patches/patch-aa |  47 ++++++++++++++++++++++++++++++++++++
 emulators/ROMBuild/patches/patch-ab |  21 ++++++++++++++++
 emulators/ROMBuild/patches/patch-ac |  13 ++++++++++
 emulators/ROMInfo/DESCR             |   3 ++
 emulators/ROMInfo/Makefile          |  30 +++++++++++++++++++++++
 emulators/ROMInfo/PLIST             |   4 +++
 emulators/ROMInfo/distinfo          |   7 +++++
 emulators/ROMInfo/patches/patch-aa  |  36 +++++++++++++++++++++++++++
 emulators/ROMInfo/patches/patch-ab  |  23 +++++++++++++++++
 emulators/ZIPIdent/DESCR            |  12 +++++++++
 emulators/ZIPIdent/Makefile         |  30 +++++++++++++++++++++++
 emulators/ZIPIdent/PLIST            |   4 +++
 emulators/ZIPIdent/distinfo         |   7 +++++
 emulators/ZIPIdent/patches/patch-aa |  36 +++++++++++++++++++++++++++
 emulators/ZIPIdent/patches/patch-ab |  23 +++++++++++++++++
 41 files changed, 735 insertions(+), 2 deletions(-)

diffs (truncated from 918 to 300 lines):

diff -r efedda80a3c3 -r c252056fa72b doc/CHANGES
--- a/doc/CHANGES       Fri Mar 04 07:12:48 2005 +0000
+++ b/doc/CHANGES       Fri Mar 04 12:05:12 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.9414 2005/03/03 22:44:43 agc Exp $
+$NetBSD: CHANGES,v 1.9415 2005/03/04 12:07:15 wiz Exp $
 
 Changes to the packages collection and infrastructure in 2005:
 
@@ -1262,3 +1262,9 @@
        Updated anthy to 6300 [taya 2005-03-03]
        Updated vte to 0.11.12 [jmmv 2005-03-03]
        Updated gpg2dot to 1.4 [agc 2005-03-03]
+       Added DatLib-2.2 [wiz 2005-03-04]
+       Added DatUtil-2.14 [wiz 2005-03-04]
+       Added MAMEDiff-2.16 [wiz 2005-03-04]
+       Added ROMBuild-2.5 [wiz 2005-03-04]
+       Added ROMInfo-2.3 [wiz 2005-03-04]
+       Added ZIPIdent-2.4 [wiz 2005-03-04]
diff -r efedda80a3c3 -r c252056fa72b emulators/DatLib/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/DatLib/DESCR    Fri Mar 04 12:05:12 2005 +0000
@@ -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 -r efedda80a3c3 -r c252056fa72b emulators/DatLib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/DatLib/Makefile Fri Mar 04 12:05:12 2005 +0000
@@ -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@localhost
+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 -r efedda80a3c3 -r c252056fa72b emulators/DatLib/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/DatLib/PLIST    Fri Mar 04 12:05:12 2005 +0000
@@ -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 -r efedda80a3c3 -r c252056fa72b emulators/DatLib/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/DatLib/buildlink3.mk    Fri Mar 04 12:05:12 2005 +0000
@@ -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 -r efedda80a3c3 -r c252056fa72b emulators/DatLib/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/DatLib/distinfo Fri Mar 04 12:05:12 2005 +0000
@@ -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 -r efedda80a3c3 -r c252056fa72b emulators/DatLib/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/DatLib/patches/patch-aa Fri Mar 04 12:05:12 2005 +0000
@@ -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 -r efedda80a3c3 -r c252056fa72b emulators/DatUtil/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/DatUtil/DESCR   Fri Mar 04 12:05:12 2005 +0000
@@ -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 -r efedda80a3c3 -r c252056fa72b emulators/DatUtil/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/DatUtil/Makefile        Fri Mar 04 12:05:12 2005 +0000
@@ -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@localhost
+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 -r efedda80a3c3 -r c252056fa72b emulators/DatUtil/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/DatUtil/PLIST   Fri Mar 04 12:05:12 2005 +0000
@@ -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 -r efedda80a3c3 -r c252056fa72b emulators/DatUtil/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/DatUtil/distinfo        Fri Mar 04 12:05:12 2005 +0000
@@ -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 -r efedda80a3c3 -r c252056fa72b emulators/DatUtil/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/DatUtil/patches/patch-aa        Fri Mar 04 12:05:12 2005 +0000
@@ -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 -r efedda80a3c3 -r c252056fa72b emulators/DatUtil/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/DatUtil/patches/patch-ab        Fri Mar 04 12:05:12 2005 +0000
@@ -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>
+ 
+ 



Home | Main Index | Thread Index | Old Index