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

README: add MacPorts install info #58

Merged
merged 1 commit into from
Aug 25, 2021
Merged

Conversation

herbygillot
Copy link
Contributor

Add information on installing rare using MacPorts

Port page for rare is here

@netlify
Copy link

netlify bot commented Aug 23, 2021

✔️ Deploy Preview for raredocs ready!

🔨 Explore the source changes: 1ff91cf

🔍 Inspect the deploy log: https://app.netlify.com/sites/raredocs/deploys/6123f7f2e622010007cb6619

😎 Browse the preview: https://deploy-preview-58--raredocs.netlify.app/

@zix99
Copy link
Owner

zix99 commented Aug 24, 2021

Howdy! Thanks for the contribution to both the repo and macports.

I'm more familiar with homebrew rather than macports.. is there somewhere I can verify that the code from this repo is published unaltered there? Happy to include it in the readme/docs if so (Though I might ask to stick it under a separate Community Contributed section since it's not maintained by me)

Thanks!

@herbygillot
Copy link
Contributor Author

Howdy! Thanks for the contribution to both the repo and macports.

I'm more familiar with homebrew rather than macports.. is there somewhere I can verify that the code from this repo is published unaltered there? Happy to include it in the readme/docs if so (Though I might ask to stick it under a separate Community Contributed section since it's not maintained by me)

Thanks!

Hey @zix99, no worries. Here's rare's port page. If you click the Details button, then click the GitHub link, you'll be taken to the Portfile for rare.

The Portfile tells MacPorts how to build a particular piece of software. rare's Portfile pulls the source from the right branch in this repository via the go.setup line:

go.setup            github.com/zix99/rare 0.2.0

Normally a Portfile includes a set of checksums to verify that what has been pulled matches what is expected, but since we're building via goreleaser, we pull via git instead of downloading a source tarball (fetch.type git).

After that goreleaser does its thing (build.cmd, build.pre_args & build.args) and builds rare, which MacPorts then packages and pushes to MacPorts distribution mirrors.

The specified maintainer is usually responsible for keeping the port up to date, but anyone is welcome to open a pull request updating the version (which is reviewed by maintainers and project admins before being committed).

And yes, this certainly makes sense falling under the Community Contributed section.

@zix99
Copy link
Owner

zix99 commented Aug 25, 2021

Thanks, appreciate the explanation. Will merge and reorg the docs a bit.

@zix99 zix99 merged commit e8cd78f into zix99:master Aug 25, 2021
@herbygillot
Copy link
Contributor Author

Thanks @zix99

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

Successfully merging this pull request may close these issues.

2 participants