Skip to content

Commit

Permalink
games/jaggedalliance2: Moved man to share/man
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Feb 24, 2024
1 parent 086c2e6 commit fa8e8f7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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
Expand Down
11 changes: 11 additions & 0 deletions 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)
2 changes: 1 addition & 1 deletion 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
Expand Down

0 comments on commit fa8e8f7

Please sign in to comment.