Open desilinguist opened 3 years ago
Hi @desilinguist, sorry for the late reply. Adding cassowary to macports is definitely a good idea. I will update this issue when it's been added
I think the Portfile should be as simple as:
# -*- 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/rogerwelin/cassowary/pkg/client 0.14.1 v
github.tarball_from release
revision 0
description Modern cross-platform HTTP load-testing tool written in Go
categories net devel
installs_libs no
license MIT
maintainers {@gwerbin me.gregwerbin.com:outthere}
checksums ${distname}${extract.suffix} \
rmd160 e374e9cb9937265c4f4628eab5c535019ee420ca \
sha256 da4c4ae3f3fb7d606398b7f3208d2dab79e97cf40b48faa3ee14611da33cb73f \
size 41845
destroot {
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}
go.vendors # IDK what to put here
I'm just not sure about constructing the correct go.vendors
invocation. It's documented here, but I don't know enough about Go and/or MacPorts to finish the job.
@gwerbin 🙏
It'd be great if this amazing tool was also available via macports since not everyone on the mac uses homebrew. Thanks!