summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2008-04-03 15:03:30 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2008-04-03 15:03:30 +0000
commit6ad04f9ba3ecd5eb61d7a4baa10e759de9125938 (patch)
treeb88b3089279b99a8879ec7c642eab1c9f9a60c09
parent- Update to 1.11.1 (diff)
- New port: devel/bullet
Bullet is a professional open source multi-threaded 3D Collision Detection and Rigid Body Dynamics Library. It is free for commercial use under the ZLib license. The library is being used by several professional game developers on PC, PlayStation 3, XBox 360 and Nintendo Wii. Sony Computer Entertainment provides a parallel SPU optimized version, and collaborations with IBM, Intel, AMD and NVidia to exploit their parallel hardware. Bullet is native part of Blender 3D modeler and it supports COLLADA Physics file format. WWW: http://www.bulletphysics.com
-rw-r--r--devel/Makefile1
-rw-r--r--devel/bullet/Makefile73
-rw-r--r--devel/bullet/distinfo3
-rw-r--r--devel/bullet/files/patch-autogen.sh16
-rw-r--r--devel/bullet/pkg-descr16
-rw-r--r--devel/bullet/pkg-plist140
6 files changed, 249 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 73ed89fc2828..e36123177176 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -116,6 +116,7 @@
SUBDIR += buildbot
SUBDIR += buildtool
SUBDIR += buildtool-doc
+ SUBDIR += bullet
SUBDIR += bunny
SUBDIR += byaccj
SUBDIR += bzr-gtk
diff --git a/devel/bullet/Makefile b/devel/bullet/Makefile
new file mode 100644
index 000000000000..9fd2d277446a
--- /dev/null
+++ b/devel/bullet/Makefile
@@ -0,0 +1,73 @@
+# New ports collection makefile for: bullet
+# Date created: 2008-01-09
+# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bullet
+PORTVERSION= 2.67
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/$/-new/}
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= 3D collision detection and rigid body dynamics library
+
+BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam
+
+USE_AUTOTOOLS= automake:15:env autoconf:261:env
+GNU_CONFIGURE= yes
+USE_DOS2UNIX= yes
+USE_ZIP= yes
+USE_GL= glu glut
+USE_XORG= x11
+
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --x-includes=${LOCALBASE}/include
+CONFIGURE_ENV= CPPFLAGS=${CPPFLAGS} LDFLAGS=${LDFLAGS}
+
+CPPFLAGS+= -I${LOCALBASE}/include
+
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+JAM_CMD= ${LOCALBASE}/bin/jam
+JAM_ARGS= -qa
+
+.include <bsd.port.pre.mk>
+
+.if (${ARCH} == "amd64") || (${ARCH} == "ia64")
+CFLAGS+= -DUSE_ADDR64
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|%%AUTOHEADER%%|${AUTOHEADER}|g" -e "s|%%AUTOCONF%%|${AUTOCONF}|g" \
+ ${WRKSRC}/autogen.sh
+ @${REINPLACE_CMD} -e "s|(libdir)|(prefix)/libdata|g" -e 63,64d ${WRKSRC}/Jamfile.in
+ @${REINPLACE_CMD} -e "s|-O3||g" ${WRKSRC}/Jamrules
+ @${REINPLACE_CMD} -e "s|<new.h>|<new>|g" ${WRKSRC}/Extras/quickstep/OdeConstraintSolver.cpp
+
+pre-configure:
+ @${RM} ${WRKSRC}/configure
+ @cd ${WRKSRC} && ${SH} autogen.sh
+
+post-configure:
+ @${REINPLACE_CMD} -i "" -e 's,-lpthread,${PTHREAD_LIBS},g' ${WRKSRC}/Jamconfig
+
+do-build:
+ @cd ${WRKSRC} && \
+ ${SETENV} ${MAKE_ENV} ${JAM_CMD} ${JAM_ARGS}
+
+do-install:
+ @cd ${WRKSRC} && \
+ ${JAM_CMD} install
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.pdf ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog.txt ${DOCSDIR}/CHANGELOG
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/bullet/distinfo b/devel/bullet/distinfo
new file mode 100644
index 000000000000..7b1b13a20c49
--- /dev/null
+++ b/devel/bullet/distinfo
@@ -0,0 +1,3 @@
+MD5 (bullet-2.67-new.zip) = 4132c08a389f27b258bef81becbeacb9
+SHA256 (bullet-2.67-new.zip) = 3ca293dc0dd68da94d8083cbd691f7fd8b188aeccaa589c74d6dbdbbb787a14d
+SIZE (bullet-2.67-new.zip) = 8184967
diff --git a/devel/bullet/files/patch-autogen.sh b/devel/bullet/files/patch-autogen.sh
new file mode 100644
index 000000000000..6a5d2ca749e3
--- /dev/null
+++ b/devel/bullet/files/patch-autogen.sh
@@ -0,0 +1,16 @@
+--- autogen.sh.orig 2008-03-27 23:45:16.000000000 -0500
++++ autogen.sh 2008-03-27 23:45:45.000000000 -0500
+@@ -13,11 +13,11 @@
+ cat $i >> $MACROFILE
+ done
+
+-autoheader
++%%AUTOHEADER%%
+ rc=$?
+
+ if test $rc -eq 0; then
+- autoconf
++ %%AUTOCONF%%
+ rc=$?
+ fi
+
diff --git a/devel/bullet/pkg-descr b/devel/bullet/pkg-descr
new file mode 100644
index 000000000000..3eca72dff2ec
--- /dev/null
+++ b/devel/bullet/pkg-descr
@@ -0,0 +1,16 @@
+Bullet is a professional open source multi-threaded 3D Collision Detection and
+Rigid Body Dynamics Library. It is free for commercial use under the ZLib
+license.
+
+The library is being used by several professional game developers on PC,
+PlayStation 3, XBox 360 and Nintendo Wii.
+
+Sony Computer Entertainment provides a parallel SPU optimized version, and
+collaborations with IBM, Intel, AMD and NVidia to exploit their parallel
+hardware.
+
+Bullet is native part of Blender 3D modeler and it supports COLLADA Physics
+file format.
+
+
+WWW: http://www.bulletphysics.com
diff --git a/devel/bullet/pkg-plist b/devel/bullet/pkg-plist
new file mode 100644
index 000000000000..2cd008494d28
--- /dev/null
+++ b/devel/bullet/pkg-plist
@@ -0,0 +1,140 @@
+include/bullet/btBulletCollisionCommon.h
+include/bullet/btBulletDynamicsCommon.h
+include/bullet/Bullet-C-Api.h
+include/bullet/BulletCollision/BroadphaseCollision/btAxisSweep3.h
+include/bullet/BulletCollision/BroadphaseCollision/btBroadphaseInterface.h
+include/bullet/BulletCollision/BroadphaseCollision/btBroadphaseProxy.h
+include/bullet/BulletCollision/BroadphaseCollision/btCollisionAlgorithm.h
+include/bullet/BulletCollision/BroadphaseCollision/btDispatcher.h
+include/bullet/BulletCollision/BroadphaseCollision/btMultiSapBroadphase.h
+include/bullet/BulletCollision/BroadphaseCollision/btOverlappingPairCache.h
+include/bullet/BulletCollision/BroadphaseCollision/btOverlappingPairCallback.h
+include/bullet/BulletCollision/BroadphaseCollision/btSimpleBroadphase.h
+include/bullet/BulletCollision/CollisionDispatch/btCollisionConfiguration.h
+include/bullet/BulletCollision/CollisionDispatch/btCollisionCreateFunc.h
+include/bullet/BulletCollision/CollisionDispatch/btCollisionDispatcher.h
+include/bullet/BulletCollision/CollisionDispatch/btCollisionObject.h
+include/bullet/BulletCollision/CollisionDispatch/btCollisionWorld.h
+include/bullet/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.h
+include/bullet/BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.h
+include/bullet/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.h
+include/bullet/BulletCollision/CollisionDispatch/btConvexPlaneCollisionAlgorithm.h
+include/bullet/BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.h
+include/bullet/BulletCollision/CollisionDispatch/btEmptyCollisionAlgorithm.h
+include/bullet/BulletCollision/CollisionDispatch/btManifoldResult.h
+include/bullet/BulletCollision/CollisionDispatch/btSimulationIslandManager.h
+include/bullet/BulletCollision/CollisionDispatch/btUnionFind.h
+include/bullet/BulletCollision/CollisionDispatch/btSphereBoxCollisionAlgorithm.h
+include/bullet/BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.h
+include/bullet/BulletCollision/CollisionDispatch/btSphereTriangleCollisionAlgorithm.h
+include/bullet/BulletCollision/CollisionDispatch/SphereTriangleDetector.h
+include/bullet/BulletCollision/CollisionShapes/btBoxShape.h
+include/bullet/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h
+include/bullet/BulletCollision/CollisionShapes/btCapsuleShape.h
+include/bullet/BulletCollision/CollisionShapes/btCollisionMargin.h
+include/bullet/BulletCollision/CollisionShapes/btCollisionShape.h
+include/bullet/BulletCollision/CollisionShapes/btCompoundShape.h
+include/bullet/BulletCollision/CollisionShapes/btConcaveShape.h
+include/bullet/BulletCollision/CollisionShapes/btConeShape.h
+include/bullet/BulletCollision/CollisionShapes/btConvexHullShape.h
+include/bullet/BulletCollision/CollisionShapes/btConvexInternalShape.h
+include/bullet/BulletCollision/CollisionShapes/btConvexShape.h
+include/bullet/BulletCollision/CollisionShapes/btConvexTriangleMeshShape.h
+include/bullet/BulletCollision/CollisionShapes/btCylinderShape.h
+include/bullet/BulletCollision/CollisionShapes/btEmptyShape.h
+include/bullet/BulletCollision/CollisionShapes/btHeightfieldTerrainShape.h
+include/bullet/BulletCollision/CollisionShapes/btMinkowskiSumShape.h
+include/bullet/BulletCollision/CollisionShapes/btSphereShape.h
+include/bullet/BulletCollision/CollisionShapes/btMultiSphereShape.h
+include/bullet/BulletCollision/CollisionShapes/btOptimizedBvh.h
+include/bullet/BulletCollision/CollisionShapes/btPolyhedralConvexShape.h
+include/bullet/BulletCollision/CollisionShapes/btStaticPlaneShape.h
+include/bullet/BulletCollision/CollisionShapes/btStridingMeshInterface.h
+include/bullet/BulletCollision/CollisionShapes/btTetrahedronShape.h
+include/bullet/BulletCollision/CollisionShapes/btTriangleBuffer.h
+include/bullet/BulletCollision/CollisionShapes/btTriangleCallback.h
+include/bullet/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.h
+include/bullet/BulletCollision/CollisionShapes/btTriangleMesh.h
+include/bullet/BulletCollision/CollisionShapes/btTriangleMeshShape.h
+include/bullet/BulletCollision/CollisionShapes/btTriangleShape.h
+include/bullet/BulletCollision/CollisionShapes/btUniformScalingShape.h
+include/bullet/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.h
+include/bullet/BulletCollision/NarrowPhaseCollision/btConvexCast.h
+include/bullet/BulletCollision/NarrowPhaseCollision/btConvexPenetrationDepthSolver.h
+include/bullet/BulletCollision/NarrowPhaseCollision/btDiscreteCollisionDetectorInterface.h
+include/bullet/BulletCollision/NarrowPhaseCollision/btGjkConvexCast.h
+include/bullet/BulletCollision/NarrowPhaseCollision/btGjkEpa.h
+include/bullet/BulletCollision/NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.h
+include/bullet/BulletCollision/NarrowPhaseCollision/btGjkPairDetector.h
+include/bullet/BulletCollision/NarrowPhaseCollision/btManifoldPoint.h
+include/bullet/BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.h
+include/bullet/BulletCollision/NarrowPhaseCollision/btPersistentManifold.h
+include/bullet/BulletCollision/NarrowPhaseCollision/btPointCollector.h
+include/bullet/BulletCollision/NarrowPhaseCollision/btRaycastCallback.h
+include/bullet/BulletCollision/NarrowPhaseCollision/btSimplexSolverInterface.h
+include/bullet/BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.h
+include/bullet/BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.h
+include/bullet/BulletDynamics/ConstraintSolver/btConeTwistConstraint.h
+include/bullet/BulletDynamics/ConstraintSolver/btConstraintSolver.h
+include/bullet/BulletDynamics/ConstraintSolver/btContactConstraint.h
+include/bullet/BulletDynamics/ConstraintSolver/btContactSolverInfo.h
+include/bullet/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.h
+include/bullet/BulletDynamics/ConstraintSolver/btHingeConstraint.h
+include/bullet/BulletDynamics/ConstraintSolver/btJacobianEntry.h
+include/bullet/BulletDynamics/ConstraintSolver/btPoint2PointConstraint.h
+include/bullet/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h
+include/bullet/BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.h
+include/bullet/BulletDynamics/ConstraintSolver/btSolverBody.h
+include/bullet/BulletDynamics/ConstraintSolver/btSolverConstraint.h
+include/bullet/BulletDynamics/ConstraintSolver/btTypedConstraint.h
+include/bullet/BulletDynamics/Dynamics/btContinuousDynamicsWorld.h
+include/bullet/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h
+include/bullet/BulletDynamics/Dynamics/btDynamicsWorld.h
+include/bullet/BulletDynamics/Dynamics/btRigidBody.h
+include/bullet/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h
+include/bullet/BulletDynamics/Vehicle/btRaycastVehicle.h
+include/bullet/BulletDynamics/Vehicle/btVehicleRaycaster.h
+include/bullet/BulletDynamics/Vehicle/btWheelInfo.h
+include/bullet/LinearMath/btAabbUtil2.h
+include/bullet/LinearMath/btAlignedAllocator.h
+include/bullet/LinearMath/btAlignedObjectArray.h
+include/bullet/LinearMath/btDefaultMotionState.h
+include/bullet/LinearMath/btGeometryUtil.h
+include/bullet/LinearMath/btHashMap.h
+include/bullet/LinearMath/btIDebugDraw.h
+include/bullet/LinearMath/btList.h
+include/bullet/LinearMath/btMatrix3x3.h
+include/bullet/LinearMath/btMinMax.h
+include/bullet/LinearMath/btMotionState.h
+include/bullet/LinearMath/btPoint3.h
+include/bullet/LinearMath/btPoolAllocator.h
+include/bullet/LinearMath/btQuadWord.h
+include/bullet/LinearMath/btQuaternion.h
+include/bullet/LinearMath/btQuickprof.h
+include/bullet/LinearMath/btRandom.h
+include/bullet/LinearMath/btScalar.h
+include/bullet/LinearMath/btStackAlloc.h
+include/bullet/LinearMath/btTransform.h
+include/bullet/LinearMath/btTransformUtil.h
+include/bullet/LinearMath/btVector3.h
+lib/libbulletcollision.a
+lib/libbulletdynamics.a
+lib/libbulletmath.a
+libdata/pkgconfig/bullet.pc
+%%PORTDOCS%%%%DOCSDIR%%/BulletSpuOptimized.pdf
+%%PORTDOCS%%%%DOCSDIR%%/Bullet_Faq.pdf
+%%PORTDOCS%%%%DOCSDIR%%/Bullet_User_Manual.pdf
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
+@dirrm include/bullet/LinearMath
+@dirrm include/bullet/BulletDynamics/Vehicle
+@dirrm include/bullet/BulletDynamics/Dynamics
+@dirrm include/bullet/BulletDynamics/ConstraintSolver
+@dirrm include/bullet/BulletDynamics
+@dirrm include/bullet/BulletCollision/NarrowPhaseCollision
+@dirrm include/bullet/BulletCollision/CollisionShapes
+@dirrm include/bullet/BulletCollision/CollisionDispatch
+@dirrm include/bullet/BulletCollision/BroadphaseCollision
+@dirrm include/bullet/BulletCollision
+@dirrm include/bullet
+%%PORTDOCS%%@dirrm %%DOCSDIR%%