From 7aff9694481d424a4b1f51eddbb945c9c8fdf815 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Mon, 12 Mar 2001 06:10:25 +0000 Subject: add gnuboy A Nintendo GameBoy emulator --- emulators/gnuboy/Makefile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 emulators/gnuboy/Makefile (limited to 'emulators/gnuboy/Makefile') 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 +# +# $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 -- cgit v1.2.3