diff options
author | acm <acm@FreeBSD.org> | 2008-04-03 23:03:30 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2008-04-03 23:03:30 +0800 |
commit | 1d6e12a83337beb721694f3eb1d04d977520f1a0 (patch) | |
tree | 632878dbe05b0ae0cdccee2120813a1a178bd31b /devel/bullet | |
parent | a5aabaff120f59c92d5874cd0a39f980ab786d44 (diff) | |
download | freebsd-ports-gnome-1d6e12a83337beb721694f3eb1d04d977520f1a0.tar.gz freebsd-ports-gnome-1d6e12a83337beb721694f3eb1d04d977520f1a0.tar.zst freebsd-ports-gnome-1d6e12a83337beb721694f3eb1d04d977520f1a0.zip |
- 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
Diffstat (limited to 'devel/bullet')
-rw-r--r-- | devel/bullet/Makefile | 73 | ||||
-rw-r--r-- | devel/bullet/distinfo | 3 | ||||
-rw-r--r-- | devel/bullet/files/patch-autogen.sh | 16 | ||||
-rw-r--r-- | devel/bullet/pkg-descr | 16 | ||||
-rw-r--r-- | devel/bullet/pkg-plist | 140 |
5 files changed, 248 insertions, 0 deletions
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%% |