Gitlab
Rainer Müller
raimue at macports.org
Sun Feb 16 16:12:30 UTC 2020
On 16.02.20 17:02, Mark Brethen wrote:
> How would you set up a portfile to fetch from gitlab?
> Example: https://gitlab.com/DavidGriffith/frotz
If you navigate to the release, you will find the associated assets. If
the project does not provide a release tarball there, you can use an
auto-generated source tarball based on the git tag.
As an example for frotz, the relevant options for the fetch phase would
look like this:
name frotz
version 2.51
homepage https://gitlab.com/DavidGriffith/frotz
master_sites https://gitlab.com/DavidGriffith/frotz/-/archive/${version}/
use_bzip2 yes
HTH,
Rainer
More information about the macports-dev
mailing list