Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: add support for macports #34

Open
desilinguist opened this issue Jul 13, 2021 · 3 comments
Open

Enhancement: add support for macports #34

desilinguist opened this issue Jul 13, 2021 · 3 comments
Assignees

Comments

@desilinguist
Copy link

It'd be great if this amazing tool was also available via macports since not everyone on the mac uses homebrew. Thanks!

@rogerwelin rogerwelin self-assigned this Sep 6, 2021
@rogerwelin
Copy link
Owner

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

@gwerbin
Copy link

gwerbin commented Oct 26, 2022

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.

@rogerwelin
Copy link
Owner

@gwerbin 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants