add gnuboy
A Nintendo GameBoy emulator
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
SUBDIR += fmsx
|
||||
SUBDIR += freesci
|
||||
SUBDIR += frodo
|
||||
SUBDIR += gnuboy
|
||||
SUBDIR += gsnes9x
|
||||
SUBDIR += hfs
|
||||
SUBDIR += hfsutils
|
||||
|
||||
33
emulators/gnuboy/Makefile
Normal file
33
emulators/gnuboy/Makefile
Normal 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>
|
||||
1
emulators/gnuboy/distinfo
Normal file
1
emulators/gnuboy/distinfo
Normal file
@@ -0,0 +1 @@
|
||||
MD5 (gnuboy-0.9.8.tar.gz) = f8824f32e34939ef5a97781c8a960567
|
||||
19
emulators/gnuboy/files/patch-configure.in
Normal file
19
emulators/gnuboy/files/patch-configure.in
Normal 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)
|
||||
1
emulators/gnuboy/pkg-comment
Normal file
1
emulators/gnuboy/pkg-comment
Normal file
@@ -0,0 +1 @@
|
||||
Nintendo GameBoy emulator
|
||||
6
emulators/gnuboy/pkg-descr
Normal file
6
emulators/gnuboy/pkg-descr
Normal 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/
|
||||
3
emulators/gnuboy/pkg-plist
Normal file
3
emulators/gnuboy/pkg-plist
Normal file
@@ -0,0 +1,3 @@
|
||||
bin/sdlgnuboy
|
||||
bin/sgnuboy
|
||||
bin/xgnuboy
|
||||
Reference in New Issue
Block a user