diff options
author | tv <tv@pkgsrc.org> | 2005-07-26 04:12:22 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-07-26 04:12:22 +0000 |
commit | 09d6fdface2499da257dcadc070e4bc19e5153ec (patch) | |
tree | ffb199e475b1e77c2f54f7bf389de956875c5cc7 /emulators/ucon64 | |
parent | ba254c5a6884783d18a6e873307e0fbf9e2f428f (diff) | |
download | pkgsrc-09d6fdface2499da257dcadc070e4bc19e5153ec.tar.gz |
ucon64-2.0.0, an emulation ROM image manipulation tool. From DESCR:
=====
uCON64 - THE tool for all your video game console concerns.
- Support for 14+ different cartridge and disc-based video game console system
- Support for ALL common patch file formats like: IPS *), APS, BSL, PPF and
Game Genie
*) with RLE compression
- Support for 10+ different backup units to backup/restore ROM(s), disc(s) and
SRAM(s) like: Flash Advance Linker, Flash 2 Advance, Doctor V64 (Junior),
Super Wild Card, Game Doctor, Dexdrive, Super Magic Drive, Game Boy Xchanger
Mad Catz Camera Link, Lynxit, MD-PRO, SMS-PRO, PCE-PRO, GG-PRO, Super Flash
and your CD-writer.
Including:
*VERY* verbose ROM information for ALL systems, detection of bad dumps using
internal checksums or DAT files, CRC32 calculation, ROM comparison,
modification (strip, pad, etc...), SRAM conversion (emulator <-> backup
unit), DiscJuggler and Nero image conversions, complete gzip and zip support
for all file-related funtions, etc...
Diffstat (limited to 'emulators/ucon64')
-rw-r--r-- | emulators/ucon64/DESCR | 18 | ||||
-rw-r--r-- | emulators/ucon64/Makefile | 34 | ||||
-rw-r--r-- | emulators/ucon64/PLIST | 40 | ||||
-rw-r--r-- | emulators/ucon64/distinfo | 8 | ||||
-rw-r--r-- | emulators/ucon64/options.mk | 17 | ||||
-rw-r--r-- | emulators/ucon64/patches/patch-aa | 24 | ||||
-rw-r--r-- | emulators/ucon64/patches/patch-ab | 13 | ||||
-rw-r--r-- | emulators/ucon64/patches/patch-ac | 14 |
8 files changed, 168 insertions, 0 deletions
diff --git a/emulators/ucon64/DESCR b/emulators/ucon64/DESCR new file mode 100644 index 00000000000..11bbac6446a --- /dev/null +++ b/emulators/ucon64/DESCR @@ -0,0 +1,18 @@ +uCON64 - THE tool for all your video game console concerns. + +- Support for 14+ different cartridge and disc-based video game console system +- Support for ALL common patch file formats like: IPS *), APS, BSL, PPF and + Game Genie + *) with RLE compression +- Support for 10+ different backup units to backup/restore ROM(s), disc(s) and + SRAM(s) like: Flash Advance Linker, Flash 2 Advance, Doctor V64 (Junior), + Super Wild Card, Game Doctor, Dexdrive, Super Magic Drive, Game Boy Xchanger + Mad Catz Camera Link, Lynxit, MD-PRO, SMS-PRO, PCE-PRO, GG-PRO, Super Flash + and your CD-writer. + + Including: + *VERY* verbose ROM information for ALL systems, detection of bad dumps using + internal checksums or DAT files, CRC32 calculation, ROM comparison, + modification (strip, pad, etc...), SRAM conversion (emulator <-> backup + unit), DiscJuggler and Nero image conversions, complete gzip and zip support + for all file-related funtions, etc... diff --git a/emulators/ucon64/Makefile b/emulators/ucon64/Makefile new file mode 100644 index 00000000000..903b34b1b99 --- /dev/null +++ b/emulators/ucon64/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $ +# + +DISTNAME= ucon64-2.0.0-src +PKGNAME= ${DISTNAME:S/-src//} +CATEGORIES= emulators +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ucon64/} + +MAINTAINER= tv@duh.org +HOMEPAGE= http://ucon64.sourceforge.net/ +COMMENT= Emulator ROM and disk image converter and inspector + +WRKSRC= ${WRKDIR}/${DISTNAME}/src + +CONFIGURE_ARGS+= --disable-discmage # requires some work +CONFIGURE_ARGS+= --disable-dload +CPPFLAGS+= -D__unix__ +GNU_CONFIGURE= yes +USE_TOOLS+= gmake + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/ucon64 ${PREFIX}/bin/ + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ucon64 + ${INSTALL_DATA} ${WRKSRC}/[a-z]*.txt ${PREFIX}/share/examples/ucon64/ + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ucon64 \ + ${PREFIX}/share/doc/ucon64/images + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/*.html \ + ${PREFIX}/share/doc/ucon64/ + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/images/* \ + ${PREFIX}/share/doc/ucon64/images/ + +.include "options.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/ucon64/PLIST b/emulators/ucon64/PLIST new file mode 100644 index 00000000000..87b32052435 --- /dev/null +++ b/emulators/ucon64/PLIST @@ -0,0 +1,40 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $ +bin/ucon64 +share/doc/ucon64/changes.html +share/doc/ucon64/developers.html +share/doc/ucon64/faq.html +share/doc/ucon64/hardware.html +share/doc/ucon64/images/bg.jpg +share/doc/ucon64/images/cameralink.png +share/doc/ucon64/images/cd_rw.png +share/doc/ucon64/images/dexdrive.png +share/doc/ucon64/images/f2a.png +share/doc/ucon64/images/fal.png +share/doc/ucon64/images/fig.png +share/doc/ucon64/images/gbx.png +share/doc/ucon64/images/ggpro.png +share/doc/ucon64/images/hr.png +share/doc/ucon64/images/icon.png +share/doc/ucon64/images/logo.png +share/doc/ucon64/images/mdpro.png +share/doc/ucon64/images/msg.png +share/doc/ucon64/images/pcepro.png +share/doc/ucon64/images/sf3.png +share/doc/ucon64/images/smc.png +share/doc/ucon64/images/smd.png +share/doc/ucon64/images/smspro.png +share/doc/ucon64/images/swc.png +share/doc/ucon64/images/v64.png +share/doc/ucon64/images/v64jr.png +share/doc/ucon64/install.html +share/doc/ucon64/license.html +share/doc/ucon64/readme.html +share/examples/ucon64/genpal.txt +share/examples/ucon64/mdntsc.txt +share/examples/ucon64/snescopy.txt +share/examples/ucon64/snesntsc.txt +share/examples/ucon64/snespal.txt +share/examples/ucon64/snesslow.txt +@dirrm share/examples/ucon64 +@dirrm share/doc/ucon64/images +@dirrm share/doc/ucon64 diff --git a/emulators/ucon64/distinfo b/emulators/ucon64/distinfo new file mode 100644 index 00000000000..96b6e937525 --- /dev/null +++ b/emulators/ucon64/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $ + +SHA1 (ucon64-2.0.0-src.tar.gz) = 8782bbc2bf5760fafe3fa4cd02b67991d984a973 +RMD160 (ucon64-2.0.0-src.tar.gz) = c28921cfae1a010db917b96be542c089690b374c +Size (ucon64-2.0.0-src.tar.gz) = 1188488 bytes +SHA1 (patch-aa) = fd1543314b6ca6d432c6d88b8b7590085dfc51e9 +SHA1 (patch-ab) = 25f5311844511674d5e64efe7c35cf86dacc34a9 +SHA1 (patch-ac) = 9c7febe59e1c8e6959f56e34ced83a31fa54c294 diff --git a/emulators/ucon64/options.mk b/emulators/ucon64/options.mk new file mode 100644 index 00000000000..4cfda48f557 --- /dev/null +++ b/emulators/ucon64/options.mk @@ -0,0 +1,17 @@ +# $NetBSD: options.mk,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.ucon64 +PKG_SUPPORTED_OPTIONS= libusb + +.include "../../mk/bsd.options.mk" + +### +### Build with USB support. +### +.if !empty(PKG_OPTIONS:Mlibusb) +CONFIGURE_ARGS+= --with-libusb +CPPFLAGS+= -I${BUILDLINK_PREFIX.libusb}/include +LDFLAGS+= -L${BUILDLINK_PREFIX.libusb}/lib +LDFLAGS+= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libusb}/lib +. include "../../devel/libusb/buildlink3.mk" +.endif diff --git a/emulators/ucon64/patches/patch-aa b/emulators/ucon64/patches/patch-aa new file mode 100644 index 00000000000..9b67c6be9af --- /dev/null +++ b/emulators/ucon64/patches/patch-aa @@ -0,0 +1,24 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $ + +--- Makefile.in.orig 2004-09-05 10:32:27.000000000 -0400 ++++ Makefile.in +@@ -7,8 +7,8 @@ + @DEFINE_LIBCD64_MAKE@ + + CC=@CC@ +-CFLAGS=-I. -Wall -W -O3 @DEFS@ +-LDFLAGS=-s ++CFLAGS=-I. -Wall -W @CPPFLAGS@ @CFLAGS@ @DEFS@ ++LDFLAGS=@LDFLAGS@ + TARGETS= + + ifdef USE_DISCMAGE +@@ -76,7 +76,7 @@ endif + else # DLOPEN + ifdef USE_DISCMAGE # GNU specific: "simply expanded variable" + FULLLIBNAME_DM:=$(addprefix lib,$(FULLLIBNAME_DM)) +-LDFLAGS+=-Llibdiscmage -l$(LIBNAME_DM) ++LDFLAGS+=-Llibdiscmage -l$(LIBNAME_DM) -lm + endif + + endif diff --git a/emulators/ucon64/patches/patch-ab b/emulators/ucon64/patches/patch-ab new file mode 100644 index 00000000000..9685937a32a --- /dev/null +++ b/emulators/ucon64/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $ + +--- libdiscmage/libdiscmage.h.orig 2005-07-25 18:00:47.000000000 -0400 ++++ libdiscmage/libdiscmage.h +@@ -28,7 +28,7 @@ extern "C" { + + #include <stdio.h> // FILENAME_MAX + +-#if defined __linux__ || defined __FreeBSD__ || defined __OpenBSD__ || \ ++#if defined __linux__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ || \ + defined __solaris__ || defined __MINGW32__ || defined __CYGWIN__ || \ + defined __BEOS__ || defined AMIGA || defined __APPLE__ // Mac OS X actually + // We cannot use config.h (for HAVE_INTTYPES_H), because this header file may be diff --git a/emulators/ucon64/patches/patch-ac b/emulators/ucon64/patches/patch-ac new file mode 100644 index 00000000000..d6aaabe6ca3 --- /dev/null +++ b/emulators/ucon64/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $ + +--- misc/unzip.h.orig 2004-07-28 13:27:22.000000000 -0400 ++++ misc/unzip.h +@@ -48,6 +48,9 @@ extern "C" { + #ifndef _ZLIB_H + #include "zlib.h" + #endif ++#ifndef OF ++#define OF(x) x ++#endif + + #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP) + /* like the STRICT of WIN32, we define a pointer that cannot be converted |