186cbe8e5d
introduced by version 1.349 of ports/Mk/bsd.port.mk and originally submitted by kris. In particular, it understands the $PORTREVISION (FreeBSD-specific changes or patches to a port) and $PORTEPOCH (for re-sorting version numbers when not used or when broken).