Software that doesn't use DESTROOT and funny tarball directories

Joshua Root jmr at macports.org
Sun Jul 17 14:18:45 PDT 2016


On 2016-7-18 02:15 , Brandon Allbery wrote:
>
> On Sun, Jul 17, 2016 at 2:16 AM, Joshua Root <jmr at macports.org
> <mailto:jmr at macports.org>> wrote:
>
>         The second question is about names: I named the port chez-scheme.
>         Unfortunately the tarball they have expands into one with a
>         directory
>         named ChezScheme-9.4 and not chez-scheme-9.4  The obvious thing
>         to do
>         is to change the name of the port to ChezScheme, but I do not recall
>         many ports with uppercase names. Is this the right thing to do?
>
>
>     Port names are case-insensitive, so capitalise however is
>     preferable. Furthermore, the name of the port doesn't have to bear
>     any relation to the distfile name; you can set distname to whatever
>     is needed. See <https://guide.macports.org/#reference.phases.fetch
>
>     >.
>
>
> In this case I think it's more the worksrcdir that you'd be changing?

Yes, if the name of the extracted directory doesn't match the name of 
the tarball.

- Josh


More information about the macports-dev mailing list