possible to fetch sources from git repository?

Cédric Luthi cedric.luthi at gmail.com
Mon Feb 12 12:44:37 PST 2007


> Some of the sources are only available in git repositories so the
> question arise whether it is possible to fetch sources from git
> repositories? The man page only mentions cvs repositories.

I think you could add
depends_build port:git-core
in the Portfile and cook your own fetch {} phase that uses ${prefix}/ 
bin/git-* to retrieve the sources.

I never tried but I think it should work.

HTH
Cédric Luthi




More information about the macports-dev mailing list