From 193bf9374c023e81ab971471067aee4bba3cdeaf Mon Sep 17 00:00:00 2001 From: landry Date: Wed, 8 Dec 2010 19:58:04 +0000 Subject: [PATCH] Import gambatte 0.4.1: Gambatte is an accuracy-focused, cross-platform Game Boy Color emulator. It is based on hundreds of corner case hardware tests, as well as previous documentation and reverse engineering efforts. From Anthony J. Bentley on ports@ --- emulators/gambatte/Makefile | 36 ++++++++++++++++++++++++++++++++++++ emulators/gambatte/distinfo | 5 +++++ emulators/gambatte/pkg/DESCR | 3 +++ emulators/gambatte/pkg/PLIST | 3 +++ 4 files changed, 47 insertions(+) create mode 100644 emulators/gambatte/Makefile create mode 100644 emulators/gambatte/distinfo create mode 100644 emulators/gambatte/pkg/DESCR create mode 100644 emulators/gambatte/pkg/PLIST diff --git a/emulators/gambatte/Makefile b/emulators/gambatte/Makefile new file mode 100644 index 00000000000..1e6f02b3c28 --- /dev/null +++ b/emulators/gambatte/Makefile @@ -0,0 +1,36 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2010/12/08 19:58:04 landry Exp $ + +COMMENT = highly accurate Game Boy Color emulator + +V = 0.4.1 +DISTNAME = gambatte_src-${V} +PKGNAME = gambatte-${V} + +CATEGORIES = emulators + +HOMEPAGE = http://gambatte.sourceforge.net/ + +# GPLv2 +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM =Yes +PERMIT_DISTFILES_FTP = Yes + +WANTLIB += c m pthread stdc++ z SDL + +MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=gambatte/} + +MODULES = devel/scons +LIB_DEPENDS = devel/sdl + + +do-build: + ${MODSCONS_BIN} -C ${WRKDIST}/libgambatte + ${MODSCONS_BIN} -C ${WRKDIST}/gambatte_sdl + +do-install: + ${INSTALL_PROGRAM} ${WRKDIST}/gambatte_sdl/gambatte_sdl ${PREFIX}/bin + ${INSTALL_MAN} ${WRKDIST}/gambatte_sdl/man/gambatte_sdl.6 \ + ${PREFIX}/man/man6 + +.include diff --git a/emulators/gambatte/distinfo b/emulators/gambatte/distinfo new file mode 100644 index 00000000000..4d275846739 --- /dev/null +++ b/emulators/gambatte/distinfo @@ -0,0 +1,5 @@ +MD5 (gambatte_src-0.4.1.tar.gz) = z+UsM7uy5xmpV73mRCehjA== +RMD160 (gambatte_src-0.4.1.tar.gz) = KwmXFJjI9HTHHF5Ty69ETfhLKPg= +SHA1 (gambatte_src-0.4.1.tar.gz) = E3RyC5ytNbLaziCCK/m0suoNIFk= +SHA256 (gambatte_src-0.4.1.tar.gz) = QQAg7rZHjPdwfmQg8j0il7WOSo7LQHb4S0uTIKZwpLs= +SIZE (gambatte_src-0.4.1.tar.gz) = 263391 diff --git a/emulators/gambatte/pkg/DESCR b/emulators/gambatte/pkg/DESCR new file mode 100644 index 00000000000..1e476875076 --- /dev/null +++ b/emulators/gambatte/pkg/DESCR @@ -0,0 +1,3 @@ +Gambatte is an accuracy-focused, cross-platform Game Boy Color emulator. +It is based on hundreds of corner case hardware tests, as well as +previous documentation and reverse engineering efforts. diff --git a/emulators/gambatte/pkg/PLIST b/emulators/gambatte/pkg/PLIST new file mode 100644 index 00000000000..aea71b01723 --- /dev/null +++ b/emulators/gambatte/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2010/12/08 19:58:04 landry Exp $ +@bin bin/gambatte_sdl +@man man/man6/gambatte_sdl.6