Standard way to run test target in specific port

José G. Juanino jjuanino at
Sun May 14 09:13:35 UTC 2017

Hello FreeBSD ports!

I am porting a backup software (bup backup), and the upstream Makefile 
has a "test" target. I find useful to make a port knob to allow run such 
test (disabled by default). What is the best way to accomplish that 
task? Is there any doc or "best practique" to watch for?

I am thinking in write something like this:

RUNTEST_DESC=   Run test suite # knob



But it seems very contrived and ugly.

You can find the full shar file in 219174 (with no test target  

Thanks for your help!

José G. Juanino

More information about the freebsd-ports mailing list