Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2004 15:30:14 +0100
From:      =?iso-8859-1?Q?S=F8ren?= Debois <debois@diku.dk>
To:        freebsd-ports@freebsd.org
Subject:   Re: Substitution in pkg-message
Message-ID:  <20040206143014.GA11520@diku.dk>
In-Reply-To: <20040206091414.L85731@blues.jpj.net>
References:  <20040206140230.GB10686@diku.dk> <20040206091414.L85731@blues.jpj.net>

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



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