On 2014-10-12 22:16, Mark Brethen wrote: > How does one setup a portfile to do a 'make clean' before a 'make all'? I thought of using > > pre-build { > system -W ${somedir} "${build.cmd} clean" > } You can just give make both targets: build.target clean all Rainer