Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 May 2020 06:57:49 +0000 (UTC)
From:      =?UTF-8?Q?Lo=c3=afc_Bartoletti?= <lbartoletti@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r536269 - in head/cad: . ifcopenshell ifcopenshell/files
Message-ID:  <202005230657.04N6vnmE037041@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lbartoletti
Date: Sat May 23 06:57:49 2020
New Revision: 536269
URL: https://svnweb.freebsd.org/changeset/ports/536269

Log:
  [NEW PORT] cad/ifcopenshell: Open source IFC library and geometry engine
  
  IfcOpenShell is an open source (LGPL) software library for working with the
  Industry Foundation Classes (IFC) file format. Currently supported IFC
  releases are IFC2x3 TC1 and [IFC4 Add2 TC1].
  
  PR:		243007
  Reported by:	chitty_cloud@me.com
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D24687

Added:
  head/cad/ifcopenshell/
  head/cad/ifcopenshell/Makefile   (contents, props changed)
  head/cad/ifcopenshell/distinfo   (contents, props changed)
  head/cad/ifcopenshell/files/
  head/cad/ifcopenshell/files/patch-cmake_CMakeLists.txt   (contents, props changed)
  head/cad/ifcopenshell/pkg-descr   (contents, props changed)
  head/cad/ifcopenshell/pkg-plist   (contents, props changed)
Modified:
  head/cad/Makefile

Modified: head/cad/Makefile
==============================================================================
--- head/cad/Makefile	Sat May 23 06:43:19 2020	(r536268)
+++ head/cad/Makefile	Sat May 23 06:57:49 2020	(r536269)
@@ -44,6 +44,7 @@
     SUBDIR += graywolf
     SUBDIR += gspiceui
     SUBDIR += gtkwave
+    SUBDIR += ifcopenshell
     SUBDIR += impact
     SUBDIR += irsim
     SUBDIR += iverilog

Added: head/cad/ifcopenshell/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/ifcopenshell/Makefile	Sat May 23 06:57:49 2020	(r536269)
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME=	ifcopenshell
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.6.0
+DISTVERSIONSUFFIX=	b0
+CATEGORIES=	cad
+DISTNAME=	${PORTNAME}-${DISTVERSION}
+
+MAINTAINER=	lbartoletti@FreeBSD.org
+COMMENT=	Open source IFC library and geometry engine
+
+LICENSE=	LGPL3+
+LICENSE_FILE=	${WRKSRC}/COPYING.LESSER
+
+BUILD_DEPENDS=	nlohmann-json>0:devel/nlohmann-json
+LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
+		libTKernel.so:cad/opencascade
+
+USES=		cmake eigen:3 gnome
+USE_GNOME=	libxml2
+USE_LDCONFIG=	yes
+USE_GITHUB=	yes
+GH_PROJECT=	IfcOpenShell
+
+CMAKE_SOURCE_PATH=	${WRKSRC}/cmake
+
+CMAKE_OFF=	BUILD_IFCPYTHON \
+		COLLADA_SUPPORT
+CMAKE_ON=	BUILD_SHARED_LIBS \
+		ENABLE_BUILD_OPTIMIZATIONS \
+		GLTF_SUPPORT
+CMAKE_ARGS=	-Djson_hpp=${LOCALBASE}/include/nlohmann \
+		-DOCC_INCLUDE_DIR=${LOCALBASE}/include/OpenCASCADE \
+		-DOCC_LIBRARY_DIR=${LOCALBASE}/lib
+
+.include <bsd.port.mk>

Added: head/cad/ifcopenshell/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/ifcopenshell/distinfo	Sat May 23 06:57:49 2020	(r536269)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1587226962
+SHA256 (ifcopenshell-IfcOpenShell-v0.6.0b0_GH0.tar.gz) = d4a9a28b715512659670f2a101bef64363df7808a64ed30e7019161caae6a914
+SIZE (ifcopenshell-IfcOpenShell-v0.6.0b0_GH0.tar.gz) = 2718837

Added: head/cad/ifcopenshell/files/patch-cmake_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/ifcopenshell/files/patch-cmake_CMakeLists.txt	Sat May 23 06:57:49 2020	(r536269)
@@ -0,0 +1,10 @@
+--- cmake/CMakeLists.txt.orig	2020-04-18 16:47:03 UTC
++++ cmake/CMakeLists.txt
+@@ -163,6 +163,7 @@ if(USE_MMAP)
+ endif()
+ 
+ if (IFCXML_SUPPORT)
++    find_package(LibXml2 REQUIRED)
+     add_definitions(-DWITH_IFCXML)
+ endif()
+ 

Added: head/cad/ifcopenshell/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/ifcopenshell/pkg-descr	Sat May 23 06:57:49 2020	(r536269)
@@ -0,0 +1,5 @@
+IfcOpenShell is an open source (LGPL) software library for working with the
+Industry Foundation Classes (IFC) file format. Currently supported IFC
+releases are IFC2x3 TC1 and [IFC4 Add2 TC1].
+
+WWW: http://ifcopenshell.org

Added: head/cad/ifcopenshell/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/ifcopenshell/pkg-plist	Sat May 23 06:57:49 2020	(r536269)
@@ -0,0 +1,82 @@
+bin/IfcConvert
+bin/IfcGeomServer
+include/ifcgeom/IfcGeom.h
+include/ifcgeom/IfcGeomElement.h
+include/ifcgeom/IfcGeomIteratorImplementation.h
+include/ifcgeom/IfcGeomIteratorSettings.h
+include/ifcgeom/IfcGeomRepresentation.h
+include/ifcgeom/IfcGeomShapeType.h
+include/ifcgeom/IfcGeomTree.h
+include/ifcgeom/IfcRegister.h
+include/ifcgeom/IfcRegisterConvertCurve.h
+include/ifcgeom/IfcRegisterConvertFace.h
+include/ifcgeom/IfcRegisterConvertShape.h
+include/ifcgeom/IfcRegisterConvertShapes.h
+include/ifcgeom/IfcRegisterConvertWire.h
+include/ifcgeom/IfcRegisterCreateCache.h
+include/ifcgeom/IfcRegisterDef.h
+include/ifcgeom/IfcRegisterGeomHeader.h
+include/ifcgeom/IfcRegisterPurgeCache.h
+include/ifcgeom/IfcRegisterShapeType.h
+include/ifcgeom/IfcRegisterUndef.h
+include/ifcgeom/IfcRepresentationShapeItem.h
+include/ifcgeom/ifc_geom_api.h
+include/ifcgeom_schema_agnostic/IfcGeomFilter.h
+include/ifcgeom_schema_agnostic/IfcGeomIterator.h
+include/ifcgeom_schema_agnostic/IfcGeomMaterial.h
+include/ifcgeom_schema_agnostic/IfcGeomRenderStyles.h
+include/ifcgeom_schema_agnostic/IteratorImplementation.h
+include/ifcgeom_schema_agnostic/Kernel.h
+include/ifcgeom_schema_agnostic/Serialization.h
+include/ifcparse/Argument.h
+include/ifcparse/ArgumentType.h
+include/ifcparse/Ifc2x3.h
+include/ifcparse/Ifc2x3enum.h
+include/ifcparse/Ifc4.h
+include/ifcparse/Ifc4enum.h
+include/ifcparse/IfcBaseClass.h
+include/ifcparse/IfcCharacterDecoder.h
+include/ifcparse/IfcEntityDescriptor.h
+include/ifcparse/IfcEntityInstanceData.h
+include/ifcparse/IfcEntityList.h
+include/ifcparse/IfcException.h
+include/ifcparse/IfcFile.h
+include/ifcparse/IfcGlobalId.h
+include/ifcparse/IfcHierarchyHelper.h
+include/ifcparse/IfcLogger.h
+include/ifcparse/IfcParse.h
+include/ifcparse/IfcSIPrefix.h
+include/ifcparse/IfcSchema.h
+include/ifcparse/IfcSpfHeader.h
+include/ifcparse/IfcSpfStream.h
+include/ifcparse/IfcWrite.h
+include/ifcparse/ifc_parse_api.h
+include/ifcparse/macros.h
+include/ifcparse/utils.h
+include/serializers/ColladaSerializer.cpp
+include/serializers/ColladaSerializer.h
+include/serializers/GeometrySerializer.h
+include/serializers/GltfSerializer.cpp
+include/serializers/GltfSerializer.h
+include/serializers/IgesSerializer.h
+include/serializers/OpenCascadeBasedSerializer.cpp
+include/serializers/OpenCascadeBasedSerializer.h
+include/serializers/Serializer.h
+include/serializers/StepSerializer.h
+include/serializers/SvgSerializer.cpp
+include/serializers/SvgSerializer.h
+include/serializers/WavefrontObjSerializer.cpp
+include/serializers/WavefrontObjSerializer.h
+include/serializers/XmlSerializer.cpp
+include/serializers/XmlSerializer.h
+include/serializers/schema_dependent/XmlSerializer.cpp
+include/serializers/schema_dependent/XmlSerializer.h
+include/serializers/util.cpp
+include/serializers/util.h
+lib/libIfcGeom.so
+lib/libIfcGeom_ifc2x3.a
+lib/libIfcGeom_ifc4.a
+lib/libIfcParse.so
+lib/libSerializers.so
+lib/libSerializers_ifc2x3.a
+lib/libSerializers_ifc4.a



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