diff options
author | edwin <edwin@FreeBSD.org> | 2004-08-02 07:17:59 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-08-02 07:17:59 +0800 |
commit | 8d4c8a70e31c4b121a78e715b57ab3f17c76ba2a (patch) | |
tree | 9ca9a75b17217baed1493dec4f2014226cb91de3 /emulators/raine | |
parent | 9c525c2254f753d8e8612dda07dc0ffd1c37110c (diff) | |
download | freebsd-ports-gnome-8d4c8a70e31c4b121a78e715b57ab3f17c76ba2a.tar.gz freebsd-ports-gnome-8d4c8a70e31c4b121a78e715b57ab3f17c76ba2a.tar.zst freebsd-ports-gnome-8d4c8a70e31c4b121a78e715b57ab3f17c76ba2a.zip |
New port: emulators/raine - Arcade Emulator for M68000, M68020 and Z80 based hardware
Arcade Emulator for M68000, M68020 and Z80 based hardware.
WWW: http://www.rainemu.com/
PR: ports/69509
Submitted by: Florent Thoumie <flz@xbsd.org>
Diffstat (limited to 'emulators/raine')
-rw-r--r-- | emulators/raine/Makefile | 35 | ||||
-rw-r--r-- | emulators/raine/distinfo | 2 | ||||
-rw-r--r-- | emulators/raine/files/patch-makefile | 36 | ||||
-rw-r--r-- | emulators/raine/pkg-descr | 6 | ||||
-rw-r--r-- | emulators/raine/pkg-plist | 28 |
5 files changed, 107 insertions, 0 deletions
diff --git a/emulators/raine/Makefile b/emulators/raine/Makefile new file mode 100644 index 000000000000..ddb8962b0532 --- /dev/null +++ b/emulators/raine/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: raine +# Date created: Jul 22 2004 +# Whom: Florent Thoumie <flz@xbsd.org> +# +# $FreeBSD$ +# + +PORTNAME= raine +PORTVERSION= 0.40.4 +CATEGORIES= emulators games +MASTER_SITES= http://www.rainemu.com/html/archive/ +DISTNAME= ${PORTNAME}s-${PORTVERSION} + +MAINTAINER= flz@xbsd.org +COMMENT= Arcade Emulator for M68000, M68020 and Z80 based hardware + +BUILD_DEPENDS= ${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm +LIB_DEPENDS= alleg.41:${PORTSDIR}/devel/allegro + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USE_BZIP2= yes +USE_GMAKE= yes +USE_REINPLACE= yes +USE_X_PREFIX= yes +USE_SDL= sdl +MAKEFILE= makefile +MAKE_ENV= PREFIX=${PREFIX} + +ONLY_FOR_ARCHS= i386 + +post-patch: + ${REINPLACE_CMD} -e "s, [$$]_mcpu,,g" ${WRKSRC}/detect-cpu + ${REINPLACE_CMD} -e "s,sdl-config,${SDL_CONFIG},g" ${WRKSRC}/makefile + +.include <bsd.port.mk> diff --git a/emulators/raine/distinfo b/emulators/raine/distinfo new file mode 100644 index 000000000000..d2d3bc8695c9 --- /dev/null +++ b/emulators/raine/distinfo @@ -0,0 +1,2 @@ +MD5 (raines-0.40.4.tar.bz2) = d496fc5a04b442915a6a020ab3ac640b +SIZE (raines-0.40.4.tar.bz2) = 1551606 diff --git a/emulators/raine/files/patch-makefile b/emulators/raine/files/patch-makefile new file mode 100644 index 000000000000..86a2d1b602ae --- /dev/null +++ b/emulators/raine/files/patch-makefile @@ -0,0 +1,36 @@ +--- makefile Sat Jun 12 16:02:17 2004 ++++ makefile.new Sat Jul 24 01:48:21 2004 +@@ -30,7 +30,7 @@ + # Try to detect mingw... If you want to build the dos and the mingw + # version on the same system you should unset djdir before making + # the mingw version. +-ifeq ($(shell uname),Linux) ++ifeq ($(shell uname),FreeBSD) + OSTYPE=linux-gnu + endif + +@@ -182,11 +182,11 @@ + + # SDL = 1 + +- prefix = $(DESTDIR) +- bindir = $(prefix)/usr/games +- sharedir = $(prefix)/usr/share +- mandir = $(sharedir)/man/man6 +- rainedata = $(sharedir)/games/raine ++ prefix = $(PREFIX) ++ bindir = $(prefix)/bin ++ sharedir = $(prefix)/share ++ mandir = $(prefix)/man/man6 ++ rainedata = $(sharedir)/raine + langdir = $(rainedata)/languages + romdir = $(rainedata)/roms + +@@ -205,6 +205,7 @@ + AFLAGS = -f elf + + INCDIR += ` allegro-config --cflags` ++ INCDIR += -I/usr/X11R6/include + + DEFINE = -D__RAINE__ \ + -DRAINE_UNIX \ diff --git a/emulators/raine/pkg-descr b/emulators/raine/pkg-descr new file mode 100644 index 000000000000..7903230d75da --- /dev/null +++ b/emulators/raine/pkg-descr @@ -0,0 +1,6 @@ +Arcade Emulator for M68000, M68020 and Z80 based hardware. + +WWW: http://www.rainemu.com/ + +- Florent Thoumie +flz@xbsd.org diff --git a/emulators/raine/pkg-plist b/emulators/raine/pkg-plist new file mode 100644 index 000000000000..ff4e9cae4c44 --- /dev/null +++ b/emulators/raine/pkg-plist @@ -0,0 +1,28 @@ +bin/raine +%%DATADIR%%/cheats.cfg +%%DATADIR%%/languages/Brasil.cfg +%%DATADIR%%/languages/CZECH.CFG +%%DATADIR%%/languages/Catala.cfg +%%DATADIR%%/languages/Dansk.cfg +%%DATADIR%%/languages/Dutch.cfg +%%DATADIR%%/languages/English.cfg +%%DATADIR%%/languages/Espaņol.cfg +%%DATADIR%%/languages/Euskera.cfg +%%DATADIR%%/languages/Finnish.cfg +%%DATADIR%%/languages/French.cfg +%%DATADIR%%/languages/French2.cfg +%%DATADIR%%/languages/German.cfg +%%DATADIR%%/languages/German2.cfg +%%DATADIR%%/languages/Italian.cfg +%%DATADIR%%/languages/Japanese.cfg +%%DATADIR%%/languages/POLISH.CFG +%%DATADIR%%/languages/Portugal.cfg +%%DATADIR%%/languages/Spanish.cfg +%%DATADIR%%/languages/Svenska.cfg +%%DATADIR%%/languages/Template.cfg +%%DATADIR%%/languages/Turkish.cfg +%%DATADIR%%/languages/galego.cfg +%%DATADIR%%/raine.dat +@dirrm %%DATADIR%%/roms +@dirrm %%DATADIR%%/languages +@dirrm %%DATADIR%% |