Substitution in pkg-message

Trevor Johnson trevor at jpj.net
Fri Feb 6 06:15:16 PST 2004


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

PKGMESSAGE=	${WRKDIR}/pkgmessage

post-install:
	@${ECHO_CMD} ${EXAMPLESDIR}/README.FreeBSD > ${PKGMESSAGE}
	${CAT} ${PKGMESSAGE}
-- 
Trevor Johnson


More information about the freebsd-ports mailing list