Solution: cd ~/Documents/ports/ portindex
Note the "cd" command before the portindex command. On 2018-06-16, at 3:51 PM, Michael <keybou...@gmail.com> wrote: > I'm trying to use a local port file, and it's not working. What am I doing > wrong? > > bash-3.2# cat /opt/local/etc/macports/sources.conf > # $Id: sources.conf 106803 2013-06-08 16:22:39Z lar...@macports.org $ > > # For proper functionality of various resources (port groups, mirror > # sites, etc.), the primary MacPorts source must always be tagged > # "[default]", even if switched from the default "rsync://" URL. > > file:///Users/michael/Documents/ports > rsync://rsync.macports.org/release/tarballs/ports.tar [default] > bash-3.2# ls /Users/michael/Documents/ports/devel/ > .DS_Store git/ > bash-3.2# ls /Users/michael/Documents/ports/devel/git/ > total 16 > 8 .DS_Store 8 Portfile 0 files/ > bash-3.2# port dir git > /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/git > bash-3.2# > > It refuses to find my local port directory/port file > > --- > Entertaining minecraft videos > http://YouTube.com/keybounce > --- Entertaining minecraft videos http://YouTube.com/keybounce