From 083a812d64bf674c052534caca03660e2797db6b Mon Sep 17 00:00:00 2001 From: jolan Date: Wed, 3 May 2006 00:01:44 +0000 Subject: [PATCH] generator-0.35r2, sega genesis emulator --- emulators/generator/Makefile | 42 +++++++++++++++++++++++++++++++++++ emulators/generator/distinfo | 4 ++++ emulators/generator/pkg/DESCR | 3 +++ emulators/generator/pkg/PLIST | 2 ++ 4 files changed, 51 insertions(+) create mode 100644 emulators/generator/Makefile create mode 100644 emulators/generator/distinfo create mode 100644 emulators/generator/pkg/DESCR create mode 100644 emulators/generator/pkg/PLIST diff --git a/emulators/generator/Makefile b/emulators/generator/Makefile new file mode 100644 index 00000000000..898cfc02be6 --- /dev/null +++ b/emulators/generator/Makefile @@ -0,0 +1,42 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2006/05/03 00:01:44 jolan Exp $ +# XXX hardcoded endian list + +COMMENT= "sega genesis emulator" +DISTNAME= generator-0.35-cbiere-r2 +PKGNAME= generator-0.35r2 +EXTRACT_SUFX= .tar.bz2 +CATEGORIES= emulators +MASTER_SITES= ${HOMEPAGE} + +HOMEPAGE= http://www.ghostwhitecrab.de/generator/ + +# GPL + custom licenses for CPU emulators +PERMIT_DISTFILES_CDROM= "can't sell" +PERMIT_DISTFILES_FTP= Yes +PERMIT_PACKAGE_CDROM= "can't sell" +PERMIT_PACKAGE_FTP= Yes + +LIB_DEPENDS+= bz2.10::archivers/bzip2 \ + SDL.6::devel/sdl \ + jpeg.62::graphics/jpeg + +WANTLIB= ICE SM X11 Xext c m pthread usbhid z + +CONFIGURE_STYLE=gnu +CONFIGURE_ARGS+=--with-sdl --with-sdl-audio --without-gcc +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +.if (!${MACHINE_ARCH} == "alpha" && !${MACHINE_ARCH} == "amd64" && \ + !${MACHINE_ARCH} == "arm" && !${MACHINE_ARCH} == "i386" && \ + !${MACHINE_ARCH} == "vax") +CFLAGS+=-DBYTES_HIGHFIRST +.endif + +.if ${MACHINE_ARCH} == "i386" +BUILD_DEPENDS+= ::devel/nasm +CONFIGURE_ARGS+=--with-raze +.else +CONFIGURE_ARGS+=--with-cmz80 +.endif + +.include diff --git a/emulators/generator/distinfo b/emulators/generator/distinfo new file mode 100644 index 00000000000..bed582a46f1 --- /dev/null +++ b/emulators/generator/distinfo @@ -0,0 +1,4 @@ +MD5 (generator-0.35-cbiere-r2.tar.bz2) = 2076c20e0ad1b20d9ac15cab8cb12ad5 +RMD160 (generator-0.35-cbiere-r2.tar.bz2) = 394145e32f3bf61ac4ed5fa21d2873978c5bd341 +SHA1 (generator-0.35-cbiere-r2.tar.bz2) = bb329925298ef7a087601e61f570af8d4e615915 +SIZE (generator-0.35-cbiere-r2.tar.bz2) = 446101 diff --git a/emulators/generator/pkg/DESCR b/emulators/generator/pkg/DESCR new file mode 100644 index 00000000000..f39a26b17ac --- /dev/null +++ b/emulators/generator/pkg/DESCR @@ -0,0 +1,3 @@ +Generator is an open source emulator designed to emulate the Sega +Genesis / Mega Drive console, a popular games machine produced in the +early 1990s. diff --git a/emulators/generator/pkg/PLIST b/emulators/generator/pkg/PLIST new file mode 100644 index 00000000000..f2bc922e8a9 --- /dev/null +++ b/emulators/generator/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2006/05/03 00:01:45 jolan Exp $ +bin/generator-sdl