Remove unused ports with portmaster, but keep build dependencies

I started cleaning up unused ports with portmaster -s, but the first one it wanted to uninstall is asciidoc. It was automatically installed, but it's a build dependency for a lot of my ports. How can I remove unused ports but keep build dependency ports?
 
Adding BUILD_DEPENDS to RUN_DEPENDS in the Makefile before building will give you the desired behavior.
I don't know if there is an easy way to do this.
 
Back
Top