Import sais-20060509 as wip/sais.

This is an SDL port of "Strange Adventures in Infinite Space".
You'll need to provide the data files to use it.
This commit is contained in:
Thomas Klausner 2013-09-02 19:06:35 +00:00
parent d755e26626
commit 9777873873
6 changed files with 54 additions and 0 deletions

2
sais/DESCR Normal file
View file

@ -0,0 +1,2 @@
This is an SDL port of "Strange Adventures in Infinite Space".
You'll need to provide the data files to use it.

25
sais/Makefile Normal file
View file

@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.1 2013/09/02 19:06:35 thomasklausner Exp $
DISTNAME= sais-nick-20060509
PKGNAME= ${DISTNAME:S/-nick//}
CATEGORIES= games
MASTER_SITES= #
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://zork.net/~nick/sais/
COMMENT= Strange Adventures in Infinite Space engine (SDL port)
INSTALLATION_DIRS= bin
USE_LANGUAGES+= c++
USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}/sais
BUILD_TARGET= sais
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sais ${DESTDIR}${PREFIX}/bin
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

2
sais/PLIST Normal file
View file

@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1 2013/09/02 19:06:35 thomasklausner Exp $
bin/sais

1
sais/TODO Normal file
View file

@ -0,0 +1 @@
Dumps core during startup.

6
sais/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2013/09/02 19:06:35 thomasklausner Exp $
SHA1 (sais-nick-20060509.tar.gz) = 16ba52b644576e2c3e59bf603fa1b28afffee3ce
RMD160 (sais-nick-20060509.tar.gz) = 88e6e9080fab1e2b052a44b1bcd4f0057afac070
Size (sais-nick-20060509.tar.gz) = 674775 bytes
SHA1 (patch-aa) = 4b1c9bbc0cb19a8a63dc4568d147609fbb6e8c26

18
sais/patches/patch-aa Normal file
View file

@ -0,0 +1,18 @@
$NetBSD: patch-aa,v 1.1 2013/09/02 19:06:35 thomasklausner Exp $
--- Makefile.orig 2008-03-14 09:31:42.000000000 +0000
+++ Makefile
@@ -1,11 +1,11 @@
all: game
-CPPFLAGS=-O2 $(shell sdl-config --cflags)
+CPPFLAGS=-g -O0 $(shell sdl-config --cflags)
LDFLAGS=$(shell sdl-config --libs) -lSDL_mixer -lSDL_image
objfiles=$(patsubst %.cpp,%.o,$(wildcard *.cpp))
sais: $(objfiles) $(wildcard *.h)
- $(CC) $(objfiles) -o sais $(CPPFLAGS) $(LDFLAGS)
+ $(CXX) $(objfiles) -o sais $(CPPFLAGS) $(LDFLAGS)
clean: