From owner-svn-ports-all@freebsd.org Mon Nov 5 02:13:16 2018 Return-Path: Delivered-To: svn-ports-all@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 D641C10F514A; Mon, 5 Nov 2018 02:13:15 +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 D04FB6AEE3; Mon, 5 Nov 2018 02:13:12 +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 AE2321168E; Mon, 5 Nov 2018 02:13:12 +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 wA52DCUI026870; Mon, 5 Nov 2018 02:13:12 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA52DATI026862; Mon, 5 Nov 2018 02:13:10 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201811050213.wA52DATI026862@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 5 Nov 2018 02:13:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484165 - in head/math: . moab moab/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . moab moab/files X-SVN-Commit-Revision: 484165 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D04FB6AEE3 X-Spamd-Result: default: False [-0.85 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.12)[-0.119,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-0.62)[-0.625,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2018 02:13:16 -0000 Author: yuri Date: Mon Nov 5 02:13:10 2018 New Revision: 484165 URL: https://svnweb.freebsd.org/changeset/ports/484165 Log: New port: math/moab: Component for representing and evaluating mesh data Added: head/math/moab/ head/math/moab/Makefile (contents, props changed) head/math/moab/distinfo (contents, props changed) head/math/moab/files/ head/math/moab/files/patch-configure.ac (contents, props changed) head/math/moab/files/patch-src_io_NCHelper.cpp (contents, props changed) head/math/moab/files/patch-src_io_ReadABAQUS.cpp (contents, props changed) head/math/moab/files/patch-src_io_WriteNCDF.cpp (contents, props changed) head/math/moab/pkg-descr (contents, props changed) head/math/moab/pkg-plist (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Mon Nov 5 02:07:09 2018 (r484164) +++ head/math/Makefile Mon Nov 5 02:13:10 2018 (r484165) @@ -353,6 +353,7 @@ SUBDIR += miracl SUBDIR += mkl-dnn SUBDIR += mlpack + SUBDIR += moab SUBDIR += moo SUBDIR += mosesdecoder SUBDIR += mpc Added: head/math/moab/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/moab/Makefile Mon Nov 5 02:13:10 2018 (r484165) @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= moab +DISTVERSION= 4.6.3 +CATEGORIES= math +MASTER_SITES= http://ftp.mcs.anl.gov/pub/fathom/ + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Component for representing and evaluating mesh data + +LICENSE= BSD2CLAUSE +xLICENSE_FILE= ${WRKSRC}/LICENSE.txt + +LIB_DEPENDS= libhdf5.so:science/hdf5 \ + libnetcdf.so:science/netcdf + +USES= autoreconf gmake libtool localbase:ldflags +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-static --with-netcdf=${LOCALBASE} +USE_LDCONFIG= yes + +OPTIONS_DEFINE= DOCS + +PORTDOCS= * + +.include Added: head/math/moab/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/moab/distinfo Mon Nov 5 02:13:10 2018 (r484165) @@ -0,0 +1,3 @@ +TIMESTAMP = 1541374760 +SHA256 (moab-4.6.3.tar.gz) = a25933254a05013811d3769e5d96b01cc7b5d67026acacbaae4f3568ce18fd7f +SIZE (moab-4.6.3.tar.gz) = 21861257 Added: head/math/moab/files/patch-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/moab/files/patch-configure.ac Mon Nov 5 02:13:10 2018 (r484165) @@ -0,0 +1,12 @@ +--- configure.ac.orig 2018-11-05 00:30:52 UTC ++++ configure.ac +@@ -31,7 +31,8 @@ LIBS="$LIBS -lm" + + AC_PROG_LN_S + AC_PROG_MAKE_SET +-AC_DISABLE_SHARED ++AC_ENABLE_SHARED ++AC_DISABLE_STATIC + AC_PROG_LIBTOOL + FATHOM_COMPILER_FLAGS + m4_ifdef([AM_SILENT_RULES],[ Added: head/math/moab/files/patch-src_io_NCHelper.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/moab/files/patch-src_io_NCHelper.cpp Mon Nov 5 02:13:10 2018 (r484165) @@ -0,0 +1,11 @@ +--- src/io/NCHelper.cpp.orig 2018-11-05 01:48:41 UTC ++++ src/io/NCHelper.cpp +@@ -714,7 +714,7 @@ ErrorCode NCHelper::get_tag_to_set(ReadN + rval = mbImpl->tag_get_handle(tag_name.str().c_str(), 0, MB_TYPE_INTEGER, tagh, MB_TAG_CREAT | MB_TAG_SPARSE | MB_TAG_VARLEN); + break; + default: +- std::cerr << "Unrecognized data type for tag " << tag_name << std::endl; ++ std::cerr << "Unrecognized data type for tag " << tag_name.str() << std::endl; + rval = MB_FAILURE; + } + Added: head/math/moab/files/patch-src_io_ReadABAQUS.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/moab/files/patch-src_io_ReadABAQUS.cpp Mon Nov 5 02:13:10 2018 (r484165) @@ -0,0 +1,11 @@ +--- src/io/ReadABAQUS.cpp.orig 2018-11-04 23:41:08 UTC ++++ src/io/ReadABAQUS.cpp +@@ -105,7 +105,7 @@ void ReadABAQUS::reset() + ReadABAQUS::~ReadABAQUS() + { + mdbImpl->release_interface(readMeshIface); +- if (NULL != abFile) ++ if (abFile.is_open()) + abFile.close(); + } + Added: head/math/moab/files/patch-src_io_WriteNCDF.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/moab/files/patch-src_io_WriteNCDF.cpp Mon Nov 5 02:13:10 2018 (r484165) @@ -0,0 +1,13 @@ +--- src/io/WriteNCDF.cpp.orig 2018-11-05 01:47:40 UTC ++++ src/io/WriteNCDF.cpp +@@ -154,8 +154,8 @@ void WriteNCDF::time_and_date(char* time + strftime(date_string, TIME_STR_LEN, "%m/%d/%Y", local_time); + + // terminate with NULL character +- time_string[10] = (char)NULL; +- date_string[10] = (char)NULL; ++ time_string[10] = (char)0; ++ date_string[10] = (char)0; + } + + ErrorCode WriteNCDF::write_file(const char *exodus_file_name, Added: head/math/moab/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/moab/pkg-descr Mon Nov 5 02:13:10 2018 (r484165) @@ -0,0 +1,15 @@ +The Mesh-Oriented datABase (MOAB) is a component for representing and evaluating +mesh data. MOAB can store structured and unstructured mesh, consisting of +elements in the finite element zoo plus polygons and polyhedra. The functional +interface to MOAB is simple yet powerful, allowing the representation of many +types of metadata commonly found on the mesh. MOAB is optimized for efficiency +in space and time, based on access to mesh in chunks rather than through +individual entities, while also versatile enough to support individual entity +access. The MOAB library can naturally represent finite element and other types +of mesh data. Various types of meta-data are often used in conjunction with +a mesh. Examples include boundary condition groupings, material types, and +provenance information for the mesh. Because the data model used in MOAB is so +abstract, conventions are useful for describing how meta-data is stored into +that data model. + +WWW: http://sigma.mcs.anl.gov/moab-library/ Added: head/math/moab/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/moab/pkg-plist Mon Nov 5 02:13:10 2018 (r484165) @@ -0,0 +1,134 @@ +bin/dagmc_preproc +bin/h5minfo +bin/h5mvalidate +bin/hexmodops +bin/mbconvert +bin/mbdepth +bin/mbgsets +bin/mbmem +bin/mbsize +bin/mbskin +bin/mbsurfplot +bin/mbtagprop +bin/spheredecomp +include/DagMC.hpp +include/MBAdaptiveKDTree.hpp +include/MBBSPTree.hpp +include/MBBSPTreePoly.hpp +include/MBCN.h +include/MBCN.hpp +include/MBCN_protos.h +include/MBCartVect.hpp +include/MBCore.hpp +include/MBEntityHandle.h +include/MBEntityType.h +include/MBForward.hpp +include/MBGeomUtil.hpp +include/MBInterface.hpp +include/MBOrientedBoxTreeTool.hpp +include/MBParallelComm.hpp +include/MBParallelData.hpp +include/MBProcConfig.hpp +include/MBRange.hpp +include/MBReadUtilIface.hpp +include/MBReaderIface.hpp +include/MBReaderWriterSet.hpp +include/MBSkinner.hpp +include/MBTagConventions.hpp +include/MBTypes.h +include/MBUnknownInterface.hpp +include/MBUtil.hpp +include/MBVersion.h +include/MBWriteUtilIface.hpp +include/MBWriterIface.hpp +include/MBiMesh.hpp +include/MBmpi.h +include/MOAB_FCDefs.h +include/iBase.h +include/iBase_f.h +include/iMesh.h +include/iMesh_extensions.h +include/iMesh_extensions_protos.h +include/iMesh_f.h +include/iMesh_protos.h +include/moab/AdaptiveKDTree.hpp +include/moab/BSPTree.hpp +include/moab/BSPTreePoly.hpp +include/moab/BVHTree.hpp +include/moab/BoundBox.hpp +include/moab/CN.hpp +include/moab/CartVect.hpp +include/moab/Compiler.hpp +include/moab/Core.hpp +include/moab/CpuTimer.hpp +include/moab/DualTool.hpp +include/moab/ElemEvaluator.hpp +include/moab/EntityHandle.hpp +include/moab/EntityType.hpp +include/moab/Error.hpp +include/moab/ExoIIInterface.hpp +include/moab/FBEngine.hpp +include/moab/FileOptions.hpp +include/moab/FindPtFuncs.h +include/moab/Forward.hpp +include/moab/GeomTopoTool.hpp +include/moab/GeomUtil.hpp +include/moab/HigherOrderFactory.hpp +include/moab/HomXform.hpp +include/moab/Interface.hpp +include/moab/LinearHex.hpp +include/moab/LinearQuad.hpp +include/moab/LinearTet.hpp +include/moab/LinearTri.hpp +include/moab/LloydSmoother.hpp +include/moab/Matrix3.hpp +include/moab/MergeMesh.hpp +include/moab/MeshTopoUtil.hpp +include/moab/OrientedBoxTreeTool.hpp +include/moab/ProgOptions.hpp +include/moab/QuadraticHex.hpp +include/moab/Range.hpp +include/moab/RangeMap.hpp +include/moab/ReadUtilIface.hpp +include/moab/ReaderIface.hpp +include/moab/ReaderWriterSet.hpp +include/moab/ReorderTool.hpp +include/moab/ScdInterface.hpp +include/moab/SetIterator.hpp +include/moab/Skinner.hpp +include/moab/SpatialLocator.hpp +include/moab/SpatialLocatorTimes.hpp +include/moab/SpectralMeshTool.hpp +include/moab/Tree.hpp +include/moab/TreeStats.hpp +include/moab/TupleList.hpp +include/moab/Types.hpp +include/moab/UnknownInterface.hpp +include/moab/Util.hpp +include/moab/Version.h +include/moab/WriteUtilIface.hpp +include/moab/WriterIface.hpp +include/moab/point_locater/element_maps/linear_hex_map.hpp +include/moab/point_locater/element_maps/linear_tet_map.hpp +include/moab/point_locater/element_maps/quadratic_hex_map.hpp +include/moab/point_locater/element_maps/spectral_hex_map.hpp +include/moab/point_locater/io.hpp +include/moab/point_locater/parametrizer.hpp +include/moab/point_locater/point_locater.hpp +include/moab/point_locater/tree/bvh_tree.hpp +include/moab/point_locater/tree/common_tree.hpp +include/moab/point_locater/tree/element_tree.hpp +lib/MOABConfig.cmake +lib/iMesh-Defs.inc +lib/libMOAB.so +lib/libMOAB.so.0 +lib/libMOAB.so.0.0.0 +lib/libdagmc.so +lib/libdagmc.so.0 +lib/libdagmc.so.0.0.0 +lib/libiMesh.so +lib/libiMesh.so.0 +lib/libiMesh.so.0.0.0 +lib/moab.config +lib/moab.make +man/man1/mbconvert.1.gz