On Nov 12, 2014, at 5:19 PM, RenĂ© J.V. Bertin <[email protected]> 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                                                                  
 
+========================================================+                      
  
| *---------------- [email protected] ----------------* |                      
    
| *-------------- http://www.geeklair.net -------------* |                      
    
+========================================================+                      
  
|   Opinions expressed are mine and do not necessarily   |                      
    
|          reflect the opinions of my employer.          |                      
    
+========================================================+



_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to