Date: Sat, 22 Nov 2025 18:06:34 +0000 From: Michael Reifenberger <mr@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a04aa6f87984 - main - cad/lib3mf: Add lib3mf Message-ID: <6921fbaa.bebb.160c10ea@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by mr: URL: https://cgit.FreeBSD.org/ports/commit/?id=a04aa6f87984ffab7381e6cd217c4d48c4d4e3e0 commit a04aa6f87984ffab7381e6cd217c4d48c4d4e3e0 Author: Michael Reifenberger <mr@FreeBSD.org> AuthorDate: 2025-11-22 18:02:52 +0000 Commit: Michael Reifenberger <mr@FreeBSD.org> CommitDate: 2025-11-22 18:06:17 +0000 cad/lib3mf: Add lib3mf lib3mf is a C++ implementation of the 3D Manufacturing Format file standard. It provides 3MF reading and writing capabilities, as well as conversion and validation tools for input and output data. lib3mf runs on Windows, Linux and MacOS and offers a clean and easy-to-use API in various programming languages to speed up the development and keep integration costs at a minimum. As 3MF shall become an universal 3D Printing standard, its quick adoption is very important. This library shall lower all barriers of adoption to any possible user, let it be software providers, hardware providers, service providers or middleware tools. The specification can be downloaded at http://3mf.io/specification/. --- cad/Makefile | 1 + cad/lib3mf/Makefile | 35 +++++++++++++++++++++++++++++++++++ cad/lib3mf/distinfo | 3 +++ cad/lib3mf/pkg-descr | 15 +++++++++++++++ cad/lib3mf/pkg-plist | 34 ++++++++++++++++++++++++++++++++++ 5 files changed, 88 insertions(+) diff --git a/cad/Makefile b/cad/Makefile index fa902bbd044e..ba260e0a916f 100644 --- a/cad/Makefile +++ b/cad/Makefile @@ -75,6 +75,7 @@ SUBDIR += ldview SUBDIR += leocad SUBDIR += lepton-eda + SUBDIR += lib3mf SUBDIR += libbgcode SUBDIR += libgdsii SUBDIR += libopencad diff --git a/cad/lib3mf/Makefile b/cad/lib3mf/Makefile new file mode 100644 index 000000000000..d0db4bc83819 --- /dev/null +++ b/cad/lib3mf/Makefile @@ -0,0 +1,35 @@ +PORTNAME= lib3mf +DISTVERSIONPREFIX=v +DISTVERSION= 2.4.1 +#PORTREVISION= 1 +CATEGORIES= cad +#PKGNAMESUFFIX= -devel + +MAINTAINER= mr@FreeBSD.org +COMMENT= Implementation of the 3D Manufacturing Format file standard +WWW= http://3mf.io/ + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +#CONFLICTS_INSTALL= lib3mf-devel # + +LIB_DEPENDS= libgtest.so:devel/googletest \ + libzip.so:archivers/libzip + +USES= compiler:c++20-lang cmake pkgconfig python +USE_GITHUB= yes +GH_ACCOUNT= 3MFConsortium +GH_PROJECT= lib3mf + +CMAKE_ARGS+= -DUSE_INCLUDED_ZLIB=OFF \ + -DUSE_INCLUDED_LIBZIP=OFF \ + -DUSE_INCLUDED_SSL=OFF \ + -DLIB3MF_TESTS=OFF + +CXXFLAGS+= -I${WRKSRC}/Include -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +.include <bsd.port.options.mk> + +.include <bsd.port.mk> diff --git a/cad/lib3mf/distinfo b/cad/lib3mf/distinfo new file mode 100644 index 000000000000..0b202ffceb29 --- /dev/null +++ b/cad/lib3mf/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1763826836 +SHA256 (3MFConsortium-lib3mf-v2.4.1_GH0.tar.gz) = 081dea66ddd1b958644bfac0fe9a580e63726061459efce5190a10161082f8f7 +SIZE (3MFConsortium-lib3mf-v2.4.1_GH0.tar.gz) = 36313494 diff --git a/cad/lib3mf/pkg-descr b/cad/lib3mf/pkg-descr new file mode 100644 index 000000000000..fa3bfbea69f7 --- /dev/null +++ b/cad/lib3mf/pkg-descr @@ -0,0 +1,15 @@ +lib3mf is a C++ implementation of the 3D Manufacturing Format file +standard. + +It provides 3MF reading and writing capabilities, as well as +conversion and validation tools for input and output data. lib3mf +runs on Windows, Linux and MacOS and offers a clean and easy-to-use +API in various programming languages to speed up the development +and keep integration costs at a minimum. + +As 3MF shall become an universal 3D Printing standard, its quick +adoption is very important. This library shall lower all barriers +of adoption to any possible user, let it be software providers, +hardware providers, service providers or middleware tools. + +The specification can be downloaded at http://3mf.io/specification/. diff --git a/cad/lib3mf/pkg-plist b/cad/lib3mf/pkg-plist new file mode 100644 index 000000000000..509ce61e2052 --- /dev/null +++ b/cad/lib3mf/pkg-plist @@ -0,0 +1,34 @@ +include/Bindings/C/lib3mf.h +include/Bindings/C/lib3mf_types.h +include/Bindings/CDynamic/lib3mf_dynamic.cc +include/Bindings/CDynamic/lib3mf_dynamic.h +include/Bindings/CDynamic/lib3mf_types.h +include/Bindings/CSharp/Lib3MF.cs +include/Bindings/Cpp/lib3mf_abi.hpp +include/Bindings/Cpp/lib3mf_implicit.hpp +include/Bindings/Cpp/lib3mf_types.hpp +include/Bindings/CppDynamic/lib3mf_abi.hpp +include/Bindings/CppDynamic/lib3mf_dynamic.h +include/Bindings/CppDynamic/lib3mf_dynamic.hpp +include/Bindings/CppDynamic/lib3mf_types.hpp +include/Bindings/Go/cfunc.go +include/Bindings/Go/lib3mf.go +include/Bindings/Go/lib3mf_dynamic.c +include/Bindings/Go/lib3mf_dynamic.cc +include/Bindings/Go/lib3mf_dynamic.h +include/Bindings/Go/lib3mf_impl.go +include/Bindings/Go/lib3mf_types.h +include/Bindings/NodeJS/binding.gyp +include/Bindings/NodeJS/lib3mf_dynamic.cc +include/Bindings/NodeJS/lib3mf_dynamic.h +include/Bindings/NodeJS/lib3mf_nodeaddon.cc +include/Bindings/NodeJS/lib3mf_nodewrapper.cc +include/Bindings/NodeJS/lib3mf_nodewrapper.h +include/Bindings/NodeJS/lib3mf_types.h +include/Bindings/Pascal/Unit_Lib3MF.pas +include/Bindings/Python/Lib3MF.py +lib/cmake/lib3mf/lib3mfConfig.cmake +lib/lib3mf.so +lib/lib3mf.so.2 +lib/lib3mf.so.2.4.1.0 +libdata/pkgconfig/lib3mf.pchome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6921fbaa.bebb.160c10ea>
