diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2003-12-03 23:34:46 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2003-12-03 23:34:46 +0000 |
commit | 742ce1a2a66f0ce8b03e26c78b6c07de7efa3931 (patch) | |
tree | c1f9d57a9e1d267e6d861edc3d045331a55fc3c3 /emulators | |
parent | 8c0cb5a59b80d5ae376fbd822848701b3a7034c7 (diff) | |
download | pkgsrc-742ce1a2a66f0ce8b03e26c78b6c07de7efa3931.tar.gz |
Initial import of vba-1.6a from pkgsrc-wip, packaged by Soren Jacobsen.
Visual Boy Advance is a Gameboy Advance emulator.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/vba/DESCR | 1 | ||||
-rw-r--r-- | emulators/vba/Makefile | 32 | ||||
-rw-r--r-- | emulators/vba/PLIST | 5 | ||||
-rw-r--r-- | emulators/vba/distinfo | 5 | ||||
-rw-r--r-- | emulators/vba/patches/patch-aa | 20 |
5 files changed, 63 insertions, 0 deletions
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 */ |