summaryrefslogtreecommitdiff
path: root/emulators/raine
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-06-05 17:14:14 +0000
committerxtraeme <xtraeme>2004-06-05 17:14:14 +0000
commit115555447a525d060dd198096d4a88ec0018232d (patch)
tree4439f41db048d10d914c2caf7d6b03cfb620d986 /emulators/raine
parentb8474ba139ac076c2a7fc78940989b0b26389044 (diff)
downloadpkgsrc-115555447a525d060dd198096d4a88ec0018232d.tar.gz
Update emulators/raine to 0.40.2.
Changes: o Fixed the rotation keys for "Forgotten worlds" and "Downtown". o Fixed custom keys. o Added some new features. o Support for other seta games: Zombie Raid, Dragon Unit, etc. And more!
Diffstat (limited to 'emulators/raine')
-rw-r--r--emulators/raine/Makefile12
-rw-r--r--emulators/raine/distinfo8
-rw-r--r--emulators/raine/files/raine.sh7
-rw-r--r--emulators/raine/patches/patch-aa62
4 files changed, 55 insertions, 34 deletions
diff --git a/emulators/raine/Makefile b/emulators/raine/Makefile
index 7e3a59b9da1..e8ce5d74c0c 100644
--- a/emulators/raine/Makefile
+++ b/emulators/raine/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2004/05/07 01:14:48 xtraeme Exp $
+# $NetBSD: Makefile,v 1.4 2004/06/05 17:14:14 xtraeme Exp $
#
-DISTNAME= raines-0.40.0
+DISTNAME= raines-0.40.2
PKGNAME= ${DISTNAME:S/raines/raine/}
CATEGORIES= emulators
MASTER_SITES= http://www.rainemu.com/html/archive/
@@ -20,12 +20,16 @@ USE_X11= yes
MAKEFILE= makefile
MAKE_ENV+= OSTYPE=linux
USE_PERL5= run
+REPLACE_PERL= makedep
+# XXX Really?
ONLY_FOR_PLATFORM= *-*-i386
pre-install:
- @${SED} -e s,@RAINEDATA@,${PREFIX}/share/raine, \
- ${FILESDIR}/raine.sh > ${WRKSRC}/raine.sh
+ @( \
+ ${ECHO_MSG} "#!/bin/sh"; \
+ ${ECHO_MSG} "cd ${PREFIX}/share/raine && ./raine" \
+ ) > ${WRKSRC}/raine.sh
@${INSTALL_SCRIPT} ${WRKSRC}/raine.sh ${PREFIX}/bin/raine
.include "../../devel/allegro/buildlink3.mk"
diff --git a/emulators/raine/distinfo b/emulators/raine/distinfo
index 7ca6ebbba96..bf6bfd0dfb3 100644
--- a/emulators/raine/distinfo
+++ b/emulators/raine/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.2 2004/04/17 00:58:42 kristerw Exp $
+$NetBSD: distinfo,v 1.3 2004/06/05 17:14:14 xtraeme Exp $
-SHA1 (raines-0.40.0.tar.bz2) = bb3fe7aa758f8081e5aa14632ddff1858dfb86bb
-Size (raines-0.40.0.tar.bz2) = 1505268 bytes
-SHA1 (patch-aa) = abee628fbe69a12a98fdc88aee96f59a7a2ec721
+SHA1 (raines-0.40.2.tar.bz2) = 1fbd0c108d60f53806a03f86693faf9ffdb6e60b
+Size (raines-0.40.2.tar.bz2) = 1513190 bytes
+SHA1 (patch-aa) = 977bf37619aac97dff4bd11c2f28726faa219154
SHA1 (patch-ab) = 3fc85718ec2079fbbb7a59d06f782e2832889d0a
SHA1 (patch-ac) = 40ec161397eed474a1274ea8f0e802eb5e687608
SHA1 (patch-ad) = 2842cf825e67a5195c44c4d173feb5ffe01c2e46
diff --git a/emulators/raine/files/raine.sh b/emulators/raine/files/raine.sh
deleted file mode 100644
index 3c0d7b1debb..00000000000
--- a/emulators/raine/files/raine.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#! /bin/sh
-#
-# $NetBSD: raine.sh,v 1.1.1.1 2004/04/05 05:05:28 xtraeme Exp $
-#
-
-cd @RAINEDATA@ && ./raine "$@"
-exit 0
diff --git a/emulators/raine/patches/patch-aa b/emulators/raine/patches/patch-aa
index 53f0604a2f2..ada9805a1c6 100644
--- a/emulators/raine/patches/patch-aa
+++ b/emulators/raine/patches/patch-aa
@@ -1,28 +1,60 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/04/05 05:05:28 xtraeme Exp $
+$NetBSD: patch-aa,v 1.2 2004/06/05 17:14:14 xtraeme Exp $
---- makefile.orig 2004-04-05 06:00:31.000000000 +0200
-+++ makefile 2004-04-05 06:08:35.000000000 +0200
-@@ -171,10 +171,10 @@
+--- makefile.orig 2004-06-05 18:53:01.000000000 +0200
++++ makefile 2004-06-05 18:58:51.000000000 +0200
+@@ -27,30 +27,7 @@
+ # Use asm video core ? (comment to use C core)
+ ASM_VIDEO_CORE = 1
+-# 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 -o),GNU/Linux)
+-OSTYPE=linux-gnu
+-endif
+-
+-ifeq ("$(OSTYPE)","msys")
+-MINGDIR=1
+-OSTYPE=mingw32
+-ifeq (`nasm -r`,)
+-ifdef VERBOSE
+-ASM=nasmw
+-else
+-ASM=@nasmw
+-endif
+-else
+-ifdef VERBOSE
+ ASM=nasm
+-else
+-ASM=@nasm
+-endif
+-endif
+-endif
+
+ ifdef mingdir
+ MINGDIR=1
+@@ -176,10 +153,10 @@
# SDL = 1
+ prefix = $(DESTDIR)
- bindir = $(prefix)/usr/games
- sharedir = $(prefix)/usr/share
+- mandir = $(sharedir)/man/man6
+- rainedata = $(sharedir)/games/raine
+ bindir = $(PREFIX)/bin
+ sharedir = $(PREFIX)/share
- mandir = $(sharedir)/man/man6
-- rainedata = $(sharedir)/games/raine
++ mandir = $(PREFIX)/man/man6
+ rainedata = $(sharedir)/raine
langdir = $(rainedata)/languages
romdir = $(rainedata)/roms
-@@ -197,10 +197,10 @@
+@@ -202,10 +179,10 @@
DEFINE = -D__RAINE__ \
-DRAINE_UNIX \
-- LIBS = -lz `allegro-config --libs` -lvga # -lreadline -lefence
+- LIBS = -lz `allegro-config --libs` -lvga # -lefence
- LIBS_DEBUG = -lz -lvga `allegro-config --libs debug`
-+ LIBS = -lz `allegro-config --libs` # -lreadline -lefence
++ LIBS = -lz `allegro-config --libs`
+ LIBS_DEBUG = -lz `allegro-config --libs debug`
- LIBS_STATIC = -lz -lvga `allegro-config --static`
@@ -30,7 +62,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2004/04/05 05:05:28 xtraeme Exp $
endif # linux / mingw32
endif # djgpp
-@@ -950,11 +950,7 @@
+@@ -942,11 +919,7 @@
make.dep:
./makedep $(OBJDIR) $(OBJS) > make.dep
@@ -42,15 +74,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2004/04/05 05:05:28 xtraeme Exp $
# create directories
-@@ -983,7 +979,6 @@
- $(RM) -r $(OBJDIR)
- @echo Deleting $(RAINE_EXE)...
- $(RM) $(RAINE_EXE) make.dep
-- $(RM) cpuinfo
-
- vclean:
- @echo make vclean is no longer necessary, just type make clean
-@@ -992,14 +987,16 @@
+@@ -984,14 +957,16 @@
install: install_dirs $(RAINE_LNG)
ifdef RAINE_LINUX