Port details
box2d 2D physics engine for games
3.1.1,1 misc Σ=4 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.1.1Version of this port present on the latest quarterly branch. upstream: v3.2.0A newer version was found upstream by portscout, first on 2026-11-08.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-02-19 04:24:51
Last Update: 2026-11-07 14:37:30
Commit Hash: 82d5696
People watching this port, also watch: libgd, docbook-xml, gmake, png, unzip
License: MIT
WWW:
https://box2d.org/
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
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (21 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/Box2D-3.1.1,1/catalog.mk
  3. /usr/local/share/licenses/Box2D-3.1.1,1/LICENSE
  4. /usr/local/share/licenses/Box2D-3.1.1,1/MIT
  5. share/sbom/pc/Box2D.pc
  6. include/box2d/base.h
  7. include/box2d/box2d.h
  8. include/box2d/collision.h
  9. include/box2d/id.h
  10. include/box2d/math_functions.h
  11. include/box2d/types.h
  12. lib/cmake/box2d/box2dConfig-release.cmake
  13. lib/cmake/box2d/box2dConfig.cmake
  14. lib/cmake/box2d/box2dConfigVersion.cmake
  15. lib/libbox2d.so
  16. lib/libbox2d.so.3
  17. lib/libbox2d.so.3.1.1
  18. libdata/pkgconfig/box2d.pc
  19. @owner
  20. @group
  21. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • For RUN/BUILD depends:
    • Box2D>0:misc/box2d
  • For LIB depends:
    • libbox2d.so:misc/box2d
To install the port: #
cd /usr/ports/misc/box2d/ && make install clean
To add the package, run one of these commands:
  • pkg install misc/box2d
  • pkg install Box2D
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: Box2D
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1783938265 SHA256 (erincatto-box2d-v3.1.1_GH0.tar.gz) = fb6ef914b50f4312d7d921a600eabc12318bb3c55a0b8c0b90608fa4488ef2e4 SIZE (erincatto-box2d-v3.1.1_GH0.tar.gz) = 780115

Packages (timestamps in pop-ups are UTC): #
Box2D
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest3.1.1,13.1.1,1-2.4.1-
FreeBSD:14:quarterly3.1.13.1.1-2.4.1-
FreeBSD:15:latest3.1.1,13.1.1,1n/a2.4.1n/a
FreeBSD:15:quarterly3.1.13.1.1n/a-n/a
FreeBSD:16:latest CURRENT3.1.1,13.1.1,1n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
  3. pkgconf>=1.3.0_1 : devel/pkgconf
This port is required by: #
for Libraries #
  1. editors/libreoffice
  2. graphics/magnum-examples
  3. graphics/py-box2d-py

Configuration Options: #
No options to configure
Options name: #
misc_box2d
USES: #
cmake compiler:c++11-lang pkgconfig
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/erincatto/box2d/tar.gz/v3.1.1?dummy=/
Collapse this list.

Number of commits found: 11 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.1.1,1
07 Nov 2026 14:37:30
commit hash: 82d56969fd5175e3ec9bdb3e65a4dc724774a81fcommit hash: 82d56969fd5175e3ec9bdb3e65a4dc724774a81fcommit hash: 82d56969fd5175e3ec9bdb3e65a4dc724774a81fcommit hash: 82d56969fd5175e3ec9bdb3e65a4dc724774a81f files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/box2d: revert "misc/box2d: update 3.1.1 → 3.2.0"

This reverts commit cbb4908e47f0db43bb44961ea2b9c9500485aa35.

Reported by:	fluffy@FreeBSD.org
3.2.0
05 Nov 2026 20:04:25
commit hash: cbb4908e47f0db43bb44961ea2b9c9500485aa35commit hash: cbb4908e47f0db43bb44961ea2b9c9500485aa35commit hash: cbb4908e47f0db43bb44961ea2b9c9500485aa35commit hash: cbb4908e47f0db43bb44961ea2b9c9500485aa35 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/box2d: update 3.1.1 → 3.2.0
3.1.1
04 Oct 2026 09:29:35
commit hash: e910998f3b45a76715a9f5b63849adc76ba75e6acommit hash: e910998f3b45a76715a9f5b63849adc76ba75e6acommit hash: e910998f3b45a76715a9f5b63849adc76ba75e6acommit hash: e910998f3b45a76715a9f5b63849adc76ba75e6a files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/box2d: broken on i386

Reported by:	fallout
3.1.1
04 Sep 2026 15:22:50
commit hash: cce1085962d632e14e3d7cdfa21a124d98fa42b5commit hash: cce1085962d632e14e3d7cdfa21a124d98fa42b5commit hash: cce1085962d632e14e3d7cdfa21a124d98fa42b5commit hash: cce1085962d632e14e3d7cdfa21a124d98fa42b5 files touched by this commit
Dima Panov (fluffy) search for other commits by this committer
misc/box2d: update to 3.1.1 release (+)

Also provide pkgconfig file required by LibreOffice

With hat:	office
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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)
2.4.1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
2.4.1
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2.4.1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.4.1
07 Mar 2021 23:46:03
Revision:567799commit hash: 623935db10d89601b942e177eda34f514afef969commit hash: 623935db10d89601b942e177eda34f514afef969commit hash: 623935db10d89601b942e177eda34f514afef969commit hash: 623935db10d89601b942e177eda34f514afef969Original commit files touched by this commit
yuri search for other commits by this committer
misc/box2d: Update 2.3.1 -> 2.4.1
2.3.1
29 Jul 2020 00:40:16
Revision:543640commit hash: 3736df077fe207d50184dbc97bf6d76b2b2f75cccommit hash: 3736df077fe207d50184dbc97bf6d76b2b2f75cccommit hash: 3736df077fe207d50184dbc97bf6d76b2b2f75cccommit hash: 3736df077fe207d50184dbc97bf6d76b2b2f75ccOriginal commit files touched by this commit
yuri search for other commits by this committer
misc/box2d: Update the port because the repository was renamed

PR:		247962
Submitted by:	lwhsu (original version)
2.3.1
19 Feb 2019 04:24:36
Revision:493350commit hash: 1ff350c5944f5a3c47875680990b003b2a40faf8commit hash: 1ff350c5944f5a3c47875680990b003b2a40faf8commit hash: 1ff350c5944f5a3c47875680990b003b2a40faf8commit hash: 1ff350c5944f5a3c47875680990b003b2a40faf8Original commit files touched by this commit
yuri search for other commits by this committer
New port: misc/box2d: 2D physics engine for games

Number of commits found: 11