Subject: Re: RCD_SCRIPTS problems
To: Quentin Garnier <cube@cubidou.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-pkg
Date: 06/06/2005 17:57:25
On Mon, Jun 06, 2005 at 05:28:11PM +0200, Quentin Garnier wrote:
> On Mon, Jun 06, 2005 at 05:13:21PM +0200, Quentin Garnier wrote:
> [...]
> > I think the easiest way to solve this right now would be to do the
> > following:
> >   o removing the definition of WRKSRC
> >   o adding a post-extract target that does the following:
> > 
> > post-extract:
> > 	${MV} ${WRKDIR}/vmpsd ${WRKSRC}> 
> 
> Actually, simply changing the value of RCD_SCRIPT_WRK.${_script_}
> should be enough.
> 
> RCD_SCRIPT_WRK.vmpsd=   vmpsd.rcd

Yes, this works. Now I see before the install phase:
===> Creating vmpsd.rcd

And /usr/pkg/share/examples/rc.d/vmpsd exists.
Thanks !

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--