Substitution in pkg-message

Thomas-Martin Seck tmseck-lists at netcologne.de
Fri Feb 6 07:52:16 PST 2004


* Søren Debois <debois at diku.dk> [gmane.os.freebsd.devel.ports]:

> I'd like my ports pkg-message to result in
> 
>        Please consult %%EXAMPLESDIR%%/README.FreeBSD
> 
> with %%EXAMPLESDIR%% expanded appropriately. Is this possible?

Of course:

post-install:
	@${SED} -e 's:%%EXAMPLESDIR%%:${EXAMPLESDIR}:g' <pkg-message


More information about the freebsd-ports mailing list