summaryrefslogtreecommitdiff
path: root/games/multimc/files/patch-application_CMakeLists.txt
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-06-06 15:54:57 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-06-06 15:54:57 +0000
commit0ab76735dc6b38ccc38049f466bfd5912fea688e (patch)
tree266fef7eff13f5868b58ec455ad6d545e4c40ad0 /games/multimc/files/patch-application_CMakeLists.txt
parentRemove expired port: (diff)
New port: games/multimc
MultiMC is a custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once. It also allows you to easily install and remove mods by simply dragging and dropping. WWW: https://multimc.org PR: 224823 Submitted by: tsundoku <me@tsundoku.ne.jp> (based on)
Diffstat (limited to 'games/multimc/files/patch-application_CMakeLists.txt')
-rw-r--r--games/multimc/files/patch-application_CMakeLists.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/games/multimc/files/patch-application_CMakeLists.txt b/games/multimc/files/patch-application_CMakeLists.txt
new file mode 100644
index 000000000000..4ccfd7ec9938
--- /dev/null
+++ b/games/multimc/files/patch-application_CMakeLists.txt
@@ -0,0 +1,31 @@
+--- application/CMakeLists.txt.orig 2017-12-18 00:19:43 UTC
++++ application/CMakeLists.txt
+@@ -27,11 +27,11 @@ set(MultiMC_PASTE_EE_API_KEY "" CACHE ST
+ set(MultiMC_ANALYTICS_ID "" CACHE STRING "ID you can get from Google analytics")
+
+ #### Check the current Git commit and branch
+-include(GetGitRevisionDescription)
+-get_git_head_revision(MultiMC_GIT_REFSPEC MultiMC_GIT_COMMIT)
++#include(GetGitRevisionDescription)
++#get_git_head_revision(MultiMC_GIT_REFSPEC MultiMC_GIT_COMMIT)
+
+-message(STATUS "Git commit: ${MultiMC_GIT_COMMIT}")
+-message(STATUS "Git refspec: ${MultiMC_GIT_REFSPEC}")
++#message(STATUS "Git commit: ${MultiMC_GIT_COMMIT}")
++#message(STATUS "Git refspec: ${MultiMC_GIT_REFSPEC}")
+
+ set(MultiMC_RELEASE_VERSION_NAME "${MultiMC_VERSION_MAJOR}.${MultiMC_VERSION_MINOR}.${MultiMC_VERSION_HOTFIX}")
+
+@@ -390,9 +390,9 @@ elseif(MultiMC_LAYOUT_REAL STREQUAL "lin
+ install(PROGRAMS package/linux/MultiMC DESTINATION ${BUNDLE_DEST_DIR})
+
+ elseif(MultiMC_LAYOUT_REAL STREQUAL "lin-system")
+- set(MultiMC_BINARY_DEST_DIR "usr/bin" CACHE STRING "Relative path from packaging root to the binary directory")
+- set(MultiMC_LIBRARY_DEST_DIR "usr/lib" CACHE STRING "Relative path from packaging root to the library directory")
+- set(MultiMC_SHARE_DEST_DIR "usr/share/multimc" CACHE STRING "Relative path from packaging root to the shared data directory")
++ set(MultiMC_BINARY_DEST_DIR "usr/local/bin" CACHE STRING "Relative path from packaging root to the binary directory")
++ set(MultiMC_LIBRARY_DEST_DIR "usr/local/lib" CACHE STRING "Relative path from packaging root to the library directory")
++ set(MultiMC_SHARE_DEST_DIR "usr/local/share/multimc" CACHE STRING "Relative path from packaging root to the shared data directory")
+ set(MultiMC_APP_BINARY_NAME "multimc" CACHE STRING "Name of the MultiMC binary for the purposes of linux packaging")
+ set(JARS_DEST_DIR "${MultiMC_SHARE_DEST_DIR}")
+