ports/93168: New port: games/reminiscence A rewritten engine for Flashback

Dmitry Marakasov amdmi3 at mail.ru
Sat Feb 11 05:30:09 UTC 2006


>Number:         93168
>Category:       ports
>Synopsis:       New port: games/reminiscence A rewritten engine for Flashback
>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 Feb 11 05:30:08 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.0-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #1: Fri Jan 27 12:07:19 MSK 2006 amdmi3 at hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
REminiscence is a rewrite of the engine used in the game Flashback
from Delphine Software. This program is designed as a cross-platform
replacement for the original executable and uses the SDL library.
It allows you to rediscover and play it on modern machines using
the original datafiles.

WWW: http://membres.lycos.fr/cyxdown/reminiscence/

>How-To-Repeat:
>Fix:

--- reminiscence-0.1.8.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:
#
#	reminiscence
#	reminiscence/Makefile
#	reminiscence/distinfo
#	reminiscence/pkg-message
#	reminiscence/pkg-descr
#	reminiscence/pkg-plist
#	reminiscence/files
#	reminiscence/files/patch-main.cpp
#
echo c - reminiscence
mkdir -p reminiscence > /dev/null 2>&1
echo x - reminiscence/Makefile
sed 's/^X//' >reminiscence/Makefile << 'END-of-reminiscence/Makefile'
X# New ports collection makefile for:	REminiscence
X# Date created:		11 Feb 2005
X# Whom:			Dmitry Marakasov <amdmi3 at mail.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	REminiscence
XPORTVERSION=	0.1.8
XCATEGORIES=	games
XMASTER_SITES=	http://membres.lycos.fr/cyxdown/reminiscence/
X
XMAINTAINER=	amdmi3 at mail.ru
XCOMMENT=	A rewritten engine for Flashback
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_SDL=	sdl
X
XALL_TARGET=	rs
X
XPORTDOCS=	README
X
Xpost-patch:
X	@${REINPLACE_CMD} -e '/^CXX =/ d' ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e '/^CXXFLAGS:=/ d' ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e '/^CXXFLAGS+=.*-W/ d' ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e 's|DATA|${DATADIR}/data|' ${WRKSRC}/main.cpp
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/rs ${PREFIX}/bin/remin
X	${MKDIR} ${DATADIR}/data
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for f in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.endfor
X.endif
X	@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
X
X.include <bsd.port.mk>
END-of-reminiscence/Makefile
echo x - reminiscence/distinfo
sed 's/^X//' >reminiscence/distinfo << 'END-of-reminiscence/distinfo'
XMD5 (REminiscence-0.1.8.tar.bz2) = fc4ca3aaec770573a7ba5513b2927d15
XSHA256 (REminiscence-0.1.8.tar.bz2) = 1d66f8abf26f9d7f5738d30276069395feab821533bb702e95e32ff478842d2f
XSIZE (REminiscence-0.1.8.tar.bz2) = 91722
END-of-reminiscence/distinfo
echo x - reminiscence/pkg-message
sed 's/^X//' >reminiscence/pkg-message << 'END-of-reminiscence/pkg-message'
X==========================================================================
X
XREminiscence requires original Flashback datafiles. Copy the following
Xfiles to ${PREFIX}/share/REminiscence/data/ directory:
X
X  FB_TXT.FNT GLOBAL.ICN GLOBAL.FIB GLOBAL.SPC *.OFF *.SPR *.MAP *.PAL
X  *.ANI *.CT *.MBK *.OBJ *.PGE *.RP *.TBN *.CMD *.POL *CINE.*
X
XIf you have a version distributed by SSI, you'll have to rename some files :
X        
X  logosssi.cmd -> logos.cmd
X  logosssi.pol -> logos.pol
X  menu1ssi.map -> menu1.map
X  menu1ssi.pal -> menu1.pal
X
XSee README for details
X
X==========================================================================
END-of-reminiscence/pkg-message
echo x - reminiscence/pkg-descr
sed 's/^X//' >reminiscence/pkg-descr << 'END-of-reminiscence/pkg-descr'
XREminiscence is a rewrite of the engine used in the game Flashback
Xfrom Delphine Software. This program is designed as a cross-platform
Xreplacement for the original executable and uses the SDL library.
XIt allows you to rediscover and play it on modern machines using
Xthe original datafiles.
X
XWWW: http://membres.lycos.fr/cyxdown/reminiscence/
END-of-reminiscence/pkg-descr
echo x - reminiscence/pkg-plist
sed 's/^X//' >reminiscence/pkg-plist << 'END-of-reminiscence/pkg-plist'
Xbin/remin
X at exec mkdir -p %D/share/REminiscence/data
X at dirrm %%DATADIR%%/data
X at dirrm %%DATADIR%%
END-of-reminiscence/pkg-plist
echo c - reminiscence/files
mkdir -p reminiscence/files > /dev/null 2>&1
echo x - reminiscence/files/patch-main.cpp
sed 's/^X//' >reminiscence/files/patch-main.cpp << 'END-of-reminiscence/files/patch-main.cpp'
X--- main.cpp.orig	Tue Aug 23 22:26:20 2005
X+++ main.cpp	Sat Feb 11 07:53:56 2006
X@@ -19,6 +19,7 @@
X #include "file.h"
X #include "game.h"
X #include "systemstub.h"
X+#include <sys/stat.h>
X 
X static const char *USAGE = 
X 	"REminiscence - Flashback Interpreter\n"
X@@ -59,8 +60,15 @@
X 
X #undef main
X int main(int argc, char *argv[]) {
X+	char *homedir = getenv("HOME");
X+	char *dotdir = "/.REminiscence";
X+	char *buf = (char*)malloc(strlen(homedir) + strlen(dotdir) + 1);
X+	strcpy(buf, homedir);
X+	strcat(buf, dotdir);
X+	mkdir(buf, 0755);
X+
X 	const char *dataPath = "DATA";
X-	const char *savePath = ".";
X+	const char *savePath = buf;
X 	for (int i = 1; i < argc; ++i) {
X 		bool opt = false;
X 		if (strlen(argv[i]) >= 2) {
X@@ -79,5 +87,6 @@
X 	g->run();
X 	delete g;
X 	delete stub;
X+	free(buf);
X 	return 0;
X }
END-of-reminiscence/files/patch-main.cpp
exit
--- reminiscence-0.1.8.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list