import ode 0.11.1

ODE is an open source, high performance library for simulating rigid
body dynamics. It is fully featured, stable, mature and platform
independent with an easy to use C/C++ API. It has advanced joint types
and integrated collision detection with friction. ODE is useful for
simulating vehicles, objects in virtual reality environments and virtual
creatures. It is currently used in many computer games, 3D authoring
tools and simulation tools.

original port by jonathan armani, with tweaks by me
This commit is contained in:
jasper 2009-08-03 14:14:10 +00:00
parent c88f993644
commit aa88fcbc8a
6 changed files with 111 additions and 0 deletions

33
devel/ode/Makefile Normal file
View File

@ -0,0 +1,33 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/08/03 14:14:10 jasper Exp $
COMMENT = high performance library for simulating rigid body dynamics
SHARED_LIBS += ode 0.0 # .2.1
DISTNAME = ode-0.11.1
CATEGORIES = devel
MAINTAINER = Jonathan Armani <dbd@asystant.net>
HOMEPAGE = http://www.ode.org/
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=opende/}
# LGPLv2.1
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = m pthread
USE_LIBTOOL= Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --enable-shared
CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include" \
LDFLAGS="-L${X11BASE}/lib"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ode
${INSTALL_DATA} ${WRKSRC}/LICENSE.TXT ${PREFIX}/share/doc/ode/LICENSE
${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/ode/README
.include <bsd.port.mk>

5
devel/ode/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (ode-0.11.1.tar.gz) = X3lii3sQp6WQknWaWvd3dQ==
RMD160 (ode-0.11.1.tar.gz) = 1SvYA72MdXAP64S3iyQHCSuI0aU=
SHA1 (ode-0.11.1.tar.gz) = 1zBxApAaEs2P/4/WAb+2PrIBUTM=
SHA256 (ode-0.11.1.tar.gz) = TCJbdtV6WoCUZT+6SPMWmsGpliLzzpjyvlX71aG3ZRk=
SIZE (ode-0.11.1.tar.gz) = 1904165

View File

@ -0,0 +1,32 @@
$OpenBSD: patch-configure,v 1.1.1.1 2009/08/03 14:14:10 jasper Exp $
s/-lpthread/-pthread/
--- configure.orig Mon Jul 27 12:51:52 2009
+++ configure Mon Jul 27 12:52:20 2009
@@ -19074,13 +19074,13 @@ else
fi
-{ $as_echo "$as_me:$LINENO: checking for main in -lpthread" >&5
-$as_echo_n "checking for main in -lpthread... " >&6; }
+{ $as_echo "$as_me:$LINENO: checking for main in -pthread" >&5
+$as_echo_n "checking for main in -pthread... " >&6; }
if test "${ac_cv_lib_pthread_main+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -19134,7 +19134,7 @@ fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
$as_echo "$ac_cv_lib_pthread_main" >&6; }
if test "x$ac_cv_lib_pthread_main" = x""yes; then
- LIBS="$LIBS -lpthread"
+ LIBS="$LIBS -pthread"
fi

7
devel/ode/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
ODE is an open source, high performance library for simulating rigid
body dynamics. It is fully featured, stable, mature and platform
independent with an easy to use C/C++ API. It has advanced joint types
and integrated collision detection with friction. ODE is useful for
simulating vehicles, objects in virtual reality environments and virtual
creatures. It is currently used in many computer games, 3D authoring
tools and simulation tools.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2009/08/03 14:14:10 jasper Exp $
@lib lib/libode.so.${LIBode_VERSION}

32
devel/ode/pkg/PLIST Normal file
View File

@ -0,0 +1,32 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/08/03 14:14:10 jasper Exp $
bin/ode-config
include/ode/
include/ode/collision.h
include/ode/collision_space.h
include/ode/collision_trimesh.h
include/ode/common.h
include/ode/compatibility.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/odeconfig.h
include/ode/odecpp.h
include/ode/odecpp_collision.h
include/ode/odeinit.h
include/ode/odemath.h
include/ode/rotation.h
include/ode/timer.h
lib/libode.a
lib/libode.la
%%SHARED%%
lib/pkgconfig/
lib/pkgconfig/ode.pc
share/doc/ode/
share/doc/ode/LICENSE
share/doc/ode/README