diff options
author | mnag <mnag@FreeBSD.org> | 2005-11-13 11:02:22 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2005-11-13 11:02:22 +0800 |
commit | a96ad0461f0a66b4caae2e24a493884afe0c90b6 (patch) | |
tree | b517106410eaa38639b20cae0265b542a7abeaba | |
parent | b3a20ccb56ca88177e808be19e0703de08166201 (diff) | |
download | freebsd-ports-gnome-a96ad0461f0a66b4caae2e24a493884afe0c90b6.tar.gz freebsd-ports-gnome-a96ad0461f0a66b4caae2e24a493884afe0c90b6.tar.zst freebsd-ports-gnome-a96ad0461f0a66b4caae2e24a493884afe0c90b6.zip |
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 <acardenas@bsd.org.pe>
Repocopy by: marcus
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/cal3d-devel/Makefile | 30 | ||||
-rw-r--r-- | graphics/cal3d-devel/distinfo | 5 | ||||
-rw-r--r-- | graphics/cal3d-devel/files/patch-src_cal3d_buffersource.h | 2 | ||||
-rw-r--r-- | graphics/cal3d-devel/files/patch-src_cal3d_loader.h | 2 | ||||
-rw-r--r-- | graphics/cal3d-devel/files/patch-src_cal3d_streamsource.h | 2 | ||||
-rw-r--r-- | graphics/cal3d-devel/pkg-plist | 6 | ||||
-rw-r--r-- | graphics/cal3d/Makefile | 2 |
8 files changed, 32 insertions, 18 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 00d2f0cd32f1..ce85d3ce735b 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -40,6 +40,7 @@ SUBDIR += cairo SUBDIR += cairo-java SUBDIR += cal3d + SUBDIR += cal3d-devel SUBDIR += camediaplay SUBDIR += cbrpager SUBDIR += cbview 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 <bsd.port.pre.mk> +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 <bsd.port.post.mk> +.include <bsd.port.mk> 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 <istream> -+#include <istream.h> ++#include <iostream> /** * 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 <string> -#include <istream> -+#include <istream.h> ++#include <iostream> #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 <istream> -+#include <istream.h> ++#include <iostream> /** * 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 diff --git a/graphics/cal3d/Makefile b/graphics/cal3d/Makefile index 970af8772517..4e4275c580aa 100644 --- a/graphics/cal3d/Makefile +++ b/graphics/cal3d/Makefile @@ -15,6 +15,8 @@ DISTFILES= ${PORTNAME}-full-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= sw@gegenunendlich.de COMMENT= Skeletal based 3d character animation library written in C++ +CONFLICTS= cal3d-devel-[0-9]* + USE_BZIP2= yes USE_GNOME= pkgconfig USE_AUTOMAKE_VER= 19 |