tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Moving files out of PREFIX on macOS



Jonathan Perkin <jperkin%pkgsrc.org@localhost> writes:

> I think the way I'd go about handling this would be more along the
> lines of pkg_alternatives.  One of the main issues with putting this
> in INSTALL and DEINSTALL scripts is that it makes opt-in or opt-out
> harder for users, as well as being a bit less flexible, as everything
> is hard-coded directly into the binary packages.
>
> If we instead had some metadata in the package like we do with
> +ALTERNATIVES, then we could have an external program that the user
> can then run to select which applications end up in an Applications
> directory, configure whether they should go into /Applications or
> ~/Applications, choose which version should be selected if there are
> multiple choices, etc.

This sounds good to me -- it's the "have a way to put app bundles/fonts
into the system, from an installed package", except that I didn't think
that is like pkg_alternatives.


Home | Main Index | Thread Index | Old Index