# -*- 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 makefile 1.0 github.setup caryll otfcc 0.10.4 v categories print devel maintainers {amake @amake} openmaintainer description Optimized OpenType builder and inspector long_description A C library and utility used for parsing and writing \ OpenType font files platforms darwin license Apache-2 checksums sha256 41d5ddba898757b7a4883d47fa0e9e8d19fa80d61ca3bc1770c668939f2811fd \ rmd160 7ecad2a529a038f5bd69a3f0da5174c06dbc8b32 \ size 4279181 depends_build-append \ port:premake5 use_configure yes configure.cmd ${prefix}/bin/premake5 configure.pre_args configure.args gmake # The Makefile produced by premake5 understands "release_x64" and "release_x86" # configurations; if there is a way to support other architectures or universal # builds, I don't know how universal_variant no supported_archs i386 x86_64 if {${build_arch} eq "i386"} { set short_arch x86 } elseif {${build_arch} eq "x86_64"} { set short_arch x64 } else { set short_arch "" } build.dir ${worksrcpath}/build/gmake build.args-append config=release_${short_arch} verbose=true destroot { xinstall -m 0755 -W ${worksrcpath}/bin/release-${short_arch} otfccbuild otfccdump \ ${destroot}${prefix}/bin/ }