aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2012-12-23 01:25:08 +0800
committerpawel <pawel@FreeBSD.org>2012-12-23 01:25:08 +0800
commit4c3c23b0d65db7ca674a17c2fb30f3ad72b4c821 (patch)
tree3ab4210b4a66b47c6ccbefb767354e83a355b0a3 /multimedia
parentc522957a0ae376f694dd2301d94ea99e0ffa7369 (diff)
downloadfreebsd-ports-gnome-4c3c23b0d65db7ca674a17c2fb30f3ad72b4c821.tar.gz
freebsd-ports-gnome-4c3c23b0d65db7ca674a17c2fb30f3ad72b4c821.tar.zst
freebsd-ports-gnome-4c3c23b0d65db7ca674a17c2fb30f3ad72b4c821.zip
Open Asset Import Library (short name: Assimp) is a portable Open Source
library to import various well-known 3D model formats in a uniform manner. The most recent version also knows how to export 3d files and is therefore suitable as general-purpose 3D model converter. See the feature list. WWW: http://http://assimp.sourceforge.net PR: ports/174428 Submitted by: Yuri <yuri@tsoft.com>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/assimp/Makefile32
-rw-r--r--multimedia/assimp/distinfo2
-rw-r--r--multimedia/assimp/pkg-descr6
-rw-r--r--multimedia/assimp/pkg-plist53
5 files changed, 94 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 29ec3511c1a3..f1003e783548 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -10,6 +10,7 @@
SUBDIR += aegisub
SUBDIR += arista
SUBDIR += asdcplib
+ SUBDIR += assimp
SUBDIR += atomicparsley
SUBDIR += audacious
SUBDIR += audacious-plugins
diff --git a/multimedia/assimp/Makefile b/multimedia/assimp/Makefile
new file mode 100644
index 000000000000..de2aee19dac1
--- /dev/null
+++ b/multimedia/assimp/Makefile
@@ -0,0 +1,32 @@
+# Created by: Yuri <yuri@tsoft.com>
+# $FreeBSD$
+
+PORTNAME= assimp
+PORTVERSION= 3.0
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}-3.0
+DISTNAME= ${PORTNAME}--${PORTVERSION}.1270-source-only
+
+MAINTAINER= yuri@tsoft.com
+COMMENT= Library to import various 3D model formats in a uniform manner
+
+LICENSE= BSD
+
+LIB_DEPENDS= boost_filesystem:${PORTSDIR}/devel/boost-libs
+
+USE_ZIP= yes
+USE_CMAKE= yes
+USE_PKGCONFIG= build
+USE_GCC= 4.6+ # 4.2+ causes compiler warnings
+USE_LDCONFIG= yes
+MAKE_JOBS_SAFE= yes
+
+# CMAKE_ARGS instructs cmake to skip runtime path removal during install
+CMAKE_ARGS+= "-DCMAKE_SKIP_RPATH=ON"
+
+post-patch:
+ @${REINPLACE_CMD} 's|$${LIB_INSTALL_DIR}/pkgconfig|libdata/pkgconfig|' \
+ ${WRKSRC}/CMakeLists.txt
+
+.include <bsd.port.mk>
diff --git a/multimedia/assimp/distinfo b/multimedia/assimp/distinfo
new file mode 100644
index 000000000000..b029e49968d8
--- /dev/null
+++ b/multimedia/assimp/distinfo
@@ -0,0 +1,2 @@
+SHA256 (assimp--3.0.1270-source-only.zip) = ac29beb596db97df57451a5503afaf2d8b4366522842a6914da89644927a1423
+SIZE (assimp--3.0.1270-source-only.zip) = 4042147
diff --git a/multimedia/assimp/pkg-descr b/multimedia/assimp/pkg-descr
new file mode 100644
index 000000000000..6c3ea731b617
--- /dev/null
+++ b/multimedia/assimp/pkg-descr
@@ -0,0 +1,6 @@
+Open Asset Import Library (short name: Assimp) is a portable Open Source
+library to import various well-known 3D model formats in a uniform manner.
+The most recent version also knows how to export 3d files and is therefore
+suitable as general-purpose 3D model converter. See the feature list.
+
+WWW: http://http://assimp.sourceforge.net
diff --git a/multimedia/assimp/pkg-plist b/multimedia/assimp/pkg-plist
new file mode 100644
index 000000000000..a69f74e04fce
--- /dev/null
+++ b/multimedia/assimp/pkg-plist
@@ -0,0 +1,53 @@
+bin/assimp
+include/assimp/Compiler/poppack1.h
+include/assimp/Compiler/pstdint.h
+include/assimp/Compiler/pushpack1.h
+include/assimp/DefaultLogger.hpp
+include/assimp/Exporter.hpp
+include/assimp/IOStream.hpp
+include/assimp/IOSystem.hpp
+include/assimp/Importer.hpp
+include/assimp/LogStream.hpp
+include/assimp/Logger.hpp
+include/assimp/NullLogger.hpp
+include/assimp/ProgressHandler.hpp
+include/assimp/ai_assert.h
+include/assimp/anim.h
+include/assimp/camera.h
+include/assimp/cexport.h
+include/assimp/cfileio.h
+include/assimp/cimport.h
+include/assimp/color4.h
+include/assimp/color4.inl
+include/assimp/config.h
+include/assimp/defs.h
+include/assimp/importerdesc.h
+include/assimp/light.h
+include/assimp/material.h
+include/assimp/material.inl
+include/assimp/matrix3x3.h
+include/assimp/matrix3x3.inl
+include/assimp/matrix4x4.h
+include/assimp/matrix4x4.inl
+include/assimp/mesh.h
+include/assimp/postprocess.h
+include/assimp/quaternion.h
+include/assimp/quaternion.inl
+include/assimp/scene.h
+include/assimp/texture.h
+include/assimp/types.h
+include/assimp/vector2.h
+include/assimp/vector2.inl
+include/assimp/vector3.h
+include/assimp/vector3.inl
+include/assimp/version.h
+lib/cmake/assimp-3.0/assimp-config-version.cmake
+lib/cmake/assimp-3.0/assimp-config.cmake
+lib/libassimp.so
+lib/libassimp.so.3
+lib/libassimp.so.3.0.1264
+libdata/pkgconfig/assimp.pc
+@dirrm lib/cmake/assimp-3.0
+@dirrmtry lib/cmake
+@dirrm include/assimp/Compiler
+@dirrm include/assimp