diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-03-12 14:10:25 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-03-12 14:10:25 +0800 |
commit | 74e9287d537cf92619b2eb9e66a91197eb9d56d4 (patch) | |
tree | d0e31ce6a035d6bb1b8bc01cbfdb0f4b5e287062 /emulators/gnuboy | |
parent | 1f98c6c7cc5c3540bc23c86822bdbfa7dc1a7368 (diff) | |
download | freebsd-ports-graphics-74e9287d537cf92619b2eb9e66a91197eb9d56d4.tar.gz freebsd-ports-graphics-74e9287d537cf92619b2eb9e66a91197eb9d56d4.tar.zst freebsd-ports-graphics-74e9287d537cf92619b2eb9e66a91197eb9d56d4.zip |
add gnuboy
A Nintendo GameBoy emulator
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 00000000000..30e8c287f67 --- /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 00000000000..ef2b1ab2ef2 --- /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 00000000000..26fc4a3a89a --- /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 00000000000..5f20f1683b2 --- /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 00000000000..8e9bd21c16b --- /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 00000000000..9415b5b608e --- /dev/null +++ b/emulators/gnuboy/pkg-plist @@ -0,0 +1,3 @@ +bin/sdlgnuboy +bin/sgnuboy +bin/xgnuboy |