summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/REminiscence/MESSAGE13
-rw-r--r--games/REminiscence/Makefile29
-rw-r--r--games/REminiscence/PLIST5
-rw-r--r--games/REminiscence/distinfo11
-rw-r--r--games/REminiscence/files/reminiscence.desktop10
-rw-r--r--games/REminiscence/patches/patch-aa15
6 files changed, 43 insertions, 40 deletions
diff --git a/games/REminiscence/MESSAGE b/games/REminiscence/MESSAGE
new file mode 100644
index 00000000000..ac280d5b595
--- /dev/null
+++ b/games/REminiscence/MESSAGE
@@ -0,0 +1,13 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2019/09/11 19:02:14 nia Exp $
+
+You will need the original files of the PC (DOS or CD) or Amiga release.
+
+To have background music during polygonal cutscenes with the PC version,
+you need to copy the music/ directory of the Amiga version or use the .mod
+fileset from unexotica.
+
+To hear voice during in-game dialogues, you'll need to copy the 'VOICE.VCE'
+file from the SegaCD version to the DATA directory.
+
+===========================================================================
diff --git a/games/REminiscence/Makefile b/games/REminiscence/Makefile
index 2ad85132861..892df97f156 100644
--- a/games/REminiscence/Makefile
+++ b/games/REminiscence/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2015/04/25 14:22:51 tnn Exp $
+# $NetBSD: Makefile,v 1.16 2019/09/11 19:02:14 nia Exp $
-DISTNAME= REminiscence-0.2.1
-PKGREVISION= 1
+DISTNAME= REminiscence-0.3.7
CATEGORIES= games
MASTER_SITES= http://cyxdown.free.fr/reminiscence/
EXTRACT_SUFX= .tar.bz2
@@ -9,30 +8,26 @@ EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cyxdown.free.fr/reminiscence/
COMMENT= Engine to play Flashback by Delphine Software
-
LICENSE= gnu-gpl-v3
USE_LANGUAGES= c++
BUILD_TARGET= rs
-MAKE_ENV+= DEFINES=${DEFINES:Q}
-
-.include "../../mk/endian.mk"
-.if ${MACHINE_ENDIAN} == "big"
-DEFINES+= -DSYS_BIG_ENDIAN
-.elif ${MACHINE_ENDIAN} == "little"
-DEFINES+= -DSYS_LITTLE_ENDIAN
-.else
-PKG_FAIL_REASON+= "Unknown endianness."
-.endif
-INSTALLATION_DIRS= bin share/doc/REminiscence
+INSTALLATION_DIRS= bin share/applications share/doc/REminiscence
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rs ${DESTDIR}${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/README \
+ ${INSTALL_DATA} ${FILESDIR}/reminiscence.desktop \
+ ${DESTDIR}${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/README.txt \
${DESTDIR}${PREFIX}/share/doc/REminiscence
-.include "../../devel/SDL/buildlink3.mk"
+.include "../../audio/libmodplug/buildlink3.mk"
+.include "../../audio/tremor/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
+.include "../../multimedia/libogg/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
.include "../../mk/bsd.pkg.mk"
diff --git a/games/REminiscence/PLIST b/games/REminiscence/PLIST
index c1f2e69574d..44597be8b9e 100644
--- a/games/REminiscence/PLIST
+++ b/games/REminiscence/PLIST
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:56:39 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/09/11 19:02:14 nia Exp $
bin/rs
-share/doc/REminiscence/README
+share/applications/reminiscence.desktop
+share/doc/REminiscence/README.txt
diff --git a/games/REminiscence/distinfo b/games/REminiscence/distinfo
index d795b6e259e..4240412f755 100644
--- a/games/REminiscence/distinfo
+++ b/games/REminiscence/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 20:56:42 agc Exp $
+$NetBSD: distinfo,v 1.4 2019/09/11 19:02:14 nia Exp $
-SHA1 (REminiscence-0.2.1.tar.bz2) = 656714cf0d5e5d587acd7b721f83fdb7f294d1d0
-RMD160 (REminiscence-0.2.1.tar.bz2) = a73d4b8c55864218a7ee59b43b75a47e479c62bb
-SHA512 (REminiscence-0.2.1.tar.bz2) = 8fec129308331b02c4c5450e5a3ac4869839417aa5b69cce906668d44e31e6d44d654e53bb1d04dfabdf61f5798007e64e3978bad48ccc72a4be749209871230
-Size (REminiscence-0.2.1.tar.bz2) = 101621 bytes
-SHA1 (patch-aa) = f5e94f4178a32bf03f04768126bfd0f7dd7fa583
+SHA1 (REminiscence-0.3.7.tar.bz2) = 13b1eb89b632982d71de6cc9540958cac349a91d
+RMD160 (REminiscence-0.3.7.tar.bz2) = ac11bd2ca6fb291de4981e780cc24099bfb007fd
+SHA512 (REminiscence-0.3.7.tar.bz2) = 6afa3460cb7f0d28f093e78af8681ca564e02ec65432b7531da078a4bf317bde56f9cf671f1c170250d93e690807873d26d0bdc68d7c181561c7d1bc2425fd07
+Size (REminiscence-0.3.7.tar.bz2) = 128780 bytes
diff --git a/games/REminiscence/files/reminiscence.desktop b/games/REminiscence/files/reminiscence.desktop
new file mode 100644
index 00000000000..48fb90ba1e3
--- /dev/null
+++ b/games/REminiscence/files/reminiscence.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Name=REminiscence
+GenericName=reminiscence
+Comment=A port of Flashback game engine
+Icon=
+Exec=reminiscence
+Terminal=false
+Categories=Game;ActionGame;
+Keywords=flashback,platform
diff --git a/games/REminiscence/patches/patch-aa b/games/REminiscence/patches/patch-aa
deleted file mode 100644
index 8158c9acd9d..00000000000
--- a/games/REminiscence/patches/patch-aa
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2015/02/09 20:22:55 snj Exp $
-
---- Makefile.orig 2011-03-10 09:47:57.000000000 -0800
-+++ Makefile 2015-02-09 11:58:27.000000000 -0800
-@@ -5,8 +5,8 @@ SDL_LIBS = `sdl-config --libs`
- DEFINES = -DBYPASS_PROTECTION
- #DEFINES = -DBYPASS_PROTECTION -DENABLE_PASSWORD_MENU -DNDEBUG
-
--CXX = g++
--CXXFLAGS := -g -O -Wall -Wuninitialized -Wshadow -Wimplicit -Wundef -Wreorder -Wnon-virtual-dtor -Wno-multichar
-+#CXX = g++
-+#CXXFLAGS := -g -O -Wall -Wuninitialized -Wshadow -Wimplicit -Wundef -Wreorder -Wnon-virtual-dtor -Wno-multichar
- CXXFLAGS += -MMD $(SDL_CFLAGS) -DUSE_ZLIB $(DEFINES)
-
- SRCS = collision.cpp cutscene.cpp file.cpp fs.cpp game.cpp graphics.cpp main.cpp menu.cpp \