Make a pkg-plist for a FreeBSD port. Try to be as ‘automatic’ as possible.
That’s all it does ;-)
You can find it in the FreeBSD ports collection at
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.
make install PREFIX=/var/tmp/ptest.
@dir, instead of
@dirrm; patch by email@example.com
STAGEDIR; patch by firstname.lastname@example.org