1
0
mirror of https://github.com/openbsd/ports.git synced 2025-12-06 07:36:10 +00:00
Files
ports/cad/lib3mf/Makefile
afresh1 e3b3af1478 Import cad/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/.

Tweaks and OK from both sthen@ and jtt@
2025-11-29 23:38:42 +00:00

32 lines
633 B
Makefile

V = 2.4.1
COMMENT = implementation of the 3D Manufacturing Format file standard
GH_ACCOUNT = 3MFConsortium
GH_PROJECT = lib3mf
GH_TAGNAME = v${V}
CATEGORIES = cad
# BSD-2-Clause license
PERMIT_PACKAGE = Yes
MODULES = devel/cmake lang/python
COMPILER = base-clang ports-gcc base-gcc
SHARED_LIBS += 3mf 0.0 # 0.0
BUILD_DEPENDS = devel/gtest
LIB_DEPENDS = archivers/libzip
CONFIGURE_ARGS = -DUSE_INCLUDED_ZLIB=OFF \
-DUSE_INCLUDED_LIBZIP=OFF \
-DUSE_INCLUDED_SSL=OFF \
-DCMAKE_INSTALL_INCLUDEDIR=include/lib3mf
post-install:
${MODPY_COMPILEALL} ${PREFIX}/include/Bindings/Python/Lib3MF.py
.include <bsd.port.mk>