request for port create command, to build a portfile from a URL

Mojca Miklavec mojca at macports.org
Tue Mar 6 15:25:21 UTC 2018


Hi,

On 6 March 2018 at 15:58, Ken Cunningham wrote:
> It would be nice to have a command like
>
> port create URL
>
> that would download the URL, calc the checksums for it, and build a basic Portfile for it.
>
> It could ask for a category to use for the Port.
>
> In a more advance version, it could extract the URL and do some quick analysis on it.
>
> if there's a CMakeLists.txt file in the root, do the right things to make it a cmake based port.
>
> If there's a configure file in the root, do the right things for that.
>
> Might make things faster and easier for people to get started and up and running.
>
> Certainly would make it easier for people who want to use MacPorts infrastructure to build their own files, as many don't know how to properly set up the include and lib directories, etc.

I would make a GSOC project proposal for this :)

This would certainly be nice functionality, it's just that someone
needs to write it.

Mojca


More information about the macports-dev mailing list