Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 2021 23:46:03 +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: r567799 - head/misc/box2d
Message-ID:  <202103072346.127Nk3QM006668@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Mar  7 23:46:03 2021
New Revision: 567799
URL: https://svnweb.freebsd.org/changeset/ports/567799

Log:
  misc/box2d: Update 2.3.1 -> 2.4.1

Modified:
  head/misc/box2d/Makefile
  head/misc/box2d/distinfo
  head/misc/box2d/pkg-plist

Modified: head/misc/box2d/Makefile
==============================================================================
--- head/misc/box2d/Makefile	Sun Mar  7 23:30:33 2021	(r567798)
+++ head/misc/box2d/Makefile	Sun Mar  7 23:46:03 2021	(r567799)
@@ -2,24 +2,29 @@
 
 PORTNAME=	Box2D
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.3.1
+DISTVERSION=	2.4.1
 CATEGORIES=	misc
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	2D physics engine for games
 
-LICENSE=	ZLIB
-LICENSE_FILE=	${WRKSRC}/License.txt
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake pkgconfig
+USES=		cmake compiler:c++11-lang pkgconfig
+USE_LDCONFIG=	yes
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	erincatto
 GH_PROJECT=	box2d
-USE_LDCONFIG=	yes
 
-WRKSRC_SUBDIR=	${PORTNAME}
+CMAKE_ON=	BOX2D_INSTALL BUILD_SHARED_LIBS
+CMAKE_OFF=	BOX2D_BUILD_STATIC BOX2D_BUILD_UNIT_TESTS BOX2D_BUILD_TESTBED BOX2D_BUILD_EXAMPLES
 
-CMAKE_ON=	BOX2D_INSTALL BOX2D_BUILD_SHARED
-CMAKE_OFF=	BOX2D_BUILD_STATIC BOX2D_BUILD_EXAMPLES
+do-test:
+	@cd ${BUILD_WRKSRC} && \
+		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBOX2D_BUILD_UNIT_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
+		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
+		${BUILD_WRKSRC}/bin/unit_test
 
 .include <bsd.port.mk>

Modified: head/misc/box2d/distinfo
==============================================================================
--- head/misc/box2d/distinfo	Sun Mar  7 23:30:33 2021	(r567798)
+++ head/misc/box2d/distinfo	Sun Mar  7 23:46:03 2021	(r567799)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1594710230
-SHA256 (erincatto-box2d-v2.3.1_GH0.tar.gz) = 58ffc8475a8650aadc351345aef696937747b40501ab78d72c197c5ff5b3035c
-SIZE (erincatto-box2d-v2.3.1_GH0.tar.gz) = 1553252
+TIMESTAMP = 1615160100
+SHA256 (erincatto-box2d-v2.4.1_GH0.tar.gz) = d6b4650ff897ee1ead27cf77a5933ea197cbeef6705638dd181adc2e816b23c2
+SIZE (erincatto-box2d-v2.4.1_GH0.tar.gz) = 1224516

Modified: head/misc/box2d/pkg-plist
==============================================================================
--- head/misc/box2d/pkg-plist	Sun Mar  7 23:30:33 2021	(r567798)
+++ head/misc/box2d/pkg-plist	Sun Mar  7 23:46:03 2021	(r567799)
@@ -1,53 +1,46 @@
-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
+include/box2d/b2_api.h
+include/box2d/b2_block_allocator.h
+include/box2d/b2_body.h
+include/box2d/b2_broad_phase.h
+include/box2d/b2_chain_shape.h
+include/box2d/b2_circle_shape.h
+include/box2d/b2_collision.h
+include/box2d/b2_common.h
+include/box2d/b2_contact.h
+include/box2d/b2_contact_manager.h
+include/box2d/b2_distance.h
+include/box2d/b2_distance_joint.h
+include/box2d/b2_draw.h
+include/box2d/b2_dynamic_tree.h
+include/box2d/b2_edge_shape.h
+include/box2d/b2_fixture.h
+include/box2d/b2_friction_joint.h
+include/box2d/b2_gear_joint.h
+include/box2d/b2_growable_stack.h
+include/box2d/b2_joint.h
+include/box2d/b2_math.h
+include/box2d/b2_motor_joint.h
+include/box2d/b2_mouse_joint.h
+include/box2d/b2_polygon_shape.h
+include/box2d/b2_prismatic_joint.h
+include/box2d/b2_pulley_joint.h
+include/box2d/b2_revolute_joint.h
+include/box2d/b2_rope.h
+include/box2d/b2_settings.h
+include/box2d/b2_shape.h
+include/box2d/b2_stack_allocator.h
+include/box2d/b2_time_of_impact.h
+include/box2d/b2_time_step.h
+include/box2d/b2_timer.h
+include/box2d/b2_types.h
+include/box2d/b2_weld_joint.h
+include/box2d/b2_wheel_joint.h
+include/box2d/b2_world.h
+include/box2d/b2_world_callbacks.h
+include/box2d/box2d.h
+lib/cmake/box2d/box2dConfig-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/box2d/box2dConfig.cmake
+lib/cmake/box2d/box2dConfigVersion.cmake
+lib/libbox2d.so
+lib/libbox2d.so.2
+lib/libbox2d.so.2.4.1



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