Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

5
emulators/DatUtil/DESCR Normal file
View File

@@ -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.

View File

@@ -0,0 +1,33 @@
# $NetBSD: Makefile,v 1.26 2012/10/03 12:55:08 asau Exp $
#
DISTNAME= dutil232
PKGNAME= DatUtil-2.32
CATEGORIES= emulators
MASTER_SITES= http://www.logiqx.com/Tools/DatUtil/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.logiqx.com/Tools/DatUtil/DatUtil.php
COMMENT= Create and convert emulator rom checksum files
USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}
MAKE_FILE= makefile
BUILD_TARGET= datutil
EXTRACT_OPTS_ZIP= -aaqo
INSTALLATION_DIRS= bin
post-extract:
${MKDIR} ${WRKSRC}/obj
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/datutil ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/DatUtil
${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PREFIX}/share/doc/DatUtil
.include "../../devel/zlib/buildlink3.mk"
BUILDLINK_API_DEPENDS.DatLib+= DatLib>=2.21
.include "../../emulators/DatLib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

4
emulators/DatUtil/PLIST Normal file
View File

@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 17:51:00 joerg Exp $
bin/datutil
share/doc/DatUtil/readme.txt
share/doc/DatUtil/whatsnew.txt

View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.14 2011/11/29 06:14:03 sbd Exp $
SHA1 (dutil232.zip) = 2dc7e8b18b52635ce1ca0e5a03a9c0506f283747
RMD160 (dutil232.zip) = fa5b8a6cb826de0e236fe8c4a13a1fd4fa7156a9
Size (dutil232.zip) = 182386 bytes
SHA1 (patch-aa) = 1bdee3a21449038db09c381a1302585241c59acd
SHA1 (patch-ab) = 2926b8e6dda83ca30e20de6f27933a318a2db404

View File

@@ -0,0 +1,36 @@
$NetBSD: patch-aa,v 1.3 2011/11/29 06:14:03 sbd Exp $
--- makefile.orig 2005-02-24 09:39:16.000000000 +0000
+++ 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) $(LDFLAGS) $(OBJS) $(LIBS) -o $@ -ldatlib -lm -lz
#
# Complete removal of built objects

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-ab,v 1.2 2005/03/14 16:20:58 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 --- */