Files
macports-ports/devel/tinyobjloader/Portfile
T
2025-02-02 11:09:50 +11:00

50 lines
1.8 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 cmake 1.1
PortGroup github 1.0
categories devel graphics games
license MIT
maintainers {judaew @judaew} openmaintainer
description Tiny but powerful single file wavefront obj loader
long_description \
Tiny but powerful single file wavefront obj loader written in C++03. No \
dependency except for C++ STL. It can parse over 10M polygons with \
moderate memory and time. tinyobjloader is good for embedding .obj loader \
to your (global illumination) renderer.
conflicts tinyobjloader-devel
github.setup tinyobjloader tinyobjloader 1.0.7 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision 0
checksums rmd160 3cef910b680b65d4812ad3bd7b0f30e6b489527c \
sha256 7a64832ac9b1b3fa98997a0d08b4fc0d07ab8ec54459f411ed080375ef66f91c \
size 993325
compiler.cxx_standard \
2003
subport tinyobjloader-devel {
conflicts tinyobjloader
github.setup tinyobjloader tinyobjloader 2.0.0rc13 v
github.tarball_from archive
revision 0
checksums rmd160 8c8a72467209fe9926c74f694d5f573a4eadb200 \
sha256 0feb92b838f8ce4aa6eb0ccc32dff30cb64a891e0ec3bde837fca49c78d44334 \
size 987435
}
configure.args-append \
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON
if {${subport} eq ${name}} {
livecheck.type regex
livecheck.url https://api.github.com/repos/tinyobjloader/tinyobjloader/tags?per_page=100
livecheck.regex \".+tarball/refs/tags/v(\\d+.\\d+.\\d+)\"
}