Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2004 09:15:27 -0500 (EST)
From:      Trevor Johnson <trevor@jpj.net>
To:        =?iso-8859-1?Q?S=F8ren?= Debois <debois@diku.dk>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Substitution in pkg-message
Message-ID:  <20040206091414.L85731@blues.jpj.net>
In-Reply-To: <20040206140230.GB10686@diku.dk>
References:  <20040206140230.GB10686@diku.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040206091414.L85731>