add gnuboy

A Nintendo GameBoy emulator
This commit is contained in:
Ying-Chieh Liao
2001-03-12 06:10:25 +00:00
parent 56fc610d10
commit 7aff969448
7 changed files with 64 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
SUBDIR += fmsx
SUBDIR += freesci
SUBDIR += frodo
SUBDIR += gnuboy
SUBDIR += gsnes9x
SUBDIR += hfs
SUBDIR += hfsutils

33
emulators/gnuboy/Makefile Normal file
View File

@@ -0,0 +1,33 @@
# ex:ts=8
# New ports collection makefile for: gnuboy
# Date created: Mar 11, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gnuboy
PORTVERSION= 0.9.8
CATEGORIES= emulators games
MASTER_SITES= http://www.starfox.org/gnuboy/distrib/
MAINTAINER= ijliao@FreeBSD.org
LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib \
SDL-1.1.3:${PORTSDIR}/devel/sdl-devel
USE_XLIB= yes
USE_AUTOCONF= yes
GNU_CONFIGURE= yes
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
CONFIGURE_ENV= SDL_CONFIG=${SDL_CONFIG} \
CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ARGS= --with-sdl
post-patch:
.for file in sys/sdl/sdl.c sys/sdl/keymap.c
@${PERL} -pi -e "s|SDL/|SDL11/|g" ${WRKSRC}/${file}
.endfor
.include <bsd.port.mk>

View File

@@ -0,0 +1 @@
MD5 (gnuboy-0.9.8.tar.gz) = f8824f32e34939ef5a97781c8a960567

View File

@@ -0,0 +1,19 @@
--- configure.in.orig Sun Mar 11 15:13:27 2001
+++ configure.in Sun Mar 11 15:18:58 2001
@@ -79,12 +79,12 @@
if test "$with_sdl" != "no" ; then
AC_CHECK_PROG(SDL_CONFIG, sdl-config, yes)
if test "$SDL_CONFIG" ; then
-SDL_LIBS="`sdl-config --libs`"
-SDL_CFLAGS="`sdl-config --cflags`"
+SDL_LIBS="`$SDL_CONFIG --libs`"
+SDL_CFLAGS="`$SDL_CONFIG --cflags`"
old_incs="$INCS"
INCS="$INCS $SDL_CFLAGS"
-AC_CHECK_LIB(SDL, SDL_Init, [
-AC_CHECK_HEADERS(SDL/SDL.h, ,[
+AC_CHECK_LIB(SDL-1.1, SDL_Init, [
+AC_CHECK_HEADERS(SDL11/SDL.h, ,[
AC_MSG_WARN(SDL found but headers are missing!!)
with_sdl=no
])], [with_sdl=no], $SDL_LIBS)

View File

@@ -0,0 +1 @@
Nintendo GameBoy emulator

View File

@@ -0,0 +1,6 @@
gnuboy is a portable program for emulating the Nintendo GameBoy Color
software platform
You can find public domain ROMs at SubPort.org
WWW: http://www.starfox.org/gnuboy/

View File

@@ -0,0 +1,3 @@
bin/sdlgnuboy
bin/sgnuboy
bin/xgnuboy