aboutsummaryrefslogtreecommitdiff
path: root/graphics/dynamechs
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-06 15:37:51 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-06 15:37:51 +0000
commita99f4bc31da7fd681c6bbcad451bcba0a8ef6a50 (patch)
tree335983daa2ba4d8a00a5a8b01ba648828d83a5cd /graphics/dynamechs
parent82c0c69040ba262561355a96be68163fb3f1c8a9 (diff)
downloadports-a99f4bc31da7fd681c6bbcad451bcba0a8ef6a50.tar.gz
ports-a99f4bc31da7fd681c6bbcad451bcba0a8ef6a50.zip
Notes
Diffstat (limited to 'graphics/dynamechs')
-rw-r--r--graphics/dynamechs/Makefile33
-rw-r--r--graphics/dynamechs/distinfo1
-rw-r--r--graphics/dynamechs/files/patch-make::make.platform.freebsd28
-rw-r--r--graphics/dynamechs/pkg-comment1
-rw-r--r--graphics/dynamechs/pkg-descr3
-rw-r--r--graphics/dynamechs/pkg-plist48
6 files changed, 114 insertions, 0 deletions
diff --git a/graphics/dynamechs/Makefile b/graphics/dynamechs/Makefile
new file mode 100644
index 000000000000..e279bcb75c50
--- /dev/null
+++ b/graphics/dynamechs/Makefile
@@ -0,0 +1,33 @@
+# ex:ts=8
+# New ports collection makefile for: dynamechs
+# Date created: Dec 6, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= dynamechs
+PORTVERSION= 4.0p1
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}_${PORTVERSION:S/p/pre/}
+
+MAINTAINER= ports@FreeBSD.org
+
+USE_MESA= yes
+USE_GMAKE= yes
+MAKE_ENV= OPENGLINCDIR="${X11BASE}/include" \
+ OPENGLLIBDIR="${X11BASE}/lib" \
+ CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}" \
+ LDFLAGS="${PTHREAD_LIBS}"
+ALL_TARGET= freebsd
+
+do-install:
+.for dir in dm dmu dmGL
+ @${MKDIR} ${PREFIX}/include/${PORTNAME}/${dir}
+ ${INSTALL_DATA} ${WRKSRC}/${dir}/*.h* ${PREFIX}/include/${PORTNAME}/${dir}
+ ${INSTALL_DATA} ${WRKSRC}/lib/platform.freebsd/lib${dir}.so ${PREFIX}/lib
+.endfor
+
+.include <bsd.port.mk>
diff --git a/graphics/dynamechs/distinfo b/graphics/dynamechs/distinfo
new file mode 100644
index 000000000000..9330ecf008d2
--- /dev/null
+++ b/graphics/dynamechs/distinfo
@@ -0,0 +1 @@
+MD5 (dynamechs_4.0pre1.tar.gz) = ca082694968d97b3e41c38fc69ee045b
diff --git a/graphics/dynamechs/files/patch-make::make.platform.freebsd b/graphics/dynamechs/files/patch-make::make.platform.freebsd
new file mode 100644
index 000000000000..c9dac29d8578
--- /dev/null
+++ b/graphics/dynamechs/files/patch-make::make.platform.freebsd
@@ -0,0 +1,28 @@
+--- /dev/null Thu Dec 6 21:05:22 2001
++++ make/make.platform.freebsd Thu Dec 6 21:09:26 2001
+@@ -0,0 +1,25 @@
++CXXFLAGS += -D_BOOL -c -fPIC -D_POSIX_C_SOURCE=199506L -I/$(OPENGLINCDIR)
++# -pthreads
++DEPENDFLAGS := $(CXXFLAGS)
++
++LDFLAGS += -fPIC -L/$(OPENGLLIBDIR) -L/usr/X11R6/lib -L/usr/X11/lib -lX11 -lm -l$(MESA)GLU -l$(MESA)GL
++LDGLUT := -lglut
++
++CXX := g++
++LINKER := g++
++SHLINKER := g++
++
++SHLKFLAG := -shared -fPIC
++
++space :=
++OBJNAMEARG := -o $(space)
++EXENAMEARG := -o $(space)
++SHLNAMEARG := -o $(space)
++LINKDIRARG := -L
++LINKLIBARG := -l
++LINKLIBSFX :=
++
++LIBSFX := so
++LIBPFX := lib
++EXESFX :=
++OBJSFX := o
diff --git a/graphics/dynamechs/pkg-comment b/graphics/dynamechs/pkg-comment
new file mode 100644
index 000000000000..96e85e0df9b6
--- /dev/null
+++ b/graphics/dynamechs/pkg-comment
@@ -0,0 +1 @@
+A Multibody Dynamic Simulation Library
diff --git a/graphics/dynamechs/pkg-descr b/graphics/dynamechs/pkg-descr
new file mode 100644
index 000000000000..5d15d13f00b8
--- /dev/null
+++ b/graphics/dynamechs/pkg-descr
@@ -0,0 +1,3 @@
+DynaMechs (Dynamics of Mechanisms): A Multibody Dynamic Simulation Library
+
+WWW: http://dynamechs.sourceforge.net/
diff --git a/graphics/dynamechs/pkg-plist b/graphics/dynamechs/pkg-plist
new file mode 100644
index 000000000000..98cb7942408f
--- /dev/null
+++ b/graphics/dynamechs/pkg-plist
@@ -0,0 +1,48 @@
+include/dynamechs/dm/dm.h
+include/dynamechs/dm/dmActuator.hpp
+include/dynamechs/dm/dmArticulation.hpp
+include/dynamechs/dm/dmClosedArticulation.hpp
+include/dynamechs/dm/dmContactModel.hpp
+include/dynamechs/dm/dmEnvironment.hpp
+include/dynamechs/dm/dmForce.hpp
+include/dynamechs/dm/dmIntegEuler.hpp
+include/dynamechs/dm/dmIntegRK4.hpp
+include/dynamechs/dm/dmIntegRK45.hpp
+include/dynamechs/dm/dmIntegrator.hpp
+include/dynamechs/dm/dmLink.hpp
+include/dynamechs/dm/dmMDHLink.hpp
+include/dynamechs/dm/dmMobileBaseLink.hpp
+include/dynamechs/dm/dmObject.hpp
+include/dynamechs/dm/dmPrismaticLink.hpp
+include/dynamechs/dm/dmQuaternionLink.hpp
+include/dynamechs/dm/dmRevDCMotor.hpp
+include/dynamechs/dm/dmRevoluteLink.hpp
+include/dynamechs/dm/dmRigidBody.hpp
+include/dynamechs/dm/dmSecondaryForce.hpp
+include/dynamechs/dm/dmSecondaryJoint.hpp
+include/dynamechs/dm/dmSecondaryPrismaticJoint.hpp
+include/dynamechs/dm/dmSecondaryRevoluteJoint.hpp
+include/dynamechs/dm/dmSecondarySphericalJoint.hpp
+include/dynamechs/dm/dmSphericalLink.hpp
+include/dynamechs/dm/dmStaticRootLink.hpp
+include/dynamechs/dm/dmSystem.hpp
+include/dynamechs/dm/dmTime.h
+include/dynamechs/dm/dmTreadmill.hpp
+include/dynamechs/dm/dmZScrewTxLink.hpp
+include/dynamechs/dmu/dmLoadFile.h
+include/dynamechs/dmu/dmu.h
+include/dynamechs/dmu/glLoadModels.h
+include/dynamechs/dmGL/dmGL.h
+include/dynamechs/dmGL/dmGLCamera.hpp
+include/dynamechs/dmGL/dmGLFlyCamera.hpp
+include/dynamechs/dmGL/dmGLMouse.hpp
+include/dynamechs/dmGL/dmGLPolarCamera.hpp
+include/dynamechs/dmGL/dmGLPolarCamera_yup.hpp
+include/dynamechs/dmGL/dmGLPolarCamera_zup.hpp
+@dirrm include/dynamechs/dm
+@dirrm include/dynamechs/dmu
+@dirrm include/dynamechs/dmGL
+@dirrm include/dynamechs
+lib/libdm.so
+lib/libdmu.so
+lib/libdmGL.so