BSD Ports

misc/box2d 3.1.1 FreeBSD

2D physics engine for games

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
e910998f3b
License
MIT
Categories
misc
Package size
147.2 KiB, 408.8 KiB installed

Description

Box2D is a 2D physics engine for games.

Collision: * Continuous collision detection * Contact callbacks: begin, end, pre-solve, post-solve * Convex polygons and circles * Multiple shapes per body * One-shot contact manifolds * Dynamic tree broadphase * Efficient pair management * Fast broadphase AABB queries * Collision groups and categories

Physics: * Continuous physics with time of impact solver * Persistent body-joint-contact graph * Island solution and sleep management * Contact, friction, and restitution * Stable stacking with a linear-time solver * Revolute, prismatic, distance, pulley, gear, mouse joint, other joint types * Joint limits, motors, and friction * Momentum decoupled position correction

In the other systems

SystemPortVersion
FreeBSDmisc/box2d3.1.1
DragonFlymisc/box2d2.4.1
MidnightBSDmisc/box2d2.4.1
HardenedBSDmisc/box2d3.1.1
GhostBSDmisc/box2d3.1.1

Install

Binary package:

pkg install Box2D

From the ports tree:

cd /usr/ports/misc/box2d/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	Box2D>0:misc/box2d
LIB_DEPENDS=	libbox2d.so:misc/box2d

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.1.13.1.12.4.12.4.1-
FreeBSD:14:quarterly3.1.13.1.1n/a2.4.1-
FreeBSD:15:latest3.1.13.1.1n/a2.4.12.4.1
FreeBSD:15:quarterly3.1.13.1.1n/an/an/a
FreeBSD:16:latest3.1.13.1.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Required by 123

The first 100 are listed.

Configuration

No options to configure.

USES
cmake compiler:c++11-lang pkgconfig
Service scripts
none

Files

pkg-plist 13
  • include/box2d/base.h
  • include/box2d/box2d.h
  • include/box2d/collision.h
  • include/box2d/id.h
  • include/box2d/math_functions.h
  • include/box2d/types.h
  • lib/cmake/box2d/box2dConfig-.cmake
  • lib/cmake/box2d/box2dConfig.cmake
  • lib/cmake/box2d/box2dConfigVersion.cmake
  • lib/libbox2d.so
  • lib/libbox2d.so.3
  • lib/libbox2d.so.3.1.1
  • libdata/pkgconfig/box2d.pc
distinfo 1
FileSizeSHA256
erincatto-box2d-v3.1.1_GH0.tar.gz780115fb6ef914b50f4312d7d921a600eabc12318bb3c55a0b8c0b90608fa4488ef2e4

Commit history 2

DateCommitCreditsLog message
e910998f3b Yuri Victorovich misc/box2d: broken on i386
Reported by: fallout
cce1085962 Dima Panov misc/box2d: update to 3.1.1 release (+)
Also provide pkgconfig file required by LibreOffice With hat: office