Cube is a 3D First Person Shooter that uses OpenGL and SDL. It features:
- Single- and multi-player gameplay
- In-engine editing of geometry in full 3D (you fly around the map, point
and drag stuff to select or modify it), which can even be done with
multiple people at once
- Simplistic, but effective fine grain vertex lighting that looks like
lightmapping and can do dynamic lights and shadows
- No need for any kind of map precompilation, even lighting is done on fly
- Very simplistic quad-tree world structure that can do slopes (height-
fields with caps) and slants, water
- Decent collision detection and physics
- Client/server networking that goes a long way in giving a lag-free game
experience
- Doom/Quake-style singleplayer and multiplayer game with some
uncompromising brutal old-school gameplay
===> The following configuration options are available for cube-2005.08.29_19:
DOCS=on: Build and/or install documentation
OPTIMIZED_CFLAGS=off: Use extra compiler optimizations
====> Clients and servers: you have to choose at least one of them
CLIENT=on: Build client
SERVER=on: Build dedicated server
===> Use 'make config' to modify these settings
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.
PR: 246767
Reviewed by: manu, bapt
Approved by: x11
Differential Revision: https://reviews.freebsd.org/D30824
Add USES=xorg USES=gl, ports categories e and g
Add USES=xorg and USES=gl to ports in categories starting with 'e' and 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
games/cube: Unbreak with Clang 6
clients2c.cpp:259:45: error: non-constant-expression cannot be narrowed from
type
'short' to 'float' in initializer list [-Wc++11-narrowing]
vec v = { ents[i].x, ents[i].y, ents[i].z };
^~~~~~~~~
clients2c.cpp:352:20: warning: ISO C++11 does not allow conversion from string
literal to 'char *' [-Wwritable-strings]
neterr("type");
^
http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475044_s336572/logs/cube-2005.08.29_17.log
- Add missing GL dependency
Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10845
Improve style, consistency and fix minor issues in Cube-based ports
- Convert to option helpers
- Drop unused libGLU dependency (except for games/cube)
- Track direct dependency on libX11 (for XFetchBytes)
- Drop redundant MKDIR before COPYTREE_* macros [1]
- Wrap cd related commands with parentheses [1]
- Wrap lines exceeding 80 characters
- Bump PORTREVISION to pick up changes in dependencies, plist (assaultcube)
and catch regressions early [1]
- games/assaultcube: CLIENT uses openal/vorbisfile *instead* of SDL_mixer
- games/assaultcube: drop unused gettext-tools dependency [1]
- games/assaultcube: convert to PLIST_DIRS [1]
- games/assaultcube: add patch for source/src/bot/bot_waypoint.cpp
file to fix "invalid source encoding" warning [1]
(Only the first 15 lines of the commit message are shown above )
- Fix invalid dereferencing of null reference which causes startup
crash for cube_client when built with clang 3.6 + -O1 or higher [1]
- Properly track libenet dependency [2]
PR: 197604 [1]
PR: 197605 [2]
Submitted by: dim [1]
Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it. Bump PORTREVISION on their dependent
ports except the ones that depend on these:
audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt
In these cases the same trick as in the recent gettext update is used.
(Only the first 15 lines of the commit message are shown above )
- Release ports maintained by games@
games@ team is quite small and inactive, so ports currently assigned
to it cannot be assumed as properly maintained. To not cause confusion
by making it look otherwise, and also to allow and promote adoption
by individual maintainers, release these ports back to the pool. Note
that this does not change the fact that games@ team still takes care
of these ports to excent of its capabilities.
Suggested by: marino
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.
Part II, Bump PORTREVISIONs.
PR: 192025
Tested by: antoine (-exp runs)
Approved by: portmgr (implicit)
- Tighten Makefile header and COMMENT line
- Utilize DISTVERSION (simplifies things)
- Sort the knobs, cleanup OPTIONS a bit, fix a typo
- Rename DEDICATED option to SERVER
- Define USE_GL more strictly as "glu" instead of vague "yes"
- Reformat port description for better readability
- Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions
Tested by: exp-run by pav
- Update devel/sdl12 to version 1.2.14.
- Update audio/sdl_mixer to version 1.2.11.
- Update graphics/sdl_gfx to version 2.0.20.
- Update graphics/sdl_image to version 1.2.10.
- Bump portrevisions for all ports depending on audio/sdl_mixer and
graphics/sdl_image.
- Update Mk/bsd.sdl.mk accordingly for the new shared lib versions.
PR: ports/142147ports/142248ports/142249
Approved by: miwi (mentor implicit)
For ports maintained by ports@FreeBSD.org, remove names and/or
e-mail addresses from the pkg-descr file that could reasonably
be mistaken for maintainer contact information in order to avoid
confusion on the part of users looking for support. As a pleasant
side effect this also avoids confusion and/or frustration for people
who are no longer maintaining those ports.
- Unbroke
- Use enet from ports collection rather than from cube distribution
to benefit from local patches [1]
- Fix OPTIONS checking to allow BATCH building
- Fix PLIST_SUB to generate correct pkg-plist when SERVER or CLIENT
not selected
- Add KNOB to build with optimized CFLAGS, also guarantee CFLAGS safety
- CXX safety
- Guarantee permissions safety by using INSTALL instead of CP [2]
- Bump up PORTREVISION because of [1] and [2]
Approved by: sem (mentor)
- Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
binary)
- Update graphics/sdl_ttf to version 2.0.8
- Update graphics/sdl_image to version 1.2.5
- Update audio/sdl_mixer to version 1.2.7
- Update net/sdl_net to version 1.2.6
- Update Mk/bsd.sdl.mk accordingly
- Fix dependent ports to fit the new directory structure and avoid several
API breakages
- Bump up portrevisions for all dependent ports to allow them to be upgraded
by portupgrade/portmaster etc tools
Approved by: kris (portmgr), sem (mentor)
- Update to version 2005.08.29.
- Allow building only the client or server (adding OPTIONS).
- Improve wrapper script (only create ~/.cube once and pass parameters to the
real executable).
- Install documentation (if !NOPORTDOCS).
- Build targets according to OPTIONS.
- IGNORE if no executables were selected.
- Format pkg-descr and add item.
- Copy autoexec.cfg in addition to config.cfg instead of symlinking it.
PR: ports/101037
Submitted by: alepulver (myself)
Approved by: maintainer (timeout)
o Add wrapper scripts for the executables cube_client and cube_server, and
place the programs in libexec because it needs to write files in the
data directory (otherwise it crashes).
o Use %%DATADIR%% in pkg-plist.
PR: ports/85270
Submitted by: Alejandro Pulver <alejandro@varnet.biz>
Approved by: maintainer