Fetching sources from two git repositories for a single port (aquaterm)

Ryan Schmidt ryandesign at macports.org
Sat May 5 00:27:37 PDT 2012


On May 5, 2012, at 02:22, Mojca Miklavec wrote:

> I would like to create an update for AquaTerm and gnuplot, where
> AquaTerm would come from a git repository. However it has always been
> split into two separate (CVS) repositories and only combined together
> for the release. (I'm trying to reach the author (Per Persson), but he
> seem to be busy enough and hard enough to reach. Even if the changes
> don't get committed into Macports' SVN yet, I would at least like to
> have a local port for me and others to be able to test if everything
> works ok. He might respond in the meantime.)
> 
> I would like to try fetching sources from the following two repositories:
>    https://github.com/gnuplot/aquaterm_adapters
>    https://github.com/mojca/aquaterm_aquaterm
> 
> I've seen some ports using github.setup, but it is not clear to me how
> I could conveniently fetch sources from multiple repositories at once.
> Another option would be of course to split aquaterm into two ports,
> but apart from the tiny inconvenience in fetching sources, I don't see
> any compelling reason to do that. Adapters are really small. Another
> option is to combine the two repositories into a single one.

There's no feature in MacPorts to fetch from multiple version control systems in a single port. You'll have to code the port to fetch from one of the version control systems, then write a post-fetch block to manually fetch from the other one.





More information about the macports-dev mailing list