pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Added a new game - Jagged Alliance 2 Stracciatella
Module Name: pkgsrc-wip
Committed By: astr0b4by <astr0b4by%gmail.com@localhost>
Pushed By: astr0b4by
Date: Thu May 21 02:24:51 2020 +0000
Changeset: ee1bfa722b98dcafc3c3f0f861006675ed510bad
Added Files:
stracciatella/DESCR
stracciatella/HOWTO
stracciatella/Makefile
stracciatella/PLIST
stracciatella/distinfo
stracciatella/files/ja2.sh.in
Log Message:
Added a new game - Jagged Alliance 2 Stracciatella
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ee1bfa722b98dcafc3c3f0f861006675ed510bad
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
stracciatella/DESCR | 6 ++++
stracciatella/HOWTO | 2 ++
stracciatella/Makefile | 50 ++++++++++++++++++++++++++
stracciatella/PLIST | 84 +++++++++++++++++++++++++++++++++++++++++++
stracciatella/distinfo | 6 ++++
stracciatella/files/ja2.sh.in | 3 ++
6 files changed, 151 insertions(+)
diffs:
diff --git a/stracciatella/DESCR b/stracciatella/DESCR
new file mode 100644
index 0000000000..f64a11eeab
--- /dev/null
+++ b/stracciatella/DESCR
@@ -0,0 +1,6 @@
+Opensource re-implementation of Jagged Alliance 2
+
+-Note: on NetBSD 8.2 adm64 following was observed
+
+For RUSTC/CARGO to work set a symlink from /usr/pkg/etc/openssl/certs to
+/etc/openssl/certs
diff --git a/stracciatella/HOWTO b/stracciatella/HOWTO
new file mode 100644
index 0000000000..e0dc20827b
--- /dev/null
+++ b/stracciatella/HOWTO
@@ -0,0 +1,2 @@
+For RUSTC/CARGO to work set a symlink from /usr/pkg/etc/openssl/certs to
+/etc/openssl/certs
diff --git a/stracciatella/Makefile b/stracciatella/Makefile
new file mode 100644
index 0000000000..640f41b06b
--- /dev/null
+++ b/stracciatella/Makefile
@@ -0,0 +1,50 @@
+# $NetBSD$
+
+GITHUB_PROJECT= ja2-stracciatella
+GITHUB_TAG= v0.16.1
+DISTNAME= ja2-0.16.1
+PKGNAME= ja2-0.16.1
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ja2-stracciatella/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/ja2-stracciatella/ja2-stracciatella/
+COMMENT= Improved, cross-platform, stable Jagged Alliance 2 runtime
+LICENSE= public-domain
+
+WRKSRC= ${WRKDIR}/ja2-stracciatella-0.16.1
+USE_CMAKE= yes
+USE_TOOLS+= bash msgfmt pkg-config pax
+USE_LANGUAGES= c c++14
+USE_LIBTOOL= yes
+GCC_REQD+= 5
+
+CXXFLAGS.NetBSD+= -D_NETBSD_SOURCE
+
+INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= share/games/ja2
+INSTALLATION_DIRS+= share/games/ja2/rust/release
+pre-configure:
+ ${SED} -e 's,@PREFIX@,${PREFIX},g' < ${FILESDIR}/ja2.sh.in > ${WRKDIR}/ja2.sh
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/ja2.sh ${DESTDIR}${PREFIX}/bin/ja2
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/games/ja2
+ cd ${WRKSRC} && \
+ cp ja2 ${DESTDIR}${PREFIX}/share/games/ja2 | \
+ mkdir ${DESTDIR}${PREFIX}/share/games/ja2/rust/release | \
+ cp ${WRKSRC}/rust/release/libstracciatella.so \
+ ${DESTDIR}${PREFIX}/share/games/ja2/rust/release/ | \
+ cp -R ${WRKSRC}/externalized ${DESTDIR}${PREFIX}/share/games/ja2 | \
+ cp -R ${WRKSRC}/mods ${DESTDIR}${PREFIX}/share/games/ja2 | \
+ cp -R ${WRKSRC}/unittests ${DESTDIR}${PREFIX}/share/games/ja2
+
+.include "../../audio/SDL2_mixer/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../lang/rust/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../fonts/SDL2_ttf/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/stracciatella/PLIST b/stracciatella/PLIST
new file mode 100644
index 0000000000..731a8b4ce6
--- /dev/null
+++ b/stracciatella/PLIST
@@ -0,0 +1,84 @@
+@comment $NetBSD$
+bin/ja2
+share/games/ja2/externalized/ammo_types.json
+share/games/ja2/externalized/army-gun-choice-extended.json
+share/games/ja2/externalized/army-gun-choice-normal.json
+share/games/ja2/externalized/bobby-ray-inventory-new.json
+share/games/ja2/externalized/bobby-ray-inventory-used.json
+share/games/ja2/externalized/calibres.json
+share/games/ja2/externalized/dealer-inventory-alberto-santos.json
+share/games/ja2/externalized/dealer-inventory-arnie.json
+share/games/ja2/externalized/dealer-inventory-carlo-santos.json
+share/games/ja2/externalized/dealer-inventory-devin.json
+share/games/ja2/externalized/dealer-inventory-elgin.json
+share/games/ja2/externalized/dealer-inventory-frank.json
+share/games/ja2/externalized/dealer-inventory-franz.json
+share/games/ja2/externalized/dealer-inventory-fredo.json
+share/games/ja2/externalized/dealer-inventory-gabby.json
+share/games/ja2/externalized/dealer-inventory-herve-santos.json
+share/games/ja2/externalized/dealer-inventory-howard.json
+share/games/ja2/externalized/dealer-inventory-jake.json
+share/games/ja2/externalized/dealer-inventory-keith.json
+share/games/ja2/externalized/dealer-inventory-manny.json
+share/games/ja2/externalized/dealer-inventory-micky.json
+share/games/ja2/externalized/dealer-inventory-perko.json
+share/games/ja2/externalized/dealer-inventory-peter-santos.json
+share/games/ja2/externalized/dealer-inventory-sam.json
+share/games/ja2/externalized/dealer-inventory-tony.json
+share/games/ja2/externalized/game.json
+share/games/ja2/externalized/imp.json
+share/games/ja2/externalized/magazines.json
+share/games/ja2/externalized/music.json
+share/games/ja2/externalized/readme.txt
+share/games/ja2/externalized/sti/interface/LOADSCREENTAB.STI
+share/games/ja2/externalized/strings/ammo-calibre-bobbyray-dut.json
+share/games/ja2/externalized/strings/ammo-calibre-bobbyray-eng.json
+share/games/ja2/externalized/strings/ammo-calibre-bobbyray-fr.json
+share/games/ja2/externalized/strings/ammo-calibre-bobbyray-ger.json
+share/games/ja2/externalized/strings/ammo-calibre-bobbyray-it.json
+share/games/ja2/externalized/strings/ammo-calibre-bobbyray-pl.json
+share/games/ja2/externalized/strings/ammo-calibre-bobbyray-rus.json
+share/games/ja2/externalized/strings/ammo-calibre-dut.json
+share/games/ja2/externalized/strings/ammo-calibre-eng.json
+share/games/ja2/externalized/strings/ammo-calibre-fr.json
+share/games/ja2/externalized/strings/ammo-calibre-ger.json
+share/games/ja2/externalized/strings/ammo-calibre-it.json
+share/games/ja2/externalized/strings/ammo-calibre-pl.json
+share/games/ja2/externalized/strings/ammo-calibre-rus.json
+share/games/ja2/externalized/strings/new-strings-dut.json
+share/games/ja2/externalized/strings/new-strings-eng.json
+share/games/ja2/externalized/strings/new-strings-fr.json
+share/games/ja2/externalized/strings/new-strings-ger.json
+share/games/ja2/externalized/strings/new-strings-it.json
+share/games/ja2/externalized/strings/new-strings-pl.json
+share/games/ja2/externalized/strings/new-strings-rus.json
+share/games/ja2/externalized/weapons.json
+share/games/ja2/ja2
+share/games/ja2/mods/from-russia-with-love/data/maps/A9.dat
+share/games/ja2/mods/from-russia-with-love/license.txt
+share/games/ja2/mods/from-russia-with-love/readme.txt
+share/games/ja2/mods/generous-rebels/GR mod.jpg
+share/games/ja2/mods/generous-rebels/Generous Rebels Mod.txt
+share/games/ja2/mods/generous-rebels/data/Maps/A10_b1.dat
+share/games/ja2/mods/imp-quiz-honest-answers/IMP quiz honest answers mod.txt
+share/games/ja2/mods/imp-quiz-honest-answers/data/Binarydata/IMPTEXT.EDT
+share/games/ja2/mods/o-fortuna/data/music.json
+share/games/ja2/mods/o-fortuna/data/music/o-fortuna.wav
+share/games/ja2/mods/o-fortuna/license.txt
+share/games/ja2/mods/o-fortuna/readme.txt
+share/games/ja2/mods/readme.txt
+share/games/ja2/mods/test-json-dialogs/data/mercedt/009.edt.json
+share/games/ja2/mods/test-json-dialogs/readme.txt
+share/games/ja2/rust/release/libstracciatella.so
+share/games/ja2/unittests/datatypes/doubles.bin
+share/games/ja2/unittests/datatypes/floats.bin
+share/games/ja2/unittests/find-files/file-without-extension
+share/games/ja2/unittests/find-files/lowercase-ext.txt
+share/games/ja2/unittests/find-files/subfolder/file.txt
+share/games/ja2/unittests/find-files/uppercase-ext.TXT
+share/games/ja2/unittests/saves/strac-linux/SaveGame01.sav
+share/games/ja2/unittests/saves/strac-macos/SaveGame09.sav
+share/games/ja2/unittests/saves/strac-macos/imp.dat
+share/games/ja2/unittests/saves/strac-win/SaveGame09.sav
+share/games/ja2/unittests/saves/vanilla-russian/IMP.dat
+share/games/ja2/unittests/saves/vanilla-russian/SaveGame06.sav
diff --git a/stracciatella/distinfo b/stracciatella/distinfo
new file mode 100644
index 0000000000..56a9c393e7
--- /dev/null
+++ b/stracciatella/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (ja2-stracciatella/ja2-0.16.1.tar.gz) = e7ff04d609fd4f6e4d580abdc1f5cb85de77657b
+RMD160 (ja2-stracciatella/ja2-0.16.1.tar.gz) = 1333c76ff5141275f9cbd685176d1c729d902b96
+SHA512 (ja2-stracciatella/ja2-0.16.1.tar.gz) = 481d58fc852c6c22fc90d33e8d1f7abd81c43fefc23fe236abb6a2830d87816e06fc260e1acca1b8d2e811ff4245cf5a9ab75b288b201ad3a6dd75de667a5fb0
+Size (ja2-stracciatella/ja2-0.16.1.tar.gz) = 25971172 bytes
diff --git a/stracciatella/files/ja2.sh.in b/stracciatella/files/ja2.sh.in
new file mode 100644
index 0000000000..6ffd8673e2
--- /dev/null
+++ b/stracciatella/files/ja2.sh.in
@@ -0,0 +1,3 @@
+#!/bin/sh
+BIN=$(basename "$0")
+cd "@PREFIX@/share/games/ja2" && exec "@PREFIX@/share/games/ja2/$BIN" "$@"
Home |
Main Index |
Thread Index |
Old Index