Here; check this out, I wrote a script. I'm sure it could use some 
improvements, but its pretty solid:
https://raw.githubusercontent.com/tjt263/macports-installer/master/macports-installer.sh
The idea was to make installing `MacPorts`; more or less the same as installing 
`HomeBrew`. - 
Which is really quick & easy, requiring only a single line of code from an end 
users perspective.
Here is an example scenario: 
http://superuser.com/a/1009536/484402
As you can see:
> Installing `HomeBrew` :

$ ruby -e "$(curl -fsSL 
https://raw.githubusercontent.com/Homebrew/install/master/install)"
> Installing `MacPorts` :

$ bash <(curl -fsSL 
"https://raw.githubusercontent.com/tjt263/macports-installer/master/macports-installer.sh";)
I understand the potential security implications of piping/redirecting a live, 
untrusted script directly to the shell via curl.

However; I don't feel there will be an issue if the script meets QC standards 
and is hosted on an official/trusted server.

Above is what I propose we do; then incorporate it as part of the official 
installation instructions. 
Thank you for reading.
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to