Thank you!

Daniel J. Luke dluke at geeklair.net
Wed Nov 12 14:43:45 PST 2014


On Nov 12, 2014, at 5:19 PM, René J.V. Bertin <rjvbertin at gmail.com> wrote:
> Now that I think of it: one thing that *would* be really nice is an official way to install things that are not in MacPorts somewhere under /opt/local , with a similar support for (de)activated versions and uninstalling. That could be as "simple" as providing wrapper to configure, cmake, make etc. that basically do what they also do for those commands during port {build,destroot,install} (but with PREFIX set to ${prefix}/contrib or something of the sort).

um, that's called 'writing a portfile' (except for the ${prefix}/contrib sillyness).

(and it's pretty easy for well-behaved software).

There's even instructions for having your own ports tree (in case you are doing this with non-public software or you just don't feel like sharing):

https://guide.macports.org/chunked/development.local-repositories.html

If you want to install other software, putting it outside of ${prefix} is a good idea (/opt/packagename is a fairly common practice).

--
Daniel J. Luke                                                                   
+========================================================+                        
| *---------------- dluke at geeklair.net ----------------* |                          
| *-------------- http://www.geeklair.net -------------* |                          
+========================================================+                        
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          
+========================================================+





More information about the macports-users mailing list