Date: Mon, 7 Nov 2005 04:15:21 GMT From: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/88581: [NEW PORT] devel/ode-devel: Articulated rigid body dynamics library, development version Message-ID: <200511070415.jA74FLTu062377@www.freebsd.org> Resent-Message-ID: <200511070420.jA74KFHp093835@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 88581 >Category: ports >Synopsis: [NEW PORT] devel/ode-devel: Articulated rigid body dynamics library, development version >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: Mon Nov 07 04:20:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jose Alonso Cardenas Marquez >Release: FreeBSD 6.0-STABLE i386 >Organization: BSDPeru (http://www.bsd.org.pe) >Environment: FreeBSD HellFire.BSD.org.pe 6.0-STABLE FreeBSD 6.0-STABLE #0: Fri Nov 4 16:03:07 PET >Description: - based on devel/ode ODE is a free, industrial quality library for simulating articulated rigid body dynamics - for example ground vehicles, legged creatures, and moving objects in VR environments. It is fast, flexible, robust and platform independent, with advanced joints, contact with friction, and built-in collision detection. WWW: http://www.ode.org/ >How-To-Repeat: >Fix: --- ode-devel-0.5.shar begins here --- # 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: # # ode-devel # ode-devel/files # ode-devel/files/patch-Makefile # ode-devel/files/patch-OPC_TreeCollider.h # ode-devel/Makefile # ode-devel/distinfo # ode-devel/pkg-descr # ode-devel/pkg-plist # echo c - ode-devel mkdir -p ode-devel > /dev/null 2>&1 echo c - ode-devel/files mkdir -p ode-devel/files > /dev/null 2>&1 echo x - ode-devel/files/patch-Makefile sed 's/^X//' >ode-devel/files/patch-Makefile << 'END-of-ode-devel/files/patch-Makefile' X--- Makefile Sun Nov 6 22:34:29 2005 X+++ Makefile Sun Nov 6 22:37:04 2005 X@@ -332,13 +332,13 @@ X -$(DEL_CMD) OPCODE/*.obj OPCODE/*.o OPCODE/Ice/*.obj OPCODE/Ice/*.o X X %$(OBJ): %.c X- $(CC) $(C_FLAGS) $(C_INC)$(INCPATH) $(DEFINES) $(C_OPT)1 $(C_OUT)$@ $< X+ $(CC) $(C_INC)$(INCPATH) $(C_FLAGS) $(DEFINES) $(C_OUT)$@ $< X X %$(OBJ): %.cpp X- $(CC) $(C_FLAGS) $(C_INC)$(INCPATH) $(INC_OPCODE) $(DEFINES) $(C_OPT)$(OPT) $(C_OUT)$@ $< X+ $(CC) $(C_INC)$(INCPATH) $(C_FLAGS) $(INC_OPCODE) $(DEFINES) $(C_OUT)$@ $< X X %.exe: %$(OBJ) X- $(CC) $(C_EXEOUT)$@ $< $(ODE_LIB) $(DRAWSTUFF_LIB) $(RESOURCE_FILE) $(LINK_OPENGL) $(LINK_MATH) X+ $(CC) $(C_EXEOUT)$@ $< $(ODE_LIB) $(DRAWSTUFF_LIB) $(RESOURCE_FILE) $(LINK_OPENGL) $(LINK_MATH) ${LDFLAGS} X X X # windows specific rules X@@ -360,7 +360,7 @@ X X # unix-gcc specific dependency making X X-DEP_RULE=gcc -M $(C_INC)$(INCPATH) $(DEFINES) X+DEP_RULE=${CC} -M $(C_INC)$(INCPATH) $(DEFINES) X depend: X $(DEP_RULE) $(ODE_SRC) $(ODE_PREGEN_SRC) | tools/process_deps ode/src/ > Makefile.deps X $(DEP_RULE) $(DRAWSTUFF_SRC) | tools/process_deps drawstuff/src/ >> Makefile.deps END-of-ode-devel/files/patch-Makefile echo x - ode-devel/files/patch-OPC_TreeCollider.h sed 's/^X//' >ode-devel/files/patch-OPC_TreeCollider.h << 'END-of-ode-devel/files/patch-OPC_TreeCollider.h' X--- OPCODE/OPC_TreeCollider.h.orig Mon May 23 20:11:48 2005 X+++ OPCODE/OPC_TreeCollider.h Mon May 23 20:16:16 2005 X@@ -28,6 +28,13 @@ X //! even entering the recursive collision code. X struct OPCODE_API BVTCache : Pair X { X+ inline_ void ResetCountDown() X+ { X+#ifdef __MESHMERIZER_H__ // Collision hulls only supported within ICE ! X+ CountDown = 50; X+#endif // __MESHMERIZER_H__ X+ } X+ X //! Constructor X inline_ BVTCache() X { X@@ -46,13 +53,6 @@ X SepVector.pid = 0; X SepVector.qid = 0; X SepVector.SV = Point(1.0f, 0.0f, 0.0f); X-#endif // __MESHMERIZER_H__ X- } X- X- inline_ void ResetCountDown() X- { X-#ifdef __MESHMERIZER_H__ // Collision hulls only supported within ICE ! X- CountDown = 50; X #endif // __MESHMERIZER_H__ X } X END-of-ode-devel/files/patch-OPC_TreeCollider.h echo x - ode-devel/Makefile sed 's/^X//' >ode-devel/Makefile << 'END-of-ode-devel/Makefile' X# New ports collection makefile for: ode-devel X# Date created: 8 Nov 2004 X# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> X# X# $FreeBSD$ X# X XPORTNAME= ode XPORTVERSION= 0.5 XCATEGORIES= devel XMASTER_SITES= http://opende.sourceforge.net/snapshots/ XPKGNAMESUFFIX= -devel XDISTFILES= ${PORTNAME}-051009${EXTRACT_SUFX} X XMAINTAINER= acardenas@bsd.org.pe XCOMMENT= Articulated rigid body dynamics library, development version X XUSE_X_PREFIX= yes XUSE_GL= yes XUSE_GMAKE= yes XUSE_REINPLACE= yes XWRKSRC= ${WRKDIR}/ode-051009 X XOPTIONS= OPCODE "Enable code required by TriList (trimesh) class" on X X.include <bsd.port.pre.mk> X Xpost-patch: X @${REINPLACE_CMD} -e \ X 's|malloc.h|stdlib.h|g' \ X ${WRKSRC}/configurator.c X X @${REINPLACE_CMD} -e \ X 's|g++|${CXX}|; \ X s|-Wall||g; \ X s|-L/usr/X11/lib|-lXext|; \ X s|-L/usr/lib/X11R6||; \ X s|-L/usr/lib/X11||; \ X s|-L/usr/X11R6/lib|-L${X11BASE}/lib|; \ X s|-fno-rtti||; \ X s|-ffast-math|${CXXFLAGS} -I${X11BASE}/include|' \ X ${WRKSRC}/config/makefile.unix-gcc X.if !defined(WITHOUT_OPCODE) X @${REINPLACE_CMD} -e \ X 's/^#OPCODE_DIRECTORY/OPCODE_DIRECTORY/' \ X ${WRKSRC}/config/user-settings X.endif X Xdo-configure: X cd ${WRKSRC} ; ${GMAKE} configure X @${REINPLACE_CMD} -e '/include.*values.h/d' ${WRKSRC}/include/ode/config.h X Xdo-install: X @${INSTALL_DATA} ${WRKSRC}/lib/libode.a ${PREFIX}/lib X @${INSTALL_DATA} ${WRKSRC}/lib/libdrawstuff.a ${PREFIX}/lib X @${MKDIR} ${PREFIX}/include/ode X @${INSTALL_DATA} ${WRKSRC}/include/ode/*.h ${PREFIX}/include/ode X X.include <bsd.port.post.mk> END-of-ode-devel/Makefile echo x - ode-devel/distinfo sed 's/^X//' >ode-devel/distinfo << 'END-of-ode-devel/distinfo' XMD5 (ode-051009.tar.gz) = 211c991de59b6f0d1a48e6361ee4e243 XSIZE (ode-051009.tar.gz) = 1742585 END-of-ode-devel/distinfo echo x - ode-devel/pkg-descr sed 's/^X//' >ode-devel/pkg-descr << 'END-of-ode-devel/pkg-descr' XODE is a free, industrial quality library for simulating articulated Xrigid body dynamics - for example ground vehicles, legged creatures, Xand moving objects in VR environments. It is fast, flexible, robust Xand platform independent, with advanced joints, contact with friction, Xand built-in collision detection. X XWWW: http://www.ode.org/ X X- David Xdyeske@yahoo.com END-of-ode-devel/pkg-descr echo x - ode-devel/pkg-plist sed 's/^X//' >ode-devel/pkg-plist << 'END-of-ode-devel/pkg-plist' Xlib/libdrawstuff.a Xlib/libode.a Xinclude/ode/collision.h Xinclude/ode/collision_space.h Xinclude/ode/collision_trimesh.h Xinclude/ode/common.h Xinclude/ode/compatibility.h Xinclude/ode/config.h Xinclude/ode/contact.h Xinclude/ode/error.h Xinclude/ode/export-dif.h Xinclude/ode/mass.h Xinclude/ode/matrix.h Xinclude/ode/memory.h Xinclude/ode/misc.h Xinclude/ode/objects.h Xinclude/ode/ode.h Xinclude/ode/odecpp.h Xinclude/ode/odecpp_collision.h Xinclude/ode/odecpp_old.h Xinclude/ode/odemath.h Xinclude/ode/rotation.h Xinclude/ode/timer.h X@dirrm include/ode END-of-ode-devel/pkg-plist exit --- ode-devel-0.5.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511070415.jA74FLTu062377>