aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 07:07:40 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 07:08:12 +0000
commitfa8e8f7483cdfd9e799ea5561f9cb7f39f2d8298 (patch)
treed4574bed09fce02d6e7d694699505e4a1c3ef206
parent086c2e65b2e9dd29e50b9a8235a316e3e1f9e405 (diff)
downloadports-fa8e8f7483cdfd9e799ea5561f9cb7f39f2d8298.tar.gz
ports-fa8e8f7483cdfd9e799ea5561f9cb7f39f2d8298.zip
games/jaggedalliance2: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--games/jaggedalliance2/Makefile2
-rw-r--r--games/jaggedalliance2/files/patch-CMakeLists.txt11
-rw-r--r--games/jaggedalliance2/pkg-plist2
3 files changed, 13 insertions, 2 deletions
diff --git a/games/jaggedalliance2/Makefile b/games/jaggedalliance2/Makefile
index b79f130685bd..c41994318371 100644
--- a/games/jaggedalliance2/Makefile
+++ b/games/jaggedalliance2/Makefile
@@ -1,7 +1,7 @@
PORTNAME= ja2
DISTVERSIONPREFIX= v
DISTVERSION= 0.21.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MAINTAINER= timp87@gmail.com
diff --git a/games/jaggedalliance2/files/patch-CMakeLists.txt b/games/jaggedalliance2/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..fbfde265234b
--- /dev/null
+++ b/games/jaggedalliance2/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2024-02-24 07:03:02 UTC
++++ CMakeLists.txt
+@@ -482,7 +482,7 @@ if (UNIX AND NOT MINGW AND NOT APPLE AND NOT ANDROID)
+ FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/icons/logo.svg
+ RENAME ja2-stracciatella.svg
+ DESTINATION share/icons/hicolor/scalable/apps)
+- if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|DragonFly|OpenBSD")
++ if(${CMAKE_SYSTEM_NAME} MATCHES "DragonFly|OpenBSD")
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/distr-files-linux/ja2_manpage DESTINATION man/man6 RENAME ja2.6)
+ else()
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/distr-files-linux/ja2_manpage DESTINATION share/man/man6 RENAME ja2.6)
diff --git a/games/jaggedalliance2/pkg-plist b/games/jaggedalliance2/pkg-plist
index 8220212ef795..20cadc25cdec 100644
--- a/games/jaggedalliance2/pkg-plist
+++ b/games/jaggedalliance2/pkg-plist
@@ -1,6 +1,6 @@
share/icons/hicolor/scalable/apps/ja2-stracciatella.svg
share/applications/ja2-stracciatella.desktop
-man/man6/ja2.6.gz
+share/man/man6/ja2.6.gz
bin/ja2-resource-pack
bin/ja2-launcher
bin/ja2