git: 546ae7667782 - main - games/cataclysm-dda: Add missing patch
Fernando Apesteguía
fernape at FreeBSD.org
Fri Jul 9 05:53:57 UTC 2021
The branch main has been updated by fernape:
URL: https://cgit.FreeBSD.org/ports/commit/?id=546ae7667782e11fc0e65c9c7e605f06a9eb087a
commit 546ae7667782e11fc0e65c9c7e605f06a9eb087a
Author: Fernando Apesteguía <fernape at FreeBSD.org>
AuthorDate: 2021-07-09 05:11:56 +0000
Commit: Fernando Apesteguía <fernape at FreeBSD.org>
CommitDate: 2021-07-09 05:49:30 +0000
games/cataclysm-dda: Add missing patch
Submitter forgot to include a patch in the previous update
PR: 256977
Reported by: greg at unrelenting.technology (maintainer)
Fixes: c0e6f62c86b7 - games/cataclysm-dda: update to 0.F
---
games/cataclysm-dda/files/patch-Makefile | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
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)
More information about the dev-commits-ports-all
mailing list