Source code of "/opt/local/bin/getopt"

Lawrence Velázquez larryv at
Fri Mar 15 07:24:32 PDT 2013

On Mar 15, 2013, at 9:39 AM, Jeremy Lavergne <jeremy at> wrote:

> First check which port it comes from:
> `port provides /opt/local/bin/getopt`
> Then you can extract the source of the port and cd to the source:
> `sudo port extract $PKG && port work $PKG`

Alternatively, "port distfiles $PKG" will show you a list of URLs from which you can download the source distribution yourself.


More information about the macports-users mailing list