# -*- 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 golang 1.0 go.setup github.com/wtfutil/wtf 0.43.0 v github.tarball_from archive name wtfutil revision 0 homepage https://wtfutil.com description A personal terminal-based dashboard utility, designed for \ displaying infrequently-needed, but very important, daily \ data. long_description {*}${description} categories sysutils installs_libs no license MPL-2 maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer checksums rmd160 2acf237e394408860361ebd433c0e162e72bfafb \ sha256 bb48e38e479b26e0b956b163e4804e99cd49545214090c2fdf99e54382b3d651 \ size 2346370 build.args -o ${name} # FIXME: This port currently can't be built without allowing go mod to fetch # dependencies during the build phase. See # https://trac.macports.org/ticket/61192 go.offline_build no destroot { xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name} xinstall -d -m 0755 ${destroot}${prefix}/share/${name} xinstall -d -m 0755 ${destroot}${prefix}/share/${name}/sample_configs xinstall -m 0644 \ {*}[glob ${worksrcpath}/_sample_configs/*] \ ${destroot}${prefix}/share/${name}/sample_configs } notes " Examples of configuration for wtfutil can be found in: ${prefix}/share/${name}/sample_configs "