How do you get the ports directory for a port via a script?

Jim Graham spooky130u at
Sun Dec 2 10:31:24 PST 2012

On Sun, Dec 02, 2012 at 09:49:08AM -0800, Bradley Giesbrecht wrote:

> Have you tried the ispell variant of aspell?
> port variants aspell
> sudo port upgrade --enforce-variants aspell +ispell

1) I don't use sudo...I just su to root when I need root, which is, of
   course, not very often.

2) I didn't even know about the command above, so no, I didn't.
   Hopefully, my chemobrain-cursed memory will allow me to remember that
   next time....


73 DE N5IAL (/4)          | DMR: So fsck was originally called
spooky130u at      |      something else.
< Running Mac OS X Lion > | Q:   What was it called?
ICBM / Hurricane:         | DMR: Well, the second letter was different.
   30.44406N 86.59909W    |    -- Dennis M. Ritchie, Usenix, June 1998.

More information about the macports-users mailing list