From 9b7b267cf9a68d0fefa7575bc6dfcf87bb7ffef0 Mon Sep 17 00:00:00 2001 From: Marcus Alves Grando Date: Sun, 13 Nov 2005 03:02:22 +0000 Subject: New port graphics/cal3d-devel Cal3D is a skeletal based 3D character animation library written in C++ in a way that is both platform-independent and graphics API-independent. It was originally designed to be used in a 3D client for Worldforge, but evolved into a stand-alone product which can be used in many different kinds of projects. Cal3D's essentials can be boiled down to 2 parts: the C++ library and the exporter. The exporter is what you would use to take your characters (built in a 3D modeling package) and create the Cal3D-format files that the library knows how to load. The exporters are actually plug-ins for 3D modeling packages. This allows 3D artists to use the modeling tools that they're already comfortable with. The C++ library is what you would actually use in your application, whether it's a game or a VR application. The library provides methods to load your exported files, build characters, run animations, and access the data necessary to render them with 3D graphics. WWW: http://cal3d.sourceforge.net/ Add CONFLICTS in graphics/cal3d PR: 88536 Submitted by: Jose Alonso Cardenas Marquez Repocopy by: marcus --- graphics/cal3d-devel/Makefile | 30 ++++++++++++++-------- graphics/cal3d-devel/distinfo | 5 ++-- .../files/patch-src_cal3d_buffersource.h | 2 +- .../cal3d-devel/files/patch-src_cal3d_loader.h | 2 +- .../files/patch-src_cal3d_streamsource.h | 2 +- graphics/cal3d-devel/pkg-plist | 6 ++--- 6 files changed, 29 insertions(+), 18 deletions(-) (limited to 'graphics/cal3d-devel') diff --git a/graphics/cal3d-devel/Makefile b/graphics/cal3d-devel/Makefile index 970af8772517..e203abf65215 100644 --- a/graphics/cal3d-devel/Makefile +++ b/graphics/cal3d-devel/Makefile @@ -6,29 +6,39 @@ # PORTNAME= cal3d -PORTVERSION= 0.10.0 +DISTVERSION= ${CAL3DVER}_pre20050823 CATEGORIES= graphics devel -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} -MASTER_SITE_SUBDIR= ${PORTNAME} -DISTFILES= ${PORTNAME}-full-${PORTVERSION}${EXTRACT_SUFX} +MASTER_SITES= ${MASTER_SITE_GENTOO} +MASTER_SITE_SUBDIR= distfiles +PKGNAMESUFFIX= -devel +DISTNAME= ${PORTNAME}-${DISTVERSION} -MAINTAINER= sw@gegenunendlich.de -COMMENT= Skeletal based 3d character animation library written in C++ +MAINTAINER= acardenas@bsd.org.pe +COMMENT= Skeletal based 3d character animation library written in C++ (devel) + +CAL3DVER= 0.11.0 + +CONFLICTS= cal3d-[0-9]* USE_BZIP2= yes USE_GNOME= pkgconfig +USE_GCC= 3.2+ USE_AUTOMAKE_VER= 19 AUTOMAKE_ARGS= "--add-missing" USE_AUTOHEADER_VER= 259 USE_INC_LIBTOOL_VER= 15 INSTALLS_SHLIB= yes -CONFIGURE_ARGS+= --disable-static - -.include +CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --disable-static +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} ${CXX}" +WRKSRC= ${WRKDIR}/${PORTNAME} pre-configure: cd ${WRKSRC} && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal cd ${WRKSRC} && ${AUTOHEADER} cd ${WRKSRC} && ${LIBTOOLIZE} --automake --force -.include +.include diff --git a/graphics/cal3d-devel/distinfo b/graphics/cal3d-devel/distinfo index a286b37a92c9..65971b34f4e1 100644 --- a/graphics/cal3d-devel/distinfo +++ b/graphics/cal3d-devel/distinfo @@ -1,2 +1,3 @@ -MD5 (cal3d-full-0.10.0.tar.bz2) = 47b3b72c6adcf5351f0884639d606d05 -SIZE (cal3d-full-0.10.0.tar.bz2) = 2995348 +MD5 (cal3d-0.11.0_pre20050823.tar.bz2) = da196ac6a41e34c2166cf894f7085bf0 +SHA256 (cal3d-0.11.0_pre20050823.tar.bz2) = 05c48360149be601e851b909bbbd80da0abfe77fc7828b262b80c08494844041 +SIZE (cal3d-0.11.0_pre20050823.tar.bz2) = 8138576 diff --git a/graphics/cal3d-devel/files/patch-src_cal3d_buffersource.h b/graphics/cal3d-devel/files/patch-src_cal3d_buffersource.h index 6cc393fdf3ed..08caf95b630a 100644 --- a/graphics/cal3d-devel/files/patch-src_cal3d_buffersource.h +++ b/graphics/cal3d-devel/files/patch-src_cal3d_buffersource.h @@ -5,7 +5,7 @@ #include "cal3d/global.h" #include "cal3d/datasource.h" -#include -+#include ++#include /** * CalBufferSource class. diff --git a/graphics/cal3d-devel/files/patch-src_cal3d_loader.h b/graphics/cal3d-devel/files/patch-src_cal3d_loader.h index 8121123c1431..4d27c42155b4 100644 --- a/graphics/cal3d-devel/files/patch-src_cal3d_loader.h +++ b/graphics/cal3d-devel/files/patch-src_cal3d_loader.h @@ -5,7 +5,7 @@ #include -#include -+#include ++#include #include "cal3d/global.h" #include "cal3d/datasource.h" diff --git a/graphics/cal3d-devel/files/patch-src_cal3d_streamsource.h b/graphics/cal3d-devel/files/patch-src_cal3d_streamsource.h index b2125b55736f..25f82c923133 100644 --- a/graphics/cal3d-devel/files/patch-src_cal3d_streamsource.h +++ b/graphics/cal3d-devel/files/patch-src_cal3d_streamsource.h @@ -5,7 +5,7 @@ #include "cal3d/global.h" #include "cal3d/datasource.h" -#include -+#include ++#include /** * CalStreamSource class. diff --git a/graphics/cal3d-devel/pkg-plist b/graphics/cal3d-devel/pkg-plist index 079d377287ae..5138ae9d9ab6 100644 --- a/graphics/cal3d-devel/pkg-plist +++ b/graphics/cal3d-devel/pkg-plist @@ -8,7 +8,6 @@ include/cal3d/cal3d.h include/cal3d/cal3d_wrapper.h include/cal3d/coreanimation.h include/cal3d/corebone.h -include/cal3d/corekeyframe.h include/cal3d/corematerial.h include/cal3d/coremesh.h include/cal3d/coremodel.h @@ -16,7 +15,6 @@ include/cal3d/coremorphanimation.h include/cal3d/coreskeleton.h include/cal3d/coresubmesh.h include/cal3d/coresubmorphtarget.h -include/cal3d/coretrack.h include/cal3d/datasource.h include/cal3d/error.h include/cal3d/global.h @@ -30,6 +28,8 @@ include/cal3d/morphtargetmixer.h include/cal3d/physique.h include/cal3d/platform.h include/cal3d/quaternion.h +include/cal3d/refcounted.h +include/cal3d/refptr.h include/cal3d/renderer.h include/cal3d/resource.h include/cal3d/saver.h @@ -37,8 +37,8 @@ include/cal3d/skeleton.h include/cal3d/springsystem.h include/cal3d/streamsource.h include/cal3d/submesh.h -include/cal3d/tinystr.h include/cal3d/tinyxml.h +include/cal3d/transform.h include/cal3d/vector.h @dirrm include/cal3d lib/libcal3d.so -- cgit v1.2.3