openbsd-ports/games/witchblast/patches/patch-CMakeLists_txt
awolk df76910d32 import games/witchblast
submitted by Thomas Frohwein (thanks!)
OK sthen@

fishtank$ cat pkg/DESCR
Witch Blast is a free roguelite dungeon crawl shooter heavily inspired from
Binding Of Isaac. The player plays as a novice magician in a dungeon who is
trying to get as far as he can, using various items he can find to defeat the
inhabitants of the dungeon.
2017-12-26 20:14:34 +00:00

29 lines
773 B
Plaintext

$OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2017/12/26 20:14:34 awolk Exp $
Add Unix install targets that are missing in source
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -106,6 +106,20 @@ if(APPLE)
DESTINATION ".")
endif()
+if(UNIX)
+ install(PROGRAMS ${CMAKE_BINARY_DIR}/Witch_Blast DESTINATION ${CMAKE_INSTALL_PREFIX}/share/witchblast)
+ install(
+ DIRECTORY
+ ${CMAKE_SOURCE_DIR}/data
+ ${CMAKE_SOURCE_DIR}/media
+ DESTINATION
+ ${CMAKE_INSTALL_PREFIX}/share/witchblast)
+ install(FILES
+ ${CMAKE_SOURCE_DIR}/COPYING.txt
+ ${CMAKE_SOURCE_DIR}/readme.txt
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/witchblast)
+endif()
+
# Packaging
SET(CPACK_PACKAGE_VERSION "0.7.5")
SET(CPACK_PACKAGE_VERSION_MAJOR "0")