Page MenuHomeFreeBSD

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

Authored by fernape on Mar 6 2019, 6:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 3, 10:54 AM
Unknown Object (File)
Sun, Mar 3, 10:54 AM
Unknown Object (File)
Sun, Mar 3, 10:54 AM
Unknown Object (File)
Sun, Mar 3, 10:54 AM
Unknown Object (File)
Sun, Mar 3, 10:49 AM
Unknown Object (File)
Sun, Mar 3, 10:41 AM
Unknown Object (File)
Feb 25 2024, 3:44 PM
Unknown Object (File)
Dec 20 2023, 3:52 AM
Subscribers
None

Details

Summary

Add a new port requested in WantedPorts

From pkg-plist:

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!

I have some doubs about how I'm handling the different distributions (main
github repo, submodule and separate music files from another server).

Test Plan

Builds fine in {11.2,12.0}{amd64,i386} and in 13-CURRENT
It runs fine in 12.0 amd64

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 22914
Build 22000: arc lint + arc unit

Event Timeline

Add actual port to review.

linimon retitled this revision from [new port]: games/colobot to [new port]: games/colobot: educational real-time strategy video game featuring 3D graphics.Mar 6 2019, 6:29 PM
games/colobot/Makefile
34 ↗(On Diff #54776)

^ you should be able to easily patch src/CMakeLists.txt on line 100 to also apply to FreeBSD

37 ↗(On Diff #54776)

^ this should come from cmake.mk already -- if you leave it off, you'll also get debug builds when setting WITH_DEBUG.

  • Remove CMAKE_ARGS since they are the default
  • Remove LDFLAGS and modify src/CMakeLists.txt instead
  • Update pkg-plist to match actual installation paths

If there are no other objections, I'll go ahead and commit this one.

Yea, looks good to me.

This revision is now accepted and ready to land.Mar 9 2019, 5:44 PM

Yea, looks good to me.

Thanks!

This revision was automatically updated to reflect the committed changes.
head/games/colobot/Makefile
8–9 ↗(On Diff #54878)

This should probably not be in the :DEFAULT group, but in a different group, say, :music or something, so that the framework does not try to fetch that one from github and the github one from here:

$  make fetch-urlall-list
http://distcache.FreeBSD.org/ports-distfiles/colobot-music_ogg_0.1.12-alpha.tar.gz
https://colobot.info/files/music/colobot-music_ogg_0.1.12-alpha.tar.gz
https://codeload.github.com/colobot/colobot/tar.gz/colobot-gold-0.1.12-alpha?dummy=/colobot-music_ogg_0.1.12-alpha.tar.gz
http://distcache.FreeBSD.org/ports-distfiles/colobot-colobot-colobot-gold-0.1.12-alpha_GH0.tar.gz
https://colobot.info/files/music/colobot-colobot-colobot-gold-0.1.12-alpha_GH0.tar.gz
https://codeload.github.com/colobot/colobot/tar.gz/colobot-gold-0.1.12-alpha?dummy=/colobot-colobot-colobot-gold-0.1.12-alpha_GH0.tar.gz
http://distcache.FreeBSD.org/ports-distfiles/colobot-colobot-data-c467bd9_GH0.tar.gz
https://codeload.github.com/colobot/colobot-data/tar.gz/c467bd9?dummy=/colobot-colobot-data-c467bd9_GH0.tar.gz