The framework already adds PREFIX and DOCSDIR to it, so drop it entirely. Move variables that do not need to be after bsd.port.pre.mk up.