From owner-svn-ports-head@freebsd.org Tue Nov 20 05:59:29 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 786C6113F499; Tue, 20 Nov 2018 05:59:29 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 16CD77B31B; Tue, 20 Nov 2018 05:59:29 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EA45E5495; Tue, 20 Nov 2018 05:59:28 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wAK5xSGs056159; Tue, 20 Nov 2018 05:59:28 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wAK5xR1H056153; Tue, 20 Nov 2018 05:59:27 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201811200559.wAK5xR1H056153@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 20 Nov 2018 05:59:27 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . libccd libccd/files X-SVN-Commit-Revision: 485411 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 16CD77B31B X-Spamd-Result: default: False [0.56 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_LONG(0.00)[0.001,0]; NEURAL_SPAM_SHORT(0.53)[0.528,0]; NEURAL_SPAM_MEDIUM(0.03)[0.027,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2018 05:59:29 -0000 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 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