diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-03-12 06:10:25 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-03-12 06:10:25 +0000 |
commit | 7aff9694481d424a4b1f51eddbb945c9c8fdf815 (patch) | |
tree | 68fc9bdcfd67d8fe604419c5d96aba6886f900e2 /emulators/gnuboy | |
parent | 56fc610d1029097ee163d736239fdb0a238468f7 (diff) | |
download | ports-7aff9694481d424a4b1f51eddbb945c9c8fdf815.tar.gz ports-7aff9694481d424a4b1f51eddbb945c9c8fdf815.zip |
add gnuboy
A Nintendo GameBoy emulator
Notes
Notes:
svn path=/head/; revision=39621
Diffstat (limited to 'emulators/gnuboy')
-rw-r--r-- | emulators/gnuboy/Makefile | 33 | ||||
-rw-r--r-- | emulators/gnuboy/distinfo | 1 | ||||
-rw-r--r-- | emulators/gnuboy/files/patch-configure.in | 19 | ||||
-rw-r--r-- | emulators/gnuboy/pkg-comment | 1 | ||||
-rw-r--r-- | emulators/gnuboy/pkg-descr | 6 | ||||
-rw-r--r-- | emulators/gnuboy/pkg-plist | 3 |
6 files changed, 63 insertions, 0 deletions
diff --git a/emulators/gnuboy/Makefile b/emulators/gnuboy/Makefile new file mode 100644 index 000000000000..30e8c287f673 --- /dev/null +++ b/emulators/gnuboy/Makefile @@ -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> diff --git a/emulators/gnuboy/distinfo b/emulators/gnuboy/distinfo new file mode 100644 index 000000000000..ef2b1ab2ef23 --- /dev/null +++ b/emulators/gnuboy/distinfo @@ -0,0 +1 @@ +MD5 (gnuboy-0.9.8.tar.gz) = f8824f32e34939ef5a97781c8a960567 diff --git a/emulators/gnuboy/files/patch-configure.in b/emulators/gnuboy/files/patch-configure.in new file mode 100644 index 000000000000..26fc4a3a89ae --- /dev/null +++ b/emulators/gnuboy/files/patch-configure.in @@ -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) diff --git a/emulators/gnuboy/pkg-comment b/emulators/gnuboy/pkg-comment new file mode 100644 index 000000000000..5f20f1683b26 --- /dev/null +++ b/emulators/gnuboy/pkg-comment @@ -0,0 +1 @@ +Nintendo GameBoy emulator diff --git a/emulators/gnuboy/pkg-descr b/emulators/gnuboy/pkg-descr new file mode 100644 index 000000000000..8e9bd21c16bf --- /dev/null +++ b/emulators/gnuboy/pkg-descr @@ -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/ diff --git a/emulators/gnuboy/pkg-plist b/emulators/gnuboy/pkg-plist new file mode 100644 index 000000000000..9415b5b608e3 --- /dev/null +++ b/emulators/gnuboy/pkg-plist @@ -0,0 +1,3 @@ +bin/sdlgnuboy +bin/sgnuboy +bin/xgnuboy |