Tweak Makefile

* Use well-known variable names
* Respect values set in environment

Obtained from FreeBSD ports collection