Import games/cataclysm-dda, a rogue-like zombie survival game.
Submitted by Tim Meunier <trondd AT kagu-tsuchi DOT com>, who takes MAINTAINER. ok and help and guidance sthen@ Cataclysm: Dark Days Ahead is a roguelike set in a post-apocalyptic world. Surviving is difficult: you have been thrown, ill-equipped, into a landscape now riddled with monstrosities of which flesh eating zombies are neither the strangest nor the deadliest. Yet with care and a little luck, many things are possible. You may try to eke out an existence in the forests silently executing threats and providing sustenance with your longbow. You can ride into town in a jerry-rigged vehicle, all guns blazing, to settle matters in a fug of smoke from your molotovs. You could take a more measured approach and construct an impregnable fortress, surrounded by traps to protect you from the horrors without. The longer you survive, the more skilled and adapted you will get and the better equipped and armed to deal with the threats you are presented with. In the course of your ordeal there will be opportunities and temptations to improve or change your very nature. There are tales of survivors fitted with extraordinary cybernetics giving great power and stories too of gravely mutated survivors who, warped by their ingestion of exotic substances or radiation, now more closely resemble insects, birds or fish than their original form.
This commit is contained in:
parent
deb36e51af
commit
ad19a82317
58
games/cataclysm-dda/Makefile
Normal file
58
games/cataclysm-dda/Makefile
Normal file
@ -0,0 +1,58 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2017/10/29 17:27:18 bcallah Exp $
|
||||
|
||||
COMMENT= rogue-like zombie survival game
|
||||
DISTNAME= cataclysm-dda-2017.10.13
|
||||
CATEGORIES= games
|
||||
|
||||
GH_ACCOUNT= CleverRaven
|
||||
GH_PROJECT= Cataclysm-DDA
|
||||
GH_COMMIT= f3fabc4047fadb4bcb4707d9d6b3bd7ff77e557c
|
||||
|
||||
HOMEPAGE= http://en.cataclysmdda.com
|
||||
MAINTAINER= Tim Meunier <trondd@kagu-tsuchi.com>
|
||||
|
||||
# Creative Commons 3.0
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
FLAVORS= no_x11
|
||||
FLAVOR?=
|
||||
|
||||
WANTLIB= ${COMPILER_LIBCXX} ${MODLUA_WANTLIB} c \
|
||||
iconv intl m pthread
|
||||
|
||||
MODULES= lang/lua \
|
||||
textproc/intltool
|
||||
MODLUA_VERSION= 5.3
|
||||
MODLUA_SA= Yes
|
||||
|
||||
BUILD_DEPENDS= devel/libexecinfo
|
||||
|
||||
LIB_DEPENDS= devel/gettext
|
||||
|
||||
MAKE_ENV= CXXFLAGS="${CXXFLAGS}"
|
||||
|
||||
MAKE_FLAGS= CLANG="${CXX}" RELEASE=1 USE_XDG_DIR=1 LOCALIZE=1 \
|
||||
LANGUAGES=all LUA=1 LUA_BINARY=${MODLUA_BIN}
|
||||
|
||||
.if ${FLAVOR:Mno_x11}
|
||||
WANTLIB+= ncurses
|
||||
.else
|
||||
WANTLIB+= SDL2 SDL2_image SDL2_mixer SDL2_ttf
|
||||
|
||||
LIB_DEPENDS+= devel/sdl2-mixer \
|
||||
devel/sdl2-image \
|
||||
devel/sdl2-ttf
|
||||
|
||||
MAKE_FLAGS+= TILES=1 SOUND=1
|
||||
|
||||
MAN_TILES= -tiles
|
||||
.endif
|
||||
|
||||
USE_GMAKE= Yes
|
||||
|
||||
NO_TEST= Yes
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/cataclysm${MAN_TILES}.6 ${PREFIX}/man/man6/
|
||||
|
||||
.include <bsd.port.mk>
|
2
games/cataclysm-dda/distinfo
Normal file
2
games/cataclysm-dda/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (cataclysm-dda-2017.10.13-f3fabc40.tar.gz) = gb6NEw+RUFg+qnRFLj0Iebol3kUnov7Lyy2MXJoIv2U=
|
||||
SIZE (cataclysm-dda-2017.10.13-f3fabc40.tar.gz) = 56255948
|
144
games/cataclysm-dda/patches/patch-Makefile
Normal file
144
games/cataclysm-dda/patches/patch-Makefile
Normal file
@ -0,0 +1,144 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2017/10/29 17:27:18 bcallah Exp $
|
||||
|
||||
Index: Makefile
|
||||
--- Makefile.orig
|
||||
+++ Makefile
|
||||
@@ -80,7 +80,6 @@
|
||||
# RELEASE is flags for release builds, this disables some debugging flags and
|
||||
# enforces build failure when warnings are encountered.
|
||||
# We want to error on everything to make sure we don't check in code with new warnings.
|
||||
-RELEASE_FLAGS = -Werror
|
||||
WARNINGS = -Wall -Wextra
|
||||
# Uncomment below to disable warnings
|
||||
#WARNINGS = -w
|
||||
@@ -232,7 +231,6 @@ ifdef RELEASE
|
||||
OPTLEVEL = -O3
|
||||
endif
|
||||
endif
|
||||
- CXXFLAGS += $(OPTLEVEL)
|
||||
|
||||
ifdef LTO
|
||||
LDFLAGS += -fuse-ld=gold
|
||||
@@ -253,7 +251,7 @@ ifdef RELEASE
|
||||
endif
|
||||
DEFINES += -DRELEASE
|
||||
# Check for astyle or JSON regressions on release builds.
|
||||
- CHECKS = astyle-check style-json
|
||||
+ CHECKS = style-json
|
||||
endif
|
||||
|
||||
ifndef RELEASE
|
||||
@@ -268,7 +266,7 @@ endif
|
||||
ifeq ($(shell sh -c 'uname -o 2>/dev/null || echo not'),Cygwin)
|
||||
OTHERS += -std=gnu++11
|
||||
else
|
||||
- OTHERS += -std=c++11
|
||||
+ OTHERS += -std=c++11 -I${LOCALBASE}/include
|
||||
endif
|
||||
|
||||
CXXFLAGS += $(WARNINGS) $(DEBUG) $(DEBUGSYMS) $(PROFILE) $(OTHERS) -MMD -MP
|
||||
@@ -407,11 +405,6 @@ ifdef MAPSIZE
|
||||
CXXFLAGS += -DMAPSIZE=$(MAPSIZE)
|
||||
endif
|
||||
|
||||
-ifeq ($(shell git rev-parse --is-inside-work-tree),true)
|
||||
- # We have a git repository, use git version
|
||||
- DEFINES += -DGIT_VERSION
|
||||
-endif
|
||||
-
|
||||
PKG_CONFIG = $(CROSS)pkg-config
|
||||
SDL2_CONFIG = $(CROSS)sdl2-config
|
||||
|
||||
@@ -464,7 +457,7 @@ ifdef LUA
|
||||
else
|
||||
ifdef LUA_USE_PKGCONFIG
|
||||
# On unix-like systems, use pkg-config to find lua
|
||||
- LUA_CANDIDATES = lua5.3 lua5.2 lua-5.3 lua-5.2 lua5.1 lua-5.1 lua $(LUA_BINARY)
|
||||
+ LUA_CANDIDATES = lua5.3 lua5.2 lua-5.3 lua-5.2 lua53 lua52 lua5.1 lua-5.1 lua51 lua $(LUA_BINARY)
|
||||
LUA_FOUND = $(firstword $(foreach lua,$(LUA_CANDIDATES),\
|
||||
$(shell if $(PKG_CONFIG) --silence-errors --exists $(lua); then echo $(lua);fi)))
|
||||
LUA_PKG = $(if $(LUA_FOUND),$(LUA_FOUND),$(error "Lua not found by $(PKG_CONFIG), install it or make without 'LUA=1'"))
|
||||
@@ -696,7 +689,6 @@ $(BUILD_PREFIX)$(TARGET_NAME).a: $(ODIR) $(OBJS)
|
||||
.PHONY: version json-verify
|
||||
version:
|
||||
@( VERSION_STRING=$(VERSION) ; \
|
||||
- [ -e ".git" ] && GITVERSION=$$( git describe --tags --always --dirty --match "[0-9A-Z]*.[0-9A-Z]*" ) && VERSION_STRING=$$GITVERSION ; \
|
||||
[ -e "$(SRC_DIR)/version.h" ] && OLDVERSION=$$(grep VERSION $(SRC_DIR)/version.h|cut -d '"' -f2) ; \
|
||||
if [ "x$$VERSION_STRING" != "x$$OLDVERSION" ]; then echo "#define VERSION \"$$VERSION_STRING\"" | tee $(SRC_DIR)/version.h ; fi \
|
||||
)
|
||||
@@ -750,35 +742,35 @@ distclean:
|
||||
bindist: $(BINDIST)
|
||||
|
||||
ifeq ($(TARGETSYSTEM), LINUX)
|
||||
-DATA_PREFIX=$(DESTDIR)$(PREFIX)/share/cataclysm-dda/
|
||||
-BIN_PREFIX=$(DESTDIR)$(PREFIX)/bin
|
||||
-LOCALE_DIR=$(DESTDIR)$(PREFIX)/share/locale
|
||||
+DATA_PREFIX=$(PREFIX)/share/cataclysm-dda/
|
||||
+BIN_PREFIX=$(PREFIX)/bin
|
||||
+LOCALE_DIR=$(PREFIX)/share/locale
|
||||
install: version $(TARGET)
|
||||
mkdir -p $(DATA_PREFIX)
|
||||
mkdir -p $(BIN_PREFIX)
|
||||
- install --mode=755 $(TARGET) $(BIN_PREFIX)
|
||||
- cp -R --no-preserve=ownership data/core $(DATA_PREFIX)
|
||||
- cp -R --no-preserve=ownership data/font $(DATA_PREFIX)
|
||||
- cp -R --no-preserve=ownership data/json $(DATA_PREFIX)
|
||||
- cp -R --no-preserve=ownership data/mods $(DATA_PREFIX)
|
||||
- cp -R --no-preserve=ownership data/names $(DATA_PREFIX)
|
||||
- cp -R --no-preserve=ownership data/raw $(DATA_PREFIX)
|
||||
- cp -R --no-preserve=ownership data/motd $(DATA_PREFIX)
|
||||
- cp -R --no-preserve=ownership data/credits $(DATA_PREFIX)
|
||||
- cp -R --no-preserve=ownership data/title $(DATA_PREFIX)
|
||||
+ install -m 755 $(TARGET) $(BIN_PREFIX)
|
||||
+ cp -R data/core $(DATA_PREFIX)
|
||||
+ cp -R data/font $(DATA_PREFIX)
|
||||
+ cp -R data/json $(DATA_PREFIX)
|
||||
+ cp -R data/mods $(DATA_PREFIX)
|
||||
+ cp -R data/names $(DATA_PREFIX)
|
||||
+ cp -R data/raw $(DATA_PREFIX)
|
||||
+ cp -R data/motd $(DATA_PREFIX)
|
||||
+ cp -R data/credits $(DATA_PREFIX)
|
||||
+ cp -R data/title $(DATA_PREFIX)
|
||||
ifdef TILES
|
||||
- cp -R --no-preserve=ownership gfx $(DATA_PREFIX)
|
||||
+ cp -R gfx $(DATA_PREFIX)
|
||||
endif
|
||||
ifdef SOUND
|
||||
- cp -R --no-preserve=ownership data/sound $(DATA_PREFIX)
|
||||
+ cp -R data/sound $(DATA_PREFIX)
|
||||
endif
|
||||
ifdef LUA
|
||||
mkdir -p $(DATA_PREFIX)/lua
|
||||
- install --mode=644 lua/autoexec.lua $(DATA_PREFIX)/lua
|
||||
- install --mode=644 lua/class_definitions.lua $(DATA_PREFIX)/lua
|
||||
+ install -m 644 lua/autoexec.lua $(DATA_PREFIX)/lua
|
||||
+ install -m 644 lua/class_definitions.lua $(DATA_PREFIX)/lua
|
||||
endif
|
||||
- install --mode=644 data/changelog.txt data/cataicon.ico data/fontdata.json \
|
||||
- LICENSE.txt -t $(DATA_PREFIX)
|
||||
+ install -m 644 data/changelog.txt data/cataicon.ico data/fontdata.json \
|
||||
+ LICENSE.txt $(DATA_PREFIX)
|
||||
mkdir -p $(LOCALE_DIR)
|
||||
ifdef LANGUAGES
|
||||
LOCALE_DIR=$(LOCALE_DIR) lang/compile_mo.sh $(LANGUAGES)
|
||||
@@ -947,11 +939,6 @@ astyle-all: $(SOURCES) $(HEADERS) $(TESTSRC) $(TESTHDR
|
||||
$(ASTYLE_BINARY) --options=.astylerc -n $(SOURCES) $(HEADERS)
|
||||
$(ASTYLE_BINARY) --options=.astylerc -n $(TESTSRC) $(TESTHDR)
|
||||
|
||||
-# Test whether the system has a version of astyle that supports --dry-run
|
||||
-ifeq ($(shell if $(ASTYLE_BINARY) -Q -X --dry-run src/game.h > /dev/null; then echo foo; fi),foo)
|
||||
-ASTYLE_CHECK=$(shell LC_ALL=C $(ASTYLE_BINARY) --options=.astylerc --dry-run -X -Q $(ASTYLED_WHITELIST))
|
||||
-endif
|
||||
-
|
||||
astyle-check:
|
||||
ifdef ASTYLE_CHECK
|
||||
@if [ "$(findstring Formatted,$(ASTYLE_CHECK))" = "" ]; then echo "no astyle regressions";\
|
||||
@@ -961,7 +948,7 @@ else
|
||||
endif
|
||||
|
||||
style-json: json_whitelist json_formatter
|
||||
- xargs -a json_whitelist -L 1 tools/format/json_formatter.cgi
|
||||
+ cat json_whitelist | xargs -L 1 tools/format/json_formatter.cgi
|
||||
|
||||
style-all-json: json_formatter
|
||||
find data -name "*.json" -print0 | xargs -0 -L 1 tools/format/json_formatter.cgi
|
18
games/cataclysm-dda/pkg/DESCR
Normal file
18
games/cataclysm-dda/pkg/DESCR
Normal file
@ -0,0 +1,18 @@
|
||||
Cataclysm: Dark Days Ahead is a roguelike set in a post-apocalyptic
|
||||
world. Surviving is difficult: you have been thrown, ill-equipped, into
|
||||
a landscape now riddled with monstrosities of which flesh eating zombies
|
||||
are neither the strangest nor the deadliest. Yet with care and a little
|
||||
luck, many things are possible. You may try to eke out an existence in
|
||||
the forests silently executing threats and providing sustenance with
|
||||
your longbow. You can ride into town in a jerry-rigged vehicle, all guns
|
||||
blazing, to settle matters in a fug of smoke from your molotovs. You
|
||||
could take a more measured approach and construct an impregnable
|
||||
fortress, surrounded by traps to protect you from the horrors without.
|
||||
The longer you survive, the more skilled and adapted you will get and
|
||||
the better equipped and armed to deal with the threats you are presented
|
||||
with. In the course of your ordeal there will be opportunities and
|
||||
temptations to improve or change your very nature. There are tales of
|
||||
survivors fitted with extraordinary cybernetics giving great power and
|
||||
stories too of gravely mutated survivors who, warped by their ingestion
|
||||
of exotic substances or radiation, now more closely resemble insects,
|
||||
birds or fish than their original form.
|
93
games/cataclysm-dda/pkg/PFRAG.no-no_x11
Normal file
93
games/cataclysm-dda/pkg/PFRAG.no-no_x11
Normal file
@ -0,0 +1,93 @@
|
||||
@comment $OpenBSD: PFRAG.no-no_x11,v 1.1.1.1 2017/10/29 17:27:19 bcallah Exp $
|
||||
@bin bin/cataclysm-tiles
|
||||
@man man/man6/cataclysm-tiles.6
|
||||
share/cataclysm-dda/gfx/
|
||||
share/cataclysm-dda/gfx/BlockheadTileset/
|
||||
share/cataclysm-dda/gfx/BlockheadTileset/blockheadtiles.png
|
||||
share/cataclysm-dda/gfx/BlockheadTileset/tile_config.json
|
||||
share/cataclysm-dda/gfx/BlockheadTileset/tileset.txt
|
||||
share/cataclysm-dda/gfx/ChestHole16Tileset/
|
||||
share/cataclysm-dda/gfx/ChestHole16Tileset/fallback.png
|
||||
share/cataclysm-dda/gfx/ChestHole16Tileset/tile_config.json
|
||||
share/cataclysm-dda/gfx/ChestHole16Tileset/tiles.png
|
||||
share/cataclysm-dda/gfx/ChestHole16Tileset/tiles24.png
|
||||
share/cataclysm-dda/gfx/ChestHole16Tileset/tileset.txt
|
||||
share/cataclysm-dda/gfx/ChestHole32Tileset/
|
||||
share/cataclysm-dda/gfx/ChestHole32Tileset/fallback.png
|
||||
share/cataclysm-dda/gfx/ChestHole32Tileset/tile_config.json
|
||||
share/cataclysm-dda/gfx/ChestHole32Tileset/tiles.png
|
||||
share/cataclysm-dda/gfx/ChestHole32Tileset/tiles48.png
|
||||
share/cataclysm-dda/gfx/ChestHole32Tileset/tileset.txt
|
||||
share/cataclysm-dda/gfx/ChestHole32Tileset/tilesold.png
|
||||
share/cataclysm-dda/gfx/ChestHole32Tileset/tree.png
|
||||
share/cataclysm-dda/gfx/ChestHole32Tileset_iso/
|
||||
share/cataclysm-dda/gfx/ChestHole32Tileset_iso/fallback.png
|
||||
share/cataclysm-dda/gfx/ChestHole32Tileset_iso/tile_config.json
|
||||
share/cataclysm-dda/gfx/ChestHole32Tileset_iso/tiles.png
|
||||
share/cataclysm-dda/gfx/ChestHole32Tileset_iso/tiles48.png
|
||||
share/cataclysm-dda/gfx/ChestHole32Tileset_iso/tileset.txt
|
||||
share/cataclysm-dda/gfx/ChestHoleTileset/
|
||||
share/cataclysm-dda/gfx/ChestHoleTileset/fallback.png
|
||||
share/cataclysm-dda/gfx/ChestHoleTileset/tile_config.json
|
||||
share/cataclysm-dda/gfx/ChestHoleTileset/tiles.png
|
||||
share/cataclysm-dda/gfx/ChestHoleTileset/tiles32.png
|
||||
share/cataclysm-dda/gfx/ChestHoleTileset/tileset.txt
|
||||
share/cataclysm-dda/gfx/ChestHoleTileset/tree.png
|
||||
share/cataclysm-dda/gfx/DeonTileset/
|
||||
share/cataclysm-dda/gfx/DeonTileset/deontiles.png
|
||||
share/cataclysm-dda/gfx/DeonTileset/tile_config.json
|
||||
share/cataclysm-dda/gfx/DeonTileset/tileset.txt
|
||||
share/cataclysm-dda/gfx/HitButton_iso/
|
||||
share/cataclysm-dda/gfx/HitButton_iso/HitButton_iso.png
|
||||
share/cataclysm-dda/gfx/HitButton_iso/fallback.png
|
||||
share/cataclysm-dda/gfx/HitButton_iso/tile_config.json
|
||||
share/cataclysm-dda/gfx/HitButton_iso/tileset.txt
|
||||
share/cataclysm-dda/gfx/HoderTileset/
|
||||
share/cataclysm-dda/gfx/HoderTileset/hodertiles.png
|
||||
share/cataclysm-dda/gfx/HoderTileset/tile_config.json
|
||||
share/cataclysm-dda/gfx/HoderTileset/tileset.txt
|
||||
share/cataclysm-dda/gfx/MShock24TilesetModded/
|
||||
share/cataclysm-dda/gfx/MShock24TilesetModded/fallback.png
|
||||
share/cataclysm-dda/gfx/MShock24TilesetModded/tile_config.json
|
||||
share/cataclysm-dda/gfx/MShock24TilesetModded/tiles.png
|
||||
share/cataclysm-dda/gfx/MShock24TilesetModded/tileset.txt
|
||||
share/cataclysm-dda/gfx/MShock32TilesetModded/
|
||||
share/cataclysm-dda/gfx/MShock32TilesetModded/fallback.png
|
||||
share/cataclysm-dda/gfx/MShock32TilesetModded/tile_config.json
|
||||
share/cataclysm-dda/gfx/MShock32TilesetModded/tiles.png
|
||||
share/cataclysm-dda/gfx/MShock32TilesetModded/tileset.txt
|
||||
share/cataclysm-dda/gfx/RetroASCIITileset/
|
||||
share/cataclysm-dda/gfx/RetroASCIITileset/retroasciitiles.png
|
||||
share/cataclysm-dda/gfx/RetroASCIITileset/tile_config.json
|
||||
share/cataclysm-dda/gfx/RetroASCIITileset/tileset.txt
|
||||
share/cataclysm-dda/gfx/RetroDaysTileset10/
|
||||
share/cataclysm-dda/gfx/RetroDaysTileset10/retrodaysfallback10.png
|
||||
share/cataclysm-dda/gfx/RetroDaysTileset10/retrodaystiles10.png
|
||||
share/cataclysm-dda/gfx/RetroDaysTileset10/tile_config.json
|
||||
share/cataclysm-dda/gfx/RetroDaysTileset10/tileset.txt
|
||||
share/cataclysm-dda/gfx/RetroDaysTileset20/
|
||||
share/cataclysm-dda/gfx/RetroDaysTileset20/tile_config.json
|
||||
share/cataclysm-dda/gfx/RetroDaysTileset20/tileset.txt
|
||||
share/cataclysm-dda/gfx/RetroDaysTileset20_iso/
|
||||
share/cataclysm-dda/gfx/RetroDaysTileset20_iso/retrodaystiles20.png
|
||||
share/cataclysm-dda/gfx/RetroDaysTileset20_iso/tile_config.json
|
||||
share/cataclysm-dda/gfx/ThuztorTileset@/
|
||||
share/cataclysm-dda/gfx/ThuztorTileset@/thuztortiles@.png
|
||||
share/cataclysm-dda/gfx/ThuztorTileset@/tile_config.json
|
||||
share/cataclysm-dda/gfx/ThuztorTileset@/tileset.txt
|
||||
share/cataclysm-dda/gfx/TsuTileset/
|
||||
share/cataclysm-dda/gfx/TsuTileset/tile_config.json
|
||||
share/cataclysm-dda/gfx/TsuTileset/tileset.txt
|
||||
share/cataclysm-dda/gfx/TsuTileset/tsutiles.png
|
||||
share/cataclysm-dda/gfx/make_iso.py
|
||||
share/cataclysm-dda/gfx/tile.png
|
||||
share/cataclysm-dda/gfx/tile_config.json
|
||||
share/cataclysm-dda/gfx/tile_config_template.json
|
||||
share/cataclysm-dda/gfx/tinytile.png
|
||||
share/cataclysm-dda/sound/
|
||||
share/cataclysm-dda/sound/Basic/
|
||||
share/cataclysm-dda/sound/Basic/menu_error.wav
|
||||
share/cataclysm-dda/sound/Basic/menu_move.wav
|
||||
share/cataclysm-dda/sound/Basic/musicset.json
|
||||
share/cataclysm-dda/sound/Basic/soundpack.txt
|
||||
share/cataclysm-dda/sound/Basic/soundset.json
|
3
games/cataclysm-dda/pkg/PFRAG.no_x11
Normal file
3
games/cataclysm-dda/pkg/PFRAG.no_x11
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.no_x11,v 1.1.1.1 2017/10/29 17:27:19 bcallah Exp $
|
||||
@bin bin/cataclysm
|
||||
@man man/man6/cataclysm.6
|
1542
games/cataclysm-dda/pkg/PLIST
Normal file
1542
games/cataclysm-dda/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user