Date: Sun, 16 Dec 2012 01:37:50 GMT From: "Tim Čas" <ports@stdrand.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/174465: New port: devel/ChipmunkPhysics - A 2D physics engine written in C Message-ID: <201212160137.qBG1boLj082229@red.freebsd.org> Resent-Message-ID: <201212160140.qBG1e0aN016614@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 174465 >Category: ports >Synopsis: New port: devel/ChipmunkPhysics - A 2D physics engine written in C >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Dec 16 01:40:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Tim Čas >Release: 9.1-RC3 >Organization: n/a >Environment: FreeBSD tsibsd.tsi 9.1-RC3 FreeBSD 9.1-RC3 #0 r242324: Tue Oct 30 00:58:57 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Tested to work on the following compilers: - FreeBSD clang version 3.1 (branches/release_31 156863) 20120523 Target: x86_64-unknown-freebsd9.0 Thread model: posix This is the compiler that's in 9.1-RC3 core. - All sorts of versions of GCC, both for x86 and amd64 architectures The library is also known to work on ARM platforms, but I haven't tested it myself. NOTE: This port does *NOT* work with clang 3.0. Collision detection does not work for some reason (I suspect a compiler bug for reasons I will not go into here) if the library is compiled with that compiler. >How-To-Repeat: n/a >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # ChipmunkPhysics # ChipmunkPhysics/pkg-descr # ChipmunkPhysics/pkg-plist # ChipmunkPhysics/distinfo # ChipmunkPhysics/Makefile # echo c - ChipmunkPhysics mkdir -p ChipmunkPhysics > /dev/null 2>&1 echo x - ChipmunkPhysics/pkg-descr sed 's/^X//' >ChipmunkPhysics/pkg-descr << 'c1aac77d96f1c9251f9034a2dc2befcb' XChipmunk is a simple, lightweight, fast and portable 2D rigid body physics Xlibrary written in C. It's licensed under the unrestrictive, OSI approved MIT Xlicense. X XWWW: http://chipmunk-physics.net/ c1aac77d96f1c9251f9034a2dc2befcb echo x - ChipmunkPhysics/pkg-plist sed 's/^X//' >ChipmunkPhysics/pkg-plist << 'fa4a7a6794330afb2ee2cb5f2174c4b2' Xlib/libchipmunk.so.6.1.2 Xlib/libchipmunk.so Xlib/libchipmunk.a Xinclude/chipmunk/cpBody.h Xinclude/chipmunk/chipmunk_unsafe.h Xinclude/chipmunk/cpVect.h Xinclude/chipmunk/cpSpatialIndex.h Xinclude/chipmunk/chipmunk_ffi.h Xinclude/chipmunk/chipmunk.h Xinclude/chipmunk/cpShape.h Xinclude/chipmunk/cpSpace.h Xinclude/chipmunk/cpPolyShape.h Xinclude/chipmunk/chipmunk_types.h Xinclude/chipmunk/cpArbiter.h Xinclude/chipmunk/cpBB.h Xinclude/chipmunk/chipmunk_private.h Xinclude/chipmunk/constraints/cpConstraint.h Xinclude/chipmunk/constraints/util.h Xinclude/chipmunk/constraints/cpGearJoint.h Xinclude/chipmunk/constraints/cpGrooveJoint.h Xinclude/chipmunk/constraints/cpSlideJoint.h Xinclude/chipmunk/constraints/cpDampedRotarySpring.h Xinclude/chipmunk/constraints/cpPivotJoint.h Xinclude/chipmunk/constraints/cpDampedSpring.h Xinclude/chipmunk/constraints/cpRatchetJoint.h Xinclude/chipmunk/constraints/cpSimpleMotor.h Xinclude/chipmunk/constraints/cpRotaryLimitJoint.h Xinclude/chipmunk/constraints/cpPinJoint.h X@dirrm include/chipmunk/constraints X@dirrm include/chipmunk fa4a7a6794330afb2ee2cb5f2174c4b2 echo x - ChipmunkPhysics/distinfo sed 's/^X//' >ChipmunkPhysics/distinfo << '537375e7c769027f598d827bb407173f' XSHA256 (Chipmunk-6.1.2.tgz) = f9d3e7d2480e50b034081613c18fa90421d5bf002af813ef1443e832dac43fc2 XSIZE (Chipmunk-6.1.2.tgz) = 324892 537375e7c769027f598d827bb407173f echo x - ChipmunkPhysics/Makefile sed 's/^X//' >ChipmunkPhysics/Makefile << 'b80ce814beb73d1a0b93b84898a3a8a0' X# Created by: Tim Cas <ports@stdrand.com> X# $FreeBSD$ X XPORTNAME= ChipmunkPhysics XPORTVERSION= 6.1.2 XCATEGORIES= devel XMASTER_SITES= http://chipmunk-physics.net/release/Chipmunk-6.x/ \ X http://files.libsiege.org/chipmunk/ XDISTNAME= Chipmunk-${PORTVERSION} XEXTRACT_SUFX= .tgz X XMAINTAINER= ports@stdrand.com XCOMMENT= A 2D physics engine written in C X XLICENSE= MIT XLICENSE_FILE= ${WRKSRC}/LICENSE.txt X X#OPTIONS_DEFINE= DEMO X#DEMO_DESC= Build and install the demo program X XUSE_CMAKE= yes XCMAKE_ARGS= -DBUILD_DEMOS=OFF X XUSE_LDCONFIG= yes X X.include <bsd.port.mk> b80ce814beb73d1a0b93b84898a3a8a0 exit Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # ChipmunkPhysics # ChipmunkPhysics/pkg-descr # ChipmunkPhysics/pkg-plist # ChipmunkPhysics/distinfo # ChipmunkPhysics/Makefile # echo c - ChipmunkPhysics mkdir -p ChipmunkPhysics > /dev/null 2>&1 echo x - ChipmunkPhysics/pkg-descr sed 's/^X//' >ChipmunkPhysics/pkg-descr << 'c1aac77d96f1c9251f9034a2dc2befcb' XChipmunk is a simple, lightweight, fast and portable 2D rigid body physics Xlibrary written in C. It's licensed under the unrestrictive, OSI approved MIT Xlicense. X XWWW: http://chipmunk-physics.net/ c1aac77d96f1c9251f9034a2dc2befcb echo x - ChipmunkPhysics/pkg-plist sed 's/^X//' >ChipmunkPhysics/pkg-plist << 'fa4a7a6794330afb2ee2cb5f2174c4b2' Xlib/libchipmunk.so.6.1.2 Xlib/libchipmunk.so Xlib/libchipmunk.a Xinclude/chipmunk/cpBody.h Xinclude/chipmunk/chipmunk_unsafe.h Xinclude/chipmunk/cpVect.h Xinclude/chipmunk/cpSpatialIndex.h Xinclude/chipmunk/chipmunk_ffi.h Xinclude/chipmunk/chipmunk.h Xinclude/chipmunk/cpShape.h Xinclude/chipmunk/cpSpace.h Xinclude/chipmunk/cpPolyShape.h Xinclude/chipmunk/chipmunk_types.h Xinclude/chipmunk/cpArbiter.h Xinclude/chipmunk/cpBB.h Xinclude/chipmunk/chipmunk_private.h Xinclude/chipmunk/constraints/cpConstraint.h Xinclude/chipmunk/constraints/util.h Xinclude/chipmunk/constraints/cpGearJoint.h Xinclude/chipmunk/constraints/cpGrooveJoint.h Xinclude/chipmunk/constraints/cpSlideJoint.h Xinclude/chipmunk/constraints/cpDampedRotarySpring.h Xinclude/chipmunk/constraints/cpPivotJoint.h Xinclude/chipmunk/constraints/cpDampedSpring.h Xinclude/chipmunk/constraints/cpRatchetJoint.h Xinclude/chipmunk/constraints/cpSimpleMotor.h Xinclude/chipmunk/constraints/cpRotaryLimitJoint.h Xinclude/chipmunk/constraints/cpPinJoint.h X@dirrm include/chipmunk/constraints X@dirrm include/chipmunk fa4a7a6794330afb2ee2cb5f2174c4b2 echo x - ChipmunkPhysics/distinfo sed 's/^X//' >ChipmunkPhysics/distinfo << '537375e7c769027f598d827bb407173f' XSHA256 (Chipmunk-6.1.2.tgz) = f9d3e7d2480e50b034081613c18fa90421d5bf002af813ef1443e832dac43fc2 XSIZE (Chipmunk-6.1.2.tgz) = 324892 537375e7c769027f598d827bb407173f echo x - ChipmunkPhysics/Makefile sed 's/^X//' >ChipmunkPhysics/Makefile << 'b80ce814beb73d1a0b93b84898a3a8a0' X# Created by: Tim Cas <ports@stdrand.com> X# $FreeBSD$ X XPORTNAME= ChipmunkPhysics XPORTVERSION= 6.1.2 XCATEGORIES= devel XMASTER_SITES= http://chipmunk-physics.net/release/Chipmunk-6.x/ \ X http://files.libsiege.org/chipmunk/ XDISTNAME= Chipmunk-${PORTVERSION} XEXTRACT_SUFX= .tgz X XMAINTAINER= ports@stdrand.com XCOMMENT= A 2D physics engine written in C X XLICENSE= MIT XLICENSE_FILE= ${WRKSRC}/LICENSE.txt X X#OPTIONS_DEFINE= DEMO X#DEMO_DESC= Build and install the demo program X XUSE_CMAKE= yes XCMAKE_ARGS= -DBUILD_DEMOS=OFF X XUSE_LDCONFIG= yes X X.include <bsd.port.mk> b80ce814beb73d1a0b93b84898a3a8a0 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212160137.qBG1boLj082229>