From f79cca4f452178bca952169111dd1b44f1b2fd36 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Wed, 3 Dec 2003 23:34:46 +0000 Subject: Initial import of vba-1.6a from pkgsrc-wip, packaged by Soren Jacobsen. Visual Boy Advance is a Gameboy Advance emulator. --- emulators/vba/DESCR | 1 + emulators/vba/Makefile | 32 ++++++++++++++++++++++++++++++++ emulators/vba/PLIST | 5 +++++ emulators/vba/distinfo | 5 +++++ emulators/vba/patches/patch-aa | 20 ++++++++++++++++++++ 5 files changed, 63 insertions(+) create mode 100644 emulators/vba/DESCR create mode 100644 emulators/vba/Makefile create mode 100644 emulators/vba/PLIST create mode 100644 emulators/vba/distinfo create mode 100644 emulators/vba/patches/patch-aa (limited to 'emulators/vba') diff --git a/emulators/vba/DESCR b/emulators/vba/DESCR new file mode 100644 index 00000000000..487f1e03deb --- /dev/null +++ b/emulators/vba/DESCR @@ -0,0 +1 @@ +Visual Boy Advance is a Gameboy Advance emulator. diff --git a/emulators/vba/Makefile b/emulators/vba/Makefile new file mode 100644 index 00000000000..235c61baa66 --- /dev/null +++ b/emulators/vba/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/12/03 23:34:46 xtraeme Exp $ + +DISTNAME= VisualBoyAdvance-src-1.6a +PKGNAME= vba-1.6.0.1 +WRKSRC= ${WRKDIR}/VisualBoyAdvance-1.6a +CATEGORIES= emulators +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vba/} +EXTRACT_SUFX= .zip + +MAINTAINER= snj@pobox.com +HOMEPAGE= http://vboy.emuhq.com/ +COMMENT= Gameboy advance emulator + +USE_GMAKE= yes +USE_BUILDLINK2= yes +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --enable-c-core +CONFIGURE_ARGS+= --without-mmx + +GCC_REQD= 3.0.0 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/TestEmu ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/src/VisualBoyAdvance ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vba + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/vba + +.include "../../devel/SDL/buildlink2.mk" +.include "../../graphics/png/buildlink2.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/vba/PLIST b/emulators/vba/PLIST new file mode 100644 index 00000000000..180dda84b98 --- /dev/null +++ b/emulators/vba/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/03 23:34:46 xtraeme Exp $ +bin/TestEmu +bin/VisualBoyAdvance +share/doc/vba/README +@dirrm share/doc/vba diff --git a/emulators/vba/distinfo b/emulators/vba/distinfo new file mode 100644 index 00000000000..84cc482c7f2 --- /dev/null +++ b/emulators/vba/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/12/03 23:34:46 xtraeme Exp $ + +SHA1 (VisualBoyAdvance-src-1.6a.zip) = 81e6763d0a7f9cadfedfb8053fea5f5a9028916a +Size (VisualBoyAdvance-src-1.6a.zip) = 1206080 bytes +SHA1 (patch-aa) = 75a970fb59926a299830c2823c5094ff56523ee7 diff --git a/emulators/vba/patches/patch-aa b/emulators/vba/patches/patch-aa new file mode 100644 index 00000000000..83037172ec7 --- /dev/null +++ b/emulators/vba/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/12/03 23:34:46 xtraeme Exp $ + +--- src/unzip.h.orig Sun Oct 20 06:03:12 2002 ++++ src/unzip.h Mon Jun 30 23:45:30 2003 +@@ -67,6 +67,15 @@ + #include "zlib.h" + #endif + ++// nasty stuff taken from win32/include/zlib/zconf.h to make this compile ++#ifndef OF /* function prototypes */ ++# ifdef STDC ++# define OF(args) args ++# else ++# define OF(args) () ++# endif ++#endif ++ + #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP) + /* like the STRICT of WIN32, we define a pointer that cannot be converted + from (void*) without cast */ -- cgit v1.2.3