[new port]: games/colobot: educational real-time strategy video game featuring 3D graphics

The objective of the game is to find a planet for colonization by the human race
by establishing a basic infrastructure on the surface and eliminating any alien
life forms endangering the expedition

You can program your units (bots) in a language called CBOT, which is
similar to C++ and Java.

Reviewed by:	tcberner
Differential Revision:  https://reviews.freebsd.org/D19481
This commit is contained in:
Fernando Apesteguía 2019-03-09 17:59:01 +00:00
parent dd87f5d4b8
commit c428ed3df6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495182
5 changed files with 3742 additions and 0 deletions

View File

@ -161,6 +161,7 @@
SUBDIR += cleanq3
SUBDIR += cockatrice
SUBDIR += coffeebreak
SUBDIR += colobot
SUBDIR += colorcode
SUBDIR += columns
SUBDIR += concentration

50
games/colobot/Makefile Normal file
View File

@ -0,0 +1,50 @@
# $FreeBSD$
PORTNAME= colobot
DISTVERSIONPREFIX= ${PORTNAME}-gold-
DISTVERSION= 0.1.12
DISTVERSIONSUFFIX= -alpha
CATEGORIES= games
MASTER_SITES= https://colobot.info/files/music/
DISTFILES= colobot-music_ogg_0.1.12-alpha.tar.gz
MAINTAINER= fernape@FreeBSD.org
COMMENT= Educational game aiming to teach programming to kids
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libpng.so:graphics/png \
libsndfile.so:audio/libsndfile \
libvorbis.so:audio/libvorbis \
libogg.so:audio/libogg \
libopenal.so:audio/openal-soft \
libphysfs.so:devel/physfs \
libboost_system.so:devel/boost-libs
USES= cmake gl gettext-runtime gettext-tools:build \
localbase:ldflags openal sdl
USE_SDL= image2 ttf2
USE_GL= gl glew glu
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_TUPLE= colobot:colobot-data:c467bd9:data
LLD_UNSAFE= yes
post-extract:
@${MV} ${WRKDIR}/colobot-data-c467bd9/* ${WRKSRC}/data
@${MV} ${WRKDIR}/*.ogg ${WRKDIR}/LICENSE.txt ${WRKSRC}/data/music/
@${REINPLACE_CMD} 's|$${CMAKE_INSTALL_PREFIX}/games|$${CMAKE_INSTALL_PREFIX}/bin|g' ${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} 's|PLATFORM_MACOSX|PLATFORM_MACOSX OR PLATFORM_OTHER|g' ${WRKSRC}/src/CMakeLists.txt
post-patch:
@${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cmake/FindGLEW.cmake
@${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cmake/FindPhysFS.cmake
@${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cmake/FindSDL2.cmake
@${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cmake/FindSDL2_image.cmake
@${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cmake/FindSDL2_ttf.cmake
@${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/tools/check-levels.sh
.include <bsd.port.mk>

7
games/colobot/distinfo Normal file
View File

@ -0,0 +1,7 @@
TIMESTAMP = 1551719919
SHA256 (colobot-music_ogg_0.1.12-alpha.tar.gz) = 55e89d244f1f63e2467ef71253ca881ee31279f02aac9ac4706ef26c466306e9
SIZE (colobot-music_ogg_0.1.12-alpha.tar.gz) = 55596353
SHA256 (colobot-colobot-colobot-gold-0.1.12-alpha_GH0.tar.gz) = 38e01a6fb8c670203b86e7a100c79ed4ab4a9a4dcc01fd26a6a57f40fa1a8b5c
SIZE (colobot-colobot-colobot-gold-0.1.12-alpha_GH0.tar.gz) = 1468594
SHA256 (colobot-colobot-data-c467bd9_GH0.tar.gz) = 4a6a53ea22970870d05a12ebf56f595d34d765a789ab3b0aae618f2747312c35
SIZE (colobot-colobot-data-c467bd9_GH0.tar.gz) = 54728879

11
games/colobot/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
Colobot is an educational real-time strategy video game featuring 3D graphics.
The objective of the game is to find a planet for colonization by the human race
by establishing a basic infrastructure on the surface and eliminating any alien
life forms endangering the expedition
You can program your units (bots) in a language called CBOT, which is
similar to C++ and Java. Your mission is to find a new planet to live and
survive. You can save the humanity and get programming skills!
WWW: https://colobot.info/

3673
games/colobot/pkg-plist Normal file

File diff suppressed because it is too large Load Diff