summaryrefslogtreecommitdiff
path: root/graphics/lib3ds
diff options
context:
space:
mode:
authorrh <rh>2002-09-06 00:52:28 +0000
committerrh <rh>2002-09-06 00:52:28 +0000
commitb7a82fdeb88470ff6de55281e19f226f78f99df9 (patch)
tree92d2cc10d625a2a7a1b799fe6c64a84b94c60481 /graphics/lib3ds
parentfff8902e9b20d9c9305e97981f24b81fdea10405 (diff)
downloadpkgsrc-b7a82fdeb88470ff6de55281e19f226f78f99df9.tar.gz
Initial import of lib3ds-1.2.0, a library for parsing 3D objects in 3DS
format.
Diffstat (limited to 'graphics/lib3ds')
-rw-r--r--graphics/lib3ds/DESCR11
-rw-r--r--graphics/lib3ds/Makefile19
-rw-r--r--graphics/lib3ds/PLIST30
-rw-r--r--graphics/lib3ds/buildlink2.mk46
-rw-r--r--graphics/lib3ds/distinfo4
5 files changed, 110 insertions, 0 deletions
diff --git a/graphics/lib3ds/DESCR b/graphics/lib3ds/DESCR
new file mode 100644
index 00000000000..d82a8a9bc36
--- /dev/null
+++ b/graphics/lib3ds/DESCR
@@ -0,0 +1,11 @@
+ Lib3ds is a free alternative to Autodesk's 3DS File Toolkit for handling
+3DS files. Its main goal is to simplify the creation of 3DS import and
+export filters.
+
+ This project is not related in any form to Autodesk. The library is
+based on unofficial information about the 3DS format found on the web.
+
+ This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+See the GNU Lesser General Public License for more details.
diff --git a/graphics/lib3ds/Makefile b/graphics/lib3ds/Makefile
new file mode 100644
index 00000000000..16d8f8b968e
--- /dev/null
+++ b/graphics/lib3ds/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/09/06 00:52:28 rh Exp $
+#
+
+DISTNAME= lib3ds-1.2.0
+CATEGORIES= graphics devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lib3ds/}
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://lib3ds.sourceforge.net/
+COMMENT= 3D Studio File Format Library
+
+USE_MESA= YES
+USE_BUILDLINK2= YES
+GNU_CONFIGURE= YES
+LDFLAGS+= -lm
+
+.include "../../graphics/Mesa/buildlink2.mk"
+.include "../../graphics/glut/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/lib3ds/PLIST b/graphics/lib3ds/PLIST
new file mode 100644
index 00000000000..df90bebfae4
--- /dev/null
+++ b/graphics/lib3ds/PLIST
@@ -0,0 +1,30 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/09/06 00:52:28 rh Exp $
+bin/3ds2m
+bin/3dsdump
+bin/lib3ds-config
+include/lib3ds/atmosphere.h
+include/lib3ds/background.h
+include/lib3ds/camera.h
+include/lib3ds/chunk.h
+include/lib3ds/ease.h
+include/lib3ds/file.h
+include/lib3ds/float.h
+include/lib3ds/io.h
+include/lib3ds/light.h
+include/lib3ds/material.h
+include/lib3ds/matrix.h
+include/lib3ds/mesh.h
+include/lib3ds/node.h
+include/lib3ds/quat.h
+include/lib3ds/shadow.h
+include/lib3ds/tcb.h
+include/lib3ds/tracks.h
+include/lib3ds/types.h
+include/lib3ds/vector.h
+include/lib3ds/viewport.h
+lib/lib3ds.a
+man/man1/3ds2m.1
+man/man1/3dsdump.1
+man/man1/lib3ds-config.1
+share/aclocal/lib3ds.m4
+@dirrm include/lib3ds
diff --git a/graphics/lib3ds/buildlink2.mk b/graphics/lib3ds/buildlink2.mk
new file mode 100644
index 00000000000..04b4b497253
--- /dev/null
+++ b/graphics/lib3ds/buildlink2.mk
@@ -0,0 +1,46 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2002/09/06 00:52:29 rh Exp $
+#
+# This Makefile fragment is included by packages that use lib3ds.
+#
+# This file was created automatically using createbuildlink 2.0.
+#
+
+.if !defined(LIB3DS_BUILDLINK2_MK)
+LIB3DS_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= lib3ds
+BUILDLINK_DEPENDS.lib3ds?= lib3ds>=1.2.0
+BUILDLINK_PKGSRCDIR.lib3ds?= ../../graphics/lib3ds
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.lib3ds=lib3ds
+BUILDLINK_PREFIX.lib3ds_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.lib3ds+= include/lib3ds/atmosphere.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/background.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/camera.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/chunk.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/ease.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/file.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/float.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/io.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/light.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/material.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/matrix.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/mesh.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/node.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/quat.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/shadow.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/tcb.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/tracks.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/types.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/vector.h
+BUILDLINK_FILES.lib3ds+= include/lib3ds/viewport.h
+BUILDLINK_FILES.lib3ds+= lib/lib3ds.*
+
+.include "../../graphics/Mesa/buildlink2.mk"
+.include "../../graphics/glut/buildlink2.mk"
+
+BUILDLINK_TARGETS+= lib3ds-buildlink
+
+lib3ds-buildlink: _BUILDLINK_USE
+
+.endif # LIB3DS_BUILDLINK2_MK
diff --git a/graphics/lib3ds/distinfo b/graphics/lib3ds/distinfo
new file mode 100644
index 00000000000..69ed7ea584c
--- /dev/null
+++ b/graphics/lib3ds/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/09/06 00:52:28 rh Exp $
+
+SHA1 (lib3ds-1.2.0.tar.gz) = 49614218c4c11572887beefaa34d23f72ef70a2c
+Size (lib3ds-1.2.0.tar.gz) = 136806 bytes