I know that one can pass ./configure some flags to install vim with clipboard support. I want to do this via Macports.
In apt, there was a way to download a package's source without first installing it, then install it using dpkg. Is there a similar thing I can do in Macports? I'd like to have Macports download the vim source for me, and then ./configure it myself, then install it, so that Macports is aware of the installation in case I want to uninstall it for some reason.
If I can't do this via Macports, can I do it with brew? I'm trying to avoid downloading the source directly so that I can have some sort of a package manager be aware of my vim install in case I want to remove it.