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)
Wed, Dec 11, 12:32 PM
Unknown Object (File)
Sun, Dec 1, 8:15 PM
Unknown Object (File)
Sat, Nov 30, 3:01 PM
Unknown Object (File)
Nov 25 2024, 9:41 PM
Unknown Object (File)
Nov 25 2024, 4:35 PM
Unknown Object (File)
Nov 25 2024, 4:35 PM
Unknown Object (File)
Nov 25 2024, 4:07 PM
Unknown Object (File)
Nov 25 2024, 7:12 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 22939
Build 22022: 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
35

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

38

^ 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