Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2018 05:59:27 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485411 - in head/math: . libccd libccd/files
Message-ID:  <201811200559.wAK5xR1H056153@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Nov 20 05:59:27 2018
New Revision: 485411
URL: https://svnweb.freebsd.org/changeset/ports/485411

Log:
  New port: math/libccd: Library for collision detection between two convex shapes

Added:
  head/math/libccd/
  head/math/libccd/Makefile   (contents, props changed)
  head/math/libccd/distinfo   (contents, props changed)
  head/math/libccd/files/
  head/math/libccd/files/patch-CMakeLists.txt   (contents, props changed)
  head/math/libccd/pkg-descr   (contents, props changed)
  head/math/libccd/pkg-plist   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Tue Nov 20 04:26:41 2018	(r485410)
+++ head/math/Makefile	Tue Nov 20 05:59:27 2018	(r485411)
@@ -313,6 +313,7 @@
     SUBDIR += lean
     SUBDIR += levmar
     SUBDIR += libRmath
+    SUBDIR += libccd
     SUBDIR += libflame
     SUBDIR += liblbfgs
     SUBDIR += libmesh

Added: head/math/libccd/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/libccd/Makefile	Tue Nov 20 05:59:27 2018	(r485411)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME=	libccd
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2.0-49
+DISTVERSIONSUFFIX=	-g63d3a91
+CATEGORIES=	math
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Library for collision detection between two convex shapes
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/BSD-LICENSE
+
+USES=		cmake:outsource
+USE_GITHUB=	yes
+GH_ACCOUNT=	danfis
+USE_LDCONFIG=	yes
+
+OPTIONS_DEFINE=	DOUBLE_PECISION
+
+DOUBLE_PECISION_DESC=		Enable double precision computations
+DOUBLE_PECISION_CMAKE_BOOL=	ENABLE_DOUBLE_PRECISION
+
+.include <bsd.port.mk>

Added: head/math/libccd/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/libccd/distinfo	Tue Nov 20 05:59:27 2018	(r485411)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1542689250
+SHA256 (danfis-libccd-v2.0-49-g63d3a91_GH0.tar.gz) = f494395baa3bba6eb815d163f69ee94b07bb8ab2c0df77a6bbf9f51883128351
+SIZE (danfis-libccd-v2.0-49-g63d3a91_GH0.tar.gz) = 73675

Added: head/math/libccd/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/libccd/files/patch-CMakeLists.txt	Tue Nov 20 05:59:27 2018	(r485411)
@@ -0,0 +1,8 @@
+--- CMakeLists.txt.orig	2018-11-20 04:50:23 UTC
++++ CMakeLists.txt
+@@ -72,4 +72,4 @@ configure_file(ccd.pc.in ccd.pc @ONLY)
+ install(FILES "${CMAKE_BINARY_DIR}/ccd.pc"
+   DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
+ 
+-install(FILES BSD-LICENSE DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/doc/ccd")
++#install(FILES BSD-LICENSE DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/doc/ccd")

Added: head/math/libccd/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/libccd/pkg-descr	Tue Nov 20 05:59:27 2018	(r485411)
@@ -0,0 +1,10 @@
+libccd is library for a collision detection between two convex shapes. libccd
+implements variation on Gilbert-Johnson-Keerthi algorithm plus Expand Polytope
+Algorithm (EPA) and also implements algorithm Minkowski Portal Refinement (MPR,
+a.k.a. XenoCollide) as described in Game Programming Gems 7.
+
+libccd is the only available open source library of my knowledge that include
+MPR algorithm working in 3-D space. However, there is a library called mpr2d,
+implemented in D programming language, that works in 2-D space.
+
+WWW: https://github.com/danfis/libccd

Added: head/math/libccd/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/libccd/pkg-plist	Tue Nov 20 05:59:27 2018	(r485411)
@@ -0,0 +1,14 @@
+include/ccd/ccd.h
+include/ccd/ccd_export.h
+include/ccd/compiler.h
+include/ccd/config.h
+include/ccd/quat.h
+include/ccd/vec3.h
+lib/ccd/ccd-config-version.cmake
+lib/ccd/ccd-config.cmake
+lib/ccd/ccd-targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/ccd/ccd-targets.cmake
+lib/libccd.so
+lib/libccd.so.2
+lib/libccd.so.2.0
+libdata/pkgconfig/ccd.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811200559.wAK5xR1H056153>