Skip to content

Commit

Permalink
games/hoverboard-sdl: update 0.7.3 → 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Apr 28, 2022
1 parent 5a2a0dc commit e7f3bdc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 28 deletions.
3 changes: 1 addition & 2 deletions games/hoverboard-sdl/Makefile
@@ -1,6 +1,5 @@
PORTNAME= hoverboard
PORTVERSION= 0.7.3
PORTREVISION= 6
PORTVERSION= 0.8.0
CATEGORIES= games

MAINTAINER= amdmi3@FreeBSD.org
Expand Down
5 changes: 3 additions & 2 deletions games/hoverboard-sdl/distinfo
@@ -1,2 +1,3 @@
SHA256 (AMDmi3-hoverboard-sdl-0.7.3_GH0.tar.gz) = 59c51aea62d4a8771212986aef7cb9ed307802f995585a94100514eb16b7f1b4
SIZE (AMDmi3-hoverboard-sdl-0.7.3_GH0.tar.gz) = 3833983
TIMESTAMP = 1651172187
SHA256 (AMDmi3-hoverboard-sdl-0.8.0_GH0.tar.gz) = ed40bac3f15738c05921b63f771c6c39bbaac19edc08ccf2468c297fdcd8b54d
SIZE (AMDmi3-hoverboard-sdl-0.8.0_GH0.tar.gz) = 3832680
32 changes: 8 additions & 24 deletions games/hoverboard-sdl/files/patch-CMakeLists.txt
@@ -1,27 +1,11 @@
--- CMakeLists.txt.orig 2016-01-23 13:29:12 UTC
--- CMakeLists.txt.orig 2022-04-28 18:29:24 UTC
+++ CMakeLists.txt
@@ -27,14 +27,7 @@ IF(NOT MSVC)
ENDIF(NOT MSVC)
@@ -84,7 +84,7 @@ if(SYSTEMWIDE OR STANDALONE)
install(TARGETS hoverboard RUNTIME DESTINATION ${BINDIR})
install(DIRECTORY data/ DESTINATION ${DATADIR})

# depends
-IF(NOT EXISTS ${PROJECT_SOURCE_DIR}/extlibs/libSDL2pp/CMakeLists.txt)
- MESSAGE(FATAL_ERROR "The source directory\n ${PROJECT_SOURCE_DIR}/extlibs/libSDL2pp\ndoes not contain a CMakeLists.txt file.\nIt is likely that you forgot to run\n git submodule init && git submodule update")
-ENDIF(NOT EXISTS ${PROJECT_SOURCE_DIR}/extlibs/libSDL2pp/CMakeLists.txt)
-
-SET(SDL2PP_WITH_IMAGE TRUE)
-SET(SDL2PP_WITH_TTF TRUE)
-ADD_SUBDIRECTORY(extlibs/libSDL2pp)
-
+FIND_PACKAGE(SDL2PP)
FIND_PACKAGE(Threads)
- install(FILES README.md COPYING COPYING.DATA DESTINATION ${DOCSDIR})
+ install(FILES README.md DESTINATION ${DOCSDIR})

# definitions
@@ -81,7 +74,7 @@ IF(SYSTEMWIDE OR STANDALONE)
INSTALL(TARGETS hoverboard RUNTIME DESTINATION ${BINDIR})
INSTALL(DIRECTORY data/ DESTINATION ${DATADIR})

- INSTALL(FILES README.md COPYING COPYING.DATA DESTINATION ${DOCSDIR})
+ INSTALL(FILES README.md DESTINATION ${DOCSDIR})

IF(NOT WIN32)
CONFIGURE_FILE(misc/hoverboard.desktop.in misc/hoverboard.desktop)
if(NOT WIN32)
configure_file(misc/hoverboard.desktop.in misc/hoverboard.desktop)

0 comments on commit e7f3bdc

Please sign in to comment.