pkg-message variable -> value replacements ?

olli hauer ohauer at
Sat Oct 24 12:11:06 UTC 2015

On 2015-10-24 13:23, Kurt Jaeger wrote:
> Hi!
> Is there a generic way in the ports framework to replace variables
> in a port pkg-message, e.g. ${PREFIX} ?

Hi Kurt,

yes, there is.

$ mv pkg-message files/

and in the $port/Makefile use SUB_FILES and SUB_LIST

SUB_FILES = pkg-message

This way the var %%PREFIX%% in pkg-message will be replaced with NewVal


More information about the freebsd-ports mailing list