aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2021-07-09 05:11:56 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2021-07-09 05:49:30 +0000
commit546ae7667782e11fc0e65c9c7e605f06a9eb087a (patch)
treec180489b94e58c69253a378ea7827feda9a1781b /games
parent49195b3eb06ba5ec922a719016f3fde26a40c0bf (diff)
downloadports-546ae7667782e11fc0e65c9c7e605f06a9eb087a.tar.gz
ports-546ae7667782e11fc0e65c9c7e605f06a9eb087a.zip
games/cataclysm-dda: Add missing patch
Submitter forgot to include a patch in the previous update PR: 256977 Reported by: greg@unrelenting.technology (maintainer) Fixes: c0e6f62c86b7 - games/cataclysm-dda: update to 0.F
Diffstat (limited to 'games')
-rw-r--r--games/cataclysm-dda/files/patch-Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/games/cataclysm-dda/files/patch-Makefile b/games/cataclysm-dda/files/patch-Makefile
new file mode 100644
index 000000000000..57d46a7771df
--- /dev/null
+++ b/games/cataclysm-dda/files/patch-Makefile
@@ -0,0 +1,18 @@
+--- Makefile.orig 2021-07-03 05:00:06 UTC
++++ Makefile
+@@ -1017,9 +1017,12 @@ install: version $(TARGET)
+ cp -R --no-preserve=ownership data/help $(DATA_PREFIX)
+ ifeq ($(TILES), 1)
+ cp -R --no-preserve=ownership gfx $(DATA_PREFIX)
+- install -Dm755 -t $(SHARE_DIR)/applications/ data/xdg/org.cataclysmdda.CataclysmDDA.desktop
+- install -Dm644 -t $(SHARE_DIR)/metainfo/ data/xdg/org.cataclysmdda.CataclysmDDA.appdata.xml
+- install -Dm644 -t $(SHARE_DIR)/icons/hicolor/scalable/apps/ data/xdg/org.cataclysmdda.CataclysmDDA.svg
++ mkdir -p $(SHARE_DIR)/applications/
++ install -m 755 data/xdg/org.cataclysmdda.CataclysmDDA.desktop $(SHARE_DIR)/applications/
++ mkdir -p $(SHARE_DIR)/metainfo/
++ install -m 644 data/xdg/org.cataclysmdda.CataclysmDDA.appdata.xml $(SHARE_DIR)/metainfo/
++ mkdir -p $(SHARE_DIR)/icons/hicolor/scalable/apps/
++ install -m 644 data/xdg/org.cataclysmdda.CataclysmDDA.svg $(SHARE_DIR)/icons/hicolor/scalable/apps/
+ endif
+ ifeq ($(SOUND), 1)
+ cp -R --no-preserve=ownership data/sound $(DATA_PREFIX)