ports/69509: New port: emulators/raine - Arcade Emulator for M68000, M68020 and Z80 based hardware
Florent Thoumie
flz at xbsd.org
Sat Jul 24 00:20:17 UTC 2004
>Number: 69509
>Category: ports
>Synopsis: New port: emulators/raine - Arcade Emulator for M68000, M68020 and Z80 based hardware
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 24 00:20:16 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Florent Thoumie
>Release: FreeBSD 4.9-RC i386
>Organization:
Xbsd.org
>Environment:
System: FreeBSD gw 4.9-RC FreeBSD 4.9-RC #4: Sun Oct 5 14:25:09 CEST 2003 rf at gw:/usr/src/sys/compile/GW i386
>Description:
Arcade Emulator for M68000, M68020 and Z80 based hardware.
WWW: http://www.rainemu.com/
Thanks to Radim Kolar who did the initial work.
>How-To-Repeat:
N/A
>Fix:
--- raine-0.40.4.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# raine
# raine/Makefile
# raine/files
# raine/files/patch-makefile
# raine/distinfo
# raine/pkg-descr
# raine/pkg-plist
#
echo c - raine
mkdir -p raine > /dev/null 2>&1
echo x - raine/Makefile
sed 's/^X//' >raine/Makefile << 'END-of-raine/Makefile'
X# New ports collection makefile for: raine
X# Date created: Jul 22 2004
X# Whom: Florent Thoumie <flz at xbsd.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= raine
XPORTVERSION= 0.40.4
XCATEGORIES= emulators games
XMASTER_SITES= http://www.rainemu.com/html/archive/
XDISTNAME= ${PORTNAME}s-${PORTVERSION}
X
XMAINTAINER= flz at xbsd.org
XCOMMENT= Arcade Emulator for M68000, M68020 and Z80 based hardware
X
XBUILD_DEPENDS= ${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm
XLIB_DEPENDS= alleg.41:${PORTSDIR}/devel/allegro
X
XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
XUSE_BZIP2= yes
XUSE_GMAKE= yes
XUSE_REINPLACE= yes
XUSE_X_PREFIX= yes
XUSE_SDL= sdl
XMAKEFILE= makefile
XMAKE_ENV= PREFIX=${PREFIX}
X
XONLY_FOR_ARCHS= i386
X
Xpost-patch:
X ${REINPLACE_CMD} -e "s, [$$]_mcpu,,g" ${WRKSRC}/detect-cpu
X ${REINPLACE_CMD} -e "s,sdl-config,${SDL_CONFIG},g" ${WRKSRC}/makefile
X
X.include <bsd.port.mk>
END-of-raine/Makefile
echo c - raine/files
mkdir -p raine/files > /dev/null 2>&1
echo x - raine/files/patch-makefile
sed 's/^X//' >raine/files/patch-makefile << 'END-of-raine/files/patch-makefile'
X--- makefile Sat Jun 12 16:02:17 2004
X+++ makefile.new Sat Jul 24 01:48:21 2004
X@@ -30,7 +30,7 @@
X # Try to detect mingw... If you want to build the dos and the mingw
X # version on the same system you should unset djdir before making
X # the mingw version.
X-ifeq ($(shell uname),Linux)
X+ifeq ($(shell uname),FreeBSD)
X OSTYPE=linux-gnu
X endif
X
X@@ -182,11 +182,11 @@
X
X # SDL = 1
X
X- prefix = $(DESTDIR)
X- bindir = $(prefix)/usr/games
X- sharedir = $(prefix)/usr/share
X- mandir = $(sharedir)/man/man6
X- rainedata = $(sharedir)/games/raine
X+ prefix = $(PREFIX)
X+ bindir = $(prefix)/bin
X+ sharedir = $(prefix)/share
X+ mandir = $(prefix)/man/man6
X+ rainedata = $(sharedir)/raine
X langdir = $(rainedata)/languages
X romdir = $(rainedata)/roms
X
X@@ -205,6 +205,7 @@
X AFLAGS = -f elf
X
X INCDIR += ` allegro-config --cflags`
X+ INCDIR += -I/usr/X11R6/include
X
X DEFINE = -D__RAINE__ \
X -DRAINE_UNIX \
X@@ -224,8 +225,8 @@
X endif # if OSTYPE == cygwin
X
X ifdef SDL
X-LIBS += `sdl-config --libs`
X-LIBS_STATIC += `sdl-config --static-libs`
X+LIBS += `/usr/local/bin/sdl11-config --libs`
X+LIBS_STATIC += `/usr/local/bin/sdl11-config --static-libs`
X endif
X
X ifndef ASM
X@@ -364,8 +365,8 @@
X CFLAGS += -DNO020 -DRAINECPS
X endif
X ifdef SDL
X-CFLAGS += -DSDL `sdl-config --cflags`
X-CFLAGS_MCU += -DSDL `sdl-config --cflags`
X+CFLAGS += -DSDL `/usr/local/bin/sdl11-config --cflags`
X+CFLAGS_MCU += -DSDL `/usr/local/bin/sdl11-config --cflags`
X else
X OBJDIRS += $(OBJDIR)/alleg \
X $(OBJDIR)/gui
X@@ -774,8 +775,8 @@
X else
X # avoid allegro when we can, sdl is much more reliable for sound
X OBJS += $(OBJDIR)/sdl/sasound.o
X-CFLAGS += `sdl-config --cflags`
X-LIBS += `sdl-config --libs`
X+CFLAGS += `/usr/local/bin/sdl11-config --cflags`
X+LIBS += `/usr/local/bin/sdl11-config --libs`
X endif
X endif
X
END-of-raine/files/patch-makefile
echo x - raine/distinfo
sed 's/^X//' >raine/distinfo << 'END-of-raine/distinfo'
XMD5 (raines-0.40.4.tar.bz2) = d496fc5a04b442915a6a020ab3ac640b
XSIZE (raines-0.40.4.tar.bz2) = 1551606
END-of-raine/distinfo
echo x - raine/pkg-descr
sed 's/^X//' >raine/pkg-descr << 'END-of-raine/pkg-descr'
XArcade Emulator for M68000, M68020 and Z80 based hardware.
X
XWWW: http://www.rainemu.com/
X
X- Florent Thoumie
Xflz at xbsd.org
END-of-raine/pkg-descr
echo x - raine/pkg-plist
sed 's/^X//' >raine/pkg-plist << 'END-of-raine/pkg-plist'
Xbin/raine
X%%DATADIR%%/cheats.cfg
X%%DATADIR%%/languages/Brasil.cfg
X%%DATADIR%%/languages/CZECH.CFG
X%%DATADIR%%/languages/Catala.cfg
X%%DATADIR%%/languages/Dansk.cfg
X%%DATADIR%%/languages/Dutch.cfg
X%%DATADIR%%/languages/English.cfg
X%%DATADIR%%/languages/Español.cfg
X%%DATADIR%%/languages/Euskera.cfg
X%%DATADIR%%/languages/Finnish.cfg
X%%DATADIR%%/languages/French.cfg
X%%DATADIR%%/languages/French2.cfg
X%%DATADIR%%/languages/German.cfg
X%%DATADIR%%/languages/German2.cfg
X%%DATADIR%%/languages/Italian.cfg
X%%DATADIR%%/languages/Japanese.cfg
X%%DATADIR%%/languages/POLISH.CFG
X%%DATADIR%%/languages/Portugal.cfg
X%%DATADIR%%/languages/Spanish.cfg
X%%DATADIR%%/languages/Svenska.cfg
X%%DATADIR%%/languages/Template.cfg
X%%DATADIR%%/languages/Turkish.cfg
X%%DATADIR%%/languages/galego.cfg
X%%DATADIR%%/raine.dat
X at dirrm %%DATADIR%%/roms
X at dirrm %%DATADIR%%/languages
X at dirrm %%DATADIR%%
END-of-raine/pkg-plist
exit
--- raine-0.40.4.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list