pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/sais games/sais: import sais-1.6.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/374719a8afc0
branches:  trunk
changeset: 389994:374719a8afc0
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Dec 14 14:51:58 2022 +0000

description:
games/sais: import sais-1.6.3

Strange Adventures in Infinite Space, a time-limited space exploration
game.

diffstat:

 games/sais/DESCR                          |   2 +
 games/sais/Makefile                       |  32 +++++++++++++++++++++++++++++++
 games/sais/PLIST                          |  17 ++++++++++++++++
 games/sais/distinfo                       |   6 +++++
 games/sais/patches/patch-src_is__fileio.h |  14 +++++++++++++
 5 files changed, 71 insertions(+), 0 deletions(-)

diffs (91 lines):

diff -r 248496695efc -r 374719a8afc0 games/sais/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/sais/DESCR  Wed Dec 14 14:51:58 2022 +0000
@@ -0,0 +1,2 @@
+Strange Adventures in Infinite Space, a time-limited space exploration
+game.
diff -r 248496695efc -r 374719a8afc0 games/sais/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/sais/Makefile       Wed Dec 14 14:51:58 2022 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2022/12/14 14:51:58 wiz Exp $
+
+DISTNAME=      sais-1.6.3
+CATEGORIES=    games
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=kuroneko/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/kuroneko/sais/
+COMMENT=       Strange Adventures in Infinite Space
+LICENSE=       gnu-gpl-v3
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+USE_TOOLS+=    pkg-config
+
+CMAKE_INSTALL_PREFIX=  ${PREFIX}/libexec/sais
+
+INSTALLATION_DIRS+=    bin
+
+post-build:
+       ${ECHO} '#!/bin/sh' > ${WRKDIR}/strange
+       ${ECHO} 'cd ${PREFIX}/libexec/sais && ./strange' >> ${WRKDIR}/strange
+       ${CHMOD} 755 ${WRKDIR}/strange
+
+post-install:
+       ${INSTALL_SCRIPT} ${WRKDIR}/strange ${DESTDIR}${PREFIX}/bin
+
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../audio/SDL2_mixer/buildlink3.mk"
+.include "../../devel/physfs/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 248496695efc -r 374719a8afc0 games/sais/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/sais/PLIST  Wed Dec 14 14:51:58 2022 +0000
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2022/12/14 14:51:58 wiz Exp $
+bin/strange
+libexec/sais/LICENSES.txt
+libexec/sais/README1st.txt
+libexec/sais/manual.txt
+libexec/sais/mods.txt
+libexec/sais/mods/eelfarm/gamedata/cards.ini
+libexec/sais/mods/eelfarm/gamedata/items.ini
+libexec/sais/mods/eelfarm/graphics/combtbg2.pcx
+libexec/sais/mods/flakgun/gamedata/cards.ini
+libexec/sais/mods/flakgun/gamedata/items.ini
+libexec/sais/mods/flakgun/gamedata/ships.ini
+libexec/sais/mods/flakgun/gamedata/systems.ini
+libexec/sais/mods/flakgun/gamedata/weapons.ini
+libexec/sais/mods/flakgun/graphics/weapons/frame019.tga
+libexec/sais/saisdata.zip
+libexec/sais/strange
diff -r 248496695efc -r 374719a8afc0 games/sais/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/sais/distinfo       Wed Dec 14 14:51:58 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/12/14 14:51:58 wiz Exp $
+
+BLAKE2s (sais-1.6.3.tar.gz) = 512900da760cb09a26d3c4786f5f5671874e4b956d7f5195cc4b52657e82365b
+SHA512 (sais-1.6.3.tar.gz) = 99ca8de25caf9d2dd62afd4a67a4d811feccc5dab0c0767a864f3eb70bb495c8b580bbd683f5d7261337750eddb8556de75a893386032e01049b86168b8072e8
+Size (sais-1.6.3.tar.gz) = 13511138 bytes
+SHA1 (patch-src_is__fileio.h) = 14c21154da05b2bf95c0a90504611c738e6ae3fb
diff -r 248496695efc -r 374719a8afc0 games/sais/patches/patch-src_is__fileio.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/sais/patches/patch-src_is__fileio.h Wed Dec 14 14:51:58 2022 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_is__fileio.h,v 1.1 2022/12/14 14:51:58 wiz Exp $
+
+Add missing header file.
+
+--- src/is_fileio.h.orig       2020-10-14 04:48:50.000000000 +0000
++++ src/is_fileio.h
+@@ -22,6 +22,7 @@
+ #define IS_FILEIO_H
+ 
+ #include <physfs.h>
++#include <stdarg.h>
+ 
+ typedef PHYSFS_File *   IS_FileHdl;
+ 



Home | Main Index | Thread Index | Old Index