pkg-message variable -> value replacements ?

Jan Beich jbeich at
Sat Oct 24 12:04:40 UTC 2015

Kurt Jaeger <lists at> writes:

> Hi!
> Is there a generic way in the ports framework to replace variables
> in a port pkg-message, e.g. ${PREFIX} ?

Try SUB_FILES=pkg-message to use %%PREFIX%% there.

$ make -V SUB_LIST
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/myport DOCSDIR=/usr/local/share/doc/myport EXAMPLESDIR=/usr/local/share/examples/myport  WWWDIR=/usr/local/www/myport ETCDIR=/usr/local/etc/myport
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <>

More information about the freebsd-ports mailing list