I tried it, but everything required sudo and that wasn’t an option at the time. I primarily develop in Windows(on a Mac) now because Unity runs much better on windows than Mac OS.
You can install MacPorts into a local directory without admin privileges.