Standalone version of xkcd 1608 "Hoverboard" game originally available
at http://xkcd.com/1608/ WWW: https://github.com/AMDmi3/hoverboard-sdl
This commit is contained in:
parent
57d626d74f
commit
c8bcbdeaba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407182
@ -408,6 +408,7 @@
|
||||
SUBDIR += hohlin
|
||||
SUBDIR += hoichess
|
||||
SUBDIR += holotz-castle
|
||||
SUBDIR += hoverboard-sdl
|
||||
SUBDIR += hypatia_engine
|
||||
SUBDIR += iagno
|
||||
SUBDIR += icbm3d
|
||||
|
35
games/hoverboard-sdl/Makefile
Normal file
35
games/hoverboard-sdl/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= hoverboard
|
||||
PORTVERSION= 0.7.3
|
||||
CATEGORIES= games
|
||||
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
COMMENT= Standalone version of xkcd 1608 "Hoverboard" game
|
||||
|
||||
LICENSE= GPLv3+ CCbyNC25
|
||||
LICENSE_COMB= multi
|
||||
LICENSE_NAME_CCbyNC25= Creative Commons Attribution-NonCommercial 2.5 License
|
||||
LICENSE_TEXT_CCbyNC25= http://creativecommons.org/licenses/by-nc/2.5/
|
||||
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING
|
||||
LICENSE_PERMS_CCbyNC25= no-dist-sell dist-mirror no-pkg-sell pkg-mirror auto-accept
|
||||
|
||||
LIB_DEPENDS= libSDL2pp.so:${PORTSDIR}/devel/sdl2pp
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= AMDmi3
|
||||
GH_PROJECT= ${PORTNAME}-sdl
|
||||
|
||||
USES= cmake compiler:c++11-lib
|
||||
CMAKE_ARGS= -DSYSTEMWIDE=ON
|
||||
USE_SDL= sdl2 image2 ttf2
|
||||
|
||||
PORTDATA= *
|
||||
PORTDOCS= *
|
||||
PLIST_FILES= bin/${PORTNAME} \
|
||||
share/applications/${PORTNAME}.desktop
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.mk>
|
2
games/hoverboard-sdl/distinfo
Normal file
2
games/hoverboard-sdl/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (AMDmi3-hoverboard-sdl-0.7.3_GH0.tar.gz) = 59c51aea62d4a8771212986aef7cb9ed307802f995585a94100514eb16b7f1b4
|
||||
SIZE (AMDmi3-hoverboard-sdl-0.7.3_GH0.tar.gz) = 3833983
|
27
games/hoverboard-sdl/files/patch-CMakeLists.txt
Normal file
27
games/hoverboard-sdl/files/patch-CMakeLists.txt
Normal file
@ -0,0 +1,27 @@
|
||||
--- CMakeLists.txt.orig 2016-01-23 13:29:12 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -27,14 +27,7 @@ IF(NOT MSVC)
|
||||
ENDIF(NOT MSVC)
|
||||
|
||||
# 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)
|
||||
|
||||
# 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)
|
4
games/hoverboard-sdl/pkg-descr
Normal file
4
games/hoverboard-sdl/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Standalone version of xkcd 1608 "Hoverboard" game originally available
|
||||
at http://xkcd.com/1608/
|
||||
|
||||
WWW: https://github.com/AMDmi3/hoverboard-sdl
|
Loading…
Reference in New Issue
Block a user