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 instructions #63

Merged
merged 1 commit into from
Apr 5, 2021

Conversation

herbygillot
Copy link
Contributor

No description provided.

Copy link
Owner

@sassman sassman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

I'm not so familiar with macports, could you tell me who is maintaining the macports version?
And how it is added, or what's the process of keep things updated on new releases?

For homebrew there is a Auto PR as part of the build pipeline. I wonder if macports needs the same?

@herbygillot
Copy link
Contributor Author

So the way MacPorts works is that every piece of software is a "port", and has an associated Portfile.

Here's the current one for t-rec: https://github.com/macports/macports-ports/blob/master/graphics/t-rec/Portfile

I'm the current maintainer for t-rec's port, though anyone can submit a PR to update ("openmaintainer" in the maintainers section).

Unfortunately MacPorts doesn't have an auto-PR process just yet, so as of right now, it relies on maintainers to submit changes on version update.

Portfiles look different depending on the programming language, packaging or module system used for the software in question, but t-rec's portfile is pretty consistent for a port based on cargo. On update, the version no. in "github.setup", the checksums, and the relevant crates all see an update (you can see examples of this browsing the Portfile's history).

@sassman sassman merged commit 6175f58 into sassman:main Apr 5, 2021
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