Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2019 04:24:36 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493350 - in head/misc: . box2d
Message-ID:  <201902190424.x1J4OaXA076431@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Feb 19 04:24:35 2019
New Revision: 493350
URL: https://svnweb.freebsd.org/changeset/ports/493350

Log:
  New port: misc/box2d: 2D physics engine for games

Added:
  head/misc/box2d/
  head/misc/box2d/Makefile   (contents, props changed)
  head/misc/box2d/distinfo   (contents, props changed)
  head/misc/box2d/pkg-descr   (contents, props changed)
  head/misc/box2d/pkg-plist   (contents, props changed)
Modified:
  head/misc/Makefile

Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile	Tue Feb 19 03:52:24 2019	(r493349)
+++ head/misc/Makefile	Tue Feb 19 04:24:35 2019	(r493350)
@@ -29,6 +29,7 @@
     SUBDIR += birthday
     SUBDIR += bogosort
     SUBDIR += bottlerocket
+    SUBDIR += box2d
     SUBDIR += boxes
     SUBDIR += brs
     SUBDIR += bsod

Added: head/misc/box2d/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/box2d/Makefile	Tue Feb 19 04:24:35 2019	(r493350)
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME=	Box2D
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2.3.1
+CATEGORIES=	misc
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	2D physics engine for games
+
+LICENSE=	ZLIB
+LICENSE_FILE=	${WRKSRC}/License.txt
+
+USES=		cmake pkgconfig
+USE_GITHUB=	yes
+GH_ACCOUNT=	erincatto
+USE_LDCONFIG=	yes
+
+WRKSRC_SUBDIR=	${PORTNAME}
+
+CMAKE_ON=	BOX2D_INSTALL BOX2D_BUILD_SHARED
+CMAKE_OFF=	BOX2D_BUILD_STATIC BOX2D_BUILD_EXAMPLES
+
+.include <bsd.port.mk>

Added: head/misc/box2d/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/box2d/distinfo	Tue Feb 19 04:24:35 2019	(r493350)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1550549351
+SHA256 (erincatto-Box2D-v2.3.1_GH0.tar.gz) = 75d62738b13d2836cd56647581b6e574d4005a6e077ddefa5d727d445d649752
+SIZE (erincatto-Box2D-v2.3.1_GH0.tar.gz) = 1553222

Added: head/misc/box2d/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/box2d/pkg-descr	Tue Feb 19 04:24:35 2019	(r493350)
@@ -0,0 +1,24 @@
+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
+
+WWW: https://box2d.org/

Added: head/misc/box2d/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/box2d/pkg-plist	Tue Feb 19 04:24:35 2019	(r493350)
@@ -0,0 +1,53 @@
+include/Box2D/Box2D.h
+include/Box2D/Collision/Shapes/b2ChainShape.h
+include/Box2D/Collision/Shapes/b2CircleShape.h
+include/Box2D/Collision/Shapes/b2EdgeShape.h
+include/Box2D/Collision/Shapes/b2PolygonShape.h
+include/Box2D/Collision/Shapes/b2Shape.h
+include/Box2D/Collision/b2BroadPhase.h
+include/Box2D/Collision/b2Collision.h
+include/Box2D/Collision/b2Distance.h
+include/Box2D/Collision/b2DynamicTree.h
+include/Box2D/Collision/b2TimeOfImpact.h
+include/Box2D/Common/b2BlockAllocator.h
+include/Box2D/Common/b2Draw.h
+include/Box2D/Common/b2GrowableStack.h
+include/Box2D/Common/b2Math.h
+include/Box2D/Common/b2Settings.h
+include/Box2D/Common/b2StackAllocator.h
+include/Box2D/Common/b2Timer.h
+include/Box2D/Dynamics/Contacts/b2ChainAndCircleContact.h
+include/Box2D/Dynamics/Contacts/b2ChainAndPolygonContact.h
+include/Box2D/Dynamics/Contacts/b2CircleContact.h
+include/Box2D/Dynamics/Contacts/b2Contact.h
+include/Box2D/Dynamics/Contacts/b2ContactSolver.h
+include/Box2D/Dynamics/Contacts/b2EdgeAndCircleContact.h
+include/Box2D/Dynamics/Contacts/b2EdgeAndPolygonContact.h
+include/Box2D/Dynamics/Contacts/b2PolygonAndCircleContact.h
+include/Box2D/Dynamics/Contacts/b2PolygonContact.h
+include/Box2D/Dynamics/Joints/b2DistanceJoint.h
+include/Box2D/Dynamics/Joints/b2FrictionJoint.h
+include/Box2D/Dynamics/Joints/b2GearJoint.h
+include/Box2D/Dynamics/Joints/b2Joint.h
+include/Box2D/Dynamics/Joints/b2MotorJoint.h
+include/Box2D/Dynamics/Joints/b2MouseJoint.h
+include/Box2D/Dynamics/Joints/b2PrismaticJoint.h
+include/Box2D/Dynamics/Joints/b2PulleyJoint.h
+include/Box2D/Dynamics/Joints/b2RevoluteJoint.h
+include/Box2D/Dynamics/Joints/b2RopeJoint.h
+include/Box2D/Dynamics/Joints/b2WeldJoint.h
+include/Box2D/Dynamics/Joints/b2WheelJoint.h
+include/Box2D/Dynamics/b2Body.h
+include/Box2D/Dynamics/b2ContactManager.h
+include/Box2D/Dynamics/b2Fixture.h
+include/Box2D/Dynamics/b2Island.h
+include/Box2D/Dynamics/b2TimeStep.h
+include/Box2D/Dynamics/b2World.h
+include/Box2D/Dynamics/b2WorldCallbacks.h
+include/Box2D/Rope/b2Rope.h
+lib/Box2D/Box2D-targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/Box2D/Box2D-targets.cmake
+lib/cmake/Box2D/Box2DConfig.cmake
+lib/cmake/Box2D/UseBox2D.cmake
+lib/libBox2D.so
+lib/libBox2D.so.2.3.0



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902190424.x1J4OaXA076431>