Substitution in pkg-message

SørenDebois debois at diku.dk
Fri Feb 6 06:30:17 PST 2004


On Fri, Feb 06, 2004 at 09:15:27AM -0500, Trevor Johnson wrote:
> > 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}

I did not want to show the readme, I wanted to refer to it. And I'd like
it to work for packages as well. 

-- 
	--- Debois


More information about the freebsd-ports mailing list