From owner-svn-ports-head@freebsd.org Thu Oct 18 21:21:19 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 72D95F756E1; Thu, 18 Oct 2018 21:21:19 +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 2A0107F724; Thu, 18 Oct 2018 21:21:19 +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 24FC6255BC; Thu, 18 Oct 2018 21:21:19 +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 w9ILLJF3028746; Thu, 18 Oct 2018 21:21:19 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9ILLIaR028740; Thu, 18 Oct 2018 21:21:18 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201810182121.w9ILLIaR028740@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Thu, 18 Oct 2018 21:21:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482378 - in head/science: . mmtf mmtf/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/science: . mmtf mmtf/files X-SVN-Commit-Revision: 482378 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Thu, 18 Oct 2018 21:21:19 -0000 Author: yuri Date: Thu Oct 18 21:21:17 2018 New Revision: 482378 URL: https://svnweb.freebsd.org/changeset/ports/482378 Log: New port: science/mmtf: C++ implementation of the MMTF API, decoder and encoder Added: head/science/mmtf/ head/science/mmtf/Makefile (contents, props changed) head/science/mmtf/distinfo (contents, props changed) head/science/mmtf/files/ head/science/mmtf/files/patch-tests_mmtf__tests.cpp (contents, props changed) head/science/mmtf/pkg-descr (contents, props changed) Modified: head/science/Makefile Modified: head/science/Makefile ============================================================================== --- head/science/Makefile Thu Oct 18 20:23:18 2018 (r482377) +++ head/science/Makefile Thu Oct 18 21:21:17 2018 (r482378) @@ -142,6 +142,7 @@ SUBDIR += metaphysicl SUBDIR += minc2 SUBDIR += mmdb2 + SUBDIR += mmtf SUBDIR += mol2ps SUBDIR += molgif SUBDIR += mpb Added: head/science/mmtf/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/mmtf/Makefile Thu Oct 18 21:21:17 2018 (r482378) @@ -0,0 +1,49 @@ +# $FreeBSD$ + +PORTNAME= mmtf +DISTVERSION= g20180730 +CATEGORIES= science biology + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C++ implementation of the MMTF API, decoder and encoder + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${LOCALBASE}/include/msgpack.hpp:devel/msgpack + +USES= cmake:outsource compiler:c++11-lang localbase:ldflags +USE_GITHUB= yes +GH_ACCOUNT= rcsb +GH_PROJECT= mmtf-cpp +GH_TAGNAME= 63e58a9 +GH_TUPLE= rcsb:mmtf:8c88834:x/mmtf_spec + +NO_BUILD= yes +NO_ARCH= yes + +PLIST_FILES= include/mmtf.hpp \ + include/mmtf/binary_decoder.hpp \ + include/mmtf/binary_encoder.hpp \ + include/mmtf/decoder.hpp \ + include/mmtf/encoder.hpp \ + include/mmtf/errors.hpp \ + include/mmtf/export_helpers.hpp \ + include/mmtf/map_decoder.hpp \ + include/mmtf/msgpack_decoder.hpp \ + include/mmtf/object_encoders.hpp \ + include/mmtf/structure_data.hpp + +post-patch: + @cd ${WRKDIR} && ${LN} -s ${WRKSRC}/mmtf_spec # needed for testing + +do-install: + cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX} + +do-test: + @cd ${BUILD_WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -Dmmtf_build_local=ON -DBUILD_TESTS=ON ${CMAKE_SOURCE_PATH} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test + +.include Added: head/science/mmtf/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/mmtf/distinfo Thu Oct 18 21:21:17 2018 (r482378) @@ -0,0 +1,5 @@ +TIMESTAMP = 1539895815 +SHA256 (rcsb-mmtf-cpp-g20180730-63e58a9_GH0.tar.gz) = 4570596c98ab520514b31f88c66478170123e4aa8f724c96e69d4973be6a527e +SIZE (rcsb-mmtf-cpp-g20180730-63e58a9_GH0.tar.gz) = 58757 +SHA256 (rcsb-mmtf-8c88834_GH0.tar.gz) = 7c29eb9064e53ea447701b79764732a72ff53aa5adff25759e0e2b549c212cca +SIZE (rcsb-mmtf-8c88834_GH0.tar.gz) = 34499239 Added: head/science/mmtf/files/patch-tests_mmtf__tests.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/mmtf/files/patch-tests_mmtf__tests.cpp Thu Oct 18 21:21:17 2018 (r482378) @@ -0,0 +1,11 @@ +--- tests/mmtf_tests.cpp.orig 2018-10-18 20:26:48 UTC ++++ tests/mmtf_tests.cpp +@@ -5,7 +5,7 @@ + #define CATCH_CONFIG_MAIN + #endif + +-#include "catch.hpp" ++#include + + #include + #include Added: head/science/mmtf/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/mmtf/pkg-descr Thu Oct 18 21:21:17 2018 (r482378) @@ -0,0 +1,6 @@ +mmtf is a C++ headers-only decoder/encoder library for the MMTF format. + +The macromolecular transmission format (MMTF) is a binary encoding of chemical +and biological structures. + +WWW: https://mmtf.rcsb.org/