May 26, 2018
Generate a pkg-plist for a port
Make a pkg-plist for a FreeBSD port. Try to be as “automatic” as possible.
That’s all it does ;-
- Build your port to the staging directory
- Run this from your port’s directory or set
Alternatively, you can install your ports to a “fake” prefix, this is the “old” from before staging support, but it has the added advantage that you’ve tested whether your port works when installing to a different prefix.
- Build & install your port with a different
make install PREFIX=/var/tmp/ptest.
- Run this from your port’s directory with