pkg-message variable -> value replacements ?

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


Kurt Jaeger <lists at opsec.eu> 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: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20151024/0e5795b7/attachment.bin>


More information about the freebsd-ports mailing list