Files

52 lines
2.0 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
PortGroup cmake 1.1
github.setup 3MFConsortium lib3mf 2.4.1 v
github.tarball_from archive
revision 0
categories print graphics devel
license BSD
maintainers {judaew @judaew} openmaintainer
description \
lib3mf is an implementation of the 3D Manufacturing Format file standard.
long_description \
{*}${description}\nIt 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.\nAs 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.
homepage https://3mf.io
checksums rmd160 fc94374fa523be7a94bdd3a8582394388ceffa34 \
sha256 081dea66ddd1b958644bfac0fe9a580e63726061459efce5190a10161082f8f7 \
size 36313494
depends_build-append \
port:pkgconfig
# CMakeLists.txt says it uses libressl, but works with openssl too
depends_lib-append path:lib/libssl.dylib:openssl \
port:libzip \
port:zlib
configure.args-append \
-DCMAKE_INSTALL_INCLUDEDIR=include/${name} \
-DLIB3MF_TESTS=OFF \
-DUSE_INCLUDED_LIBZIP=OFF \
-DUSE_INCLUDED_SSL=OFF \
-DUSE_INCLUDED_ZLIB=OFF
compiler.cxx_standard \
2011
github.livecheck.regex {([0-9.]+)}