mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
Remove extra dir in ode-devel.
This commit is contained in:
parent
4dfc6207de
commit
6e30c36eb7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=148066
@ -1,64 +0,0 @@
|
||||
# New ports collection makefile for: ode
|
||||
# Date created: 11 Oct 2003
|
||||
# Whom: David Yeske <dyeske@yahoo.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ode
|
||||
PORTVERSION= 0.5
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= opende
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= dyeske@yahoo.com
|
||||
COMMENT= Articulated rigid body dynamics library
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
USE_GL= yes
|
||||
USE_GMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
|
||||
OPTIONS= OPCODE "Enable code required by TriList (trimesh) class" on
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
BROKEN= "Does not build on amd64"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|malloc.h|stdlib.h|g' \
|
||||
${WRKSRC}/configurator.c
|
||||
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|g++|${CXX}|; \
|
||||
s|-Wall||g; \
|
||||
s|-L/usr/X11/lib|-lXext|; \
|
||||
s|-L/usr/lib/X11R6||; \
|
||||
s|-L/usr/lib/X11||; \
|
||||
s|-L/usr/X11R6/lib|-L${X11BASE}/lib|; \
|
||||
s|-fno-rtti||; \
|
||||
s|-ffast-math|${CXXFLAGS} -I${X11BASE}/include|' \
|
||||
${WRKSRC}/config/makefile.unix-gcc
|
||||
.if !defined(WITHOUT_OPCODE)
|
||||
@${REINPLACE_CMD} -e \
|
||||
's/^#OPCODE_DIRECTORY/OPCODE_DIRECTORY/' \
|
||||
${WRKSRC}/config/user-settings
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
cd ${WRKSRC} ; ${GMAKE} configure
|
||||
@${REINPLACE_CMD} -e '/include.*values.h/d' ${WRKSRC}/include/ode/config.h
|
||||
|
||||
do-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/lib/libode.a ${PREFIX}/lib
|
||||
@${INSTALL_DATA} ${WRKSRC}/lib/libdrawstuff.a ${PREFIX}/lib
|
||||
@${MKDIR} ${PREFIX}/include/ode
|
||||
@${INSTALL_DATA} ${WRKSRC}/include/ode/*.h ${PREFIX}/include/ode
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1,2 +0,0 @@
|
||||
MD5 (ode-0.5.tgz) = b33b21e04ee9661f27802b6b6c8eefd2
|
||||
SIZE (ode-0.5.tgz) = 1710720
|
@ -1,28 +0,0 @@
|
||||
--- Makefile.orig Wed Jun 9 16:12:12 2004
|
||||
+++ Makefile Wed Jun 9 16:13:39 2004
|
||||
@@ -329,13 +329,13 @@
|
||||
-$(DEL_CMD) OPCODE/*.obj OPCODE/*.o OPCODE/Ice/*.obj OPCODE/Ice/*.o
|
||||
|
||||
%$(OBJ): %.c
|
||||
- $(CC) $(C_FLAGS) $(C_INC)$(INCPATH) $(DEFINES) $(C_OPT)1 $(C_OUT)$@ $<
|
||||
+ $(CC) $(C_INC)$(INCPATH) $(C_FLAGS) $(DEFINES) $(C_OUT)$@ $<
|
||||
|
||||
%$(OBJ): %.cpp
|
||||
- $(CC) $(C_FLAGS) $(C_INC)$(INCPATH) $(INC_OPCODE) $(DEFINES) $(C_OPT)$(OPT) $(C_OUT)$@ $<
|
||||
+ $(CC) $(C_INC)$(INCPATH) $(C_FLAGS) $(INC_OPCODE) $(DEFINES) $(C_OUT)$@ $<
|
||||
|
||||
%.exe: %$(OBJ)
|
||||
- $(CC) $(C_EXEOUT)$@ $< $(ODE_LIB) $(DRAWSTUFF_LIB) $(RESOURCE_FILE) $(LINK_OPENGL) $(LINK_MATH)
|
||||
+ $(CC) $(C_EXEOUT)$@ $< $(ODE_LIB) $(DRAWSTUFF_LIB) $(RESOURCE_FILE) $(LINK_OPENGL) $(LINK_MATH) ${LDFLAGS}
|
||||
|
||||
|
||||
# windows specific rules
|
||||
@@ -357,7 +357,7 @@
|
||||
|
||||
# unix-gcc specific dependency making
|
||||
|
||||
-DEP_RULE=gcc -M $(C_INC)$(INCPATH) $(DEFINES)
|
||||
+DEP_RULE=${CC} -M $(C_INC)$(INCPATH) $(DEFINES)
|
||||
depend:
|
||||
$(DEP_RULE) $(ODE_SRC) $(ODE_PREGEN_SRC) | tools/process_deps ode/src/ > Makefile.deps
|
||||
$(DEP_RULE) $(DRAWSTUFF_SRC) | tools/process_deps drawstuff/src/ >> Makefile.deps
|
@ -1,30 +0,0 @@
|
||||
--- OPCODE/OPC_TreeCollider.h.orig Mon May 23 20:11:48 2005
|
||||
+++ OPCODE/OPC_TreeCollider.h Mon May 23 20:16:16 2005
|
||||
@@ -28,6 +28,13 @@
|
||||
//! even entering the recursive collision code.
|
||||
struct OPCODE_API BVTCache : Pair
|
||||
{
|
||||
+ inline_ void ResetCountDown()
|
||||
+ {
|
||||
+#ifdef __MESHMERIZER_H__ // Collision hulls only supported within ICE !
|
||||
+ CountDown = 50;
|
||||
+#endif // __MESHMERIZER_H__
|
||||
+ }
|
||||
+
|
||||
//! Constructor
|
||||
inline_ BVTCache()
|
||||
{
|
||||
@@ -46,13 +53,6 @@
|
||||
SepVector.pid = 0;
|
||||
SepVector.qid = 0;
|
||||
SepVector.SV = Point(1.0f, 0.0f, 0.0f);
|
||||
-#endif // __MESHMERIZER_H__
|
||||
- }
|
||||
-
|
||||
- inline_ void ResetCountDown()
|
||||
- {
|
||||
-#ifdef __MESHMERIZER_H__ // Collision hulls only supported within ICE !
|
||||
- CountDown = 50;
|
||||
#endif // __MESHMERIZER_H__
|
||||
}
|
||||
|
@ -1,10 +0,0 @@
|
||||
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/
|
||||
|
||||
- David
|
||||
dyeske@yahoo.com
|
@ -1,24 +0,0 @@
|
||||
lib/libdrawstuff.a
|
||||
lib/libode.a
|
||||
include/ode/collision.h
|
||||
include/ode/collision_space.h
|
||||
include/ode/collision_trimesh.h
|
||||
include/ode/common.h
|
||||
include/ode/compatibility.h
|
||||
include/ode/config.h
|
||||
include/ode/contact.h
|
||||
include/ode/error.h
|
||||
include/ode/export-dif.h
|
||||
include/ode/mass.h
|
||||
include/ode/matrix.h
|
||||
include/ode/memory.h
|
||||
include/ode/misc.h
|
||||
include/ode/objects.h
|
||||
include/ode/ode.h
|
||||
include/ode/odecpp.h
|
||||
include/ode/odecpp_collision.h
|
||||
include/ode/odecpp_old.h
|
||||
include/ode/odemath.h
|
||||
include/ode/rotation.h
|
||||
include/ode/timer.h
|
||||
@dirrm include/ode
|
Loading…
Reference in New Issue
Block a user