Subject: Re: www/adzap
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 06/12/2003 21:04:01
On Fri, 13 Jun 2003, Juan RP wrote:

> On Fri, 13 Jun 2003 07:08:07 +0200
> Micha=B3 Pasternak <michal@pasternak.w.lub.pl> wrote:
>
> > Well, I updated Makefile, which now includes:
> >
> > =09EGDIR=3D          ${PREFIX}/share/examples/azdap
> > =09CONF_FILES=3D     ${EGDIR}/adzap.conf ${PKG_SYSCONFDIR}/adzap.conf
> >
> > then:
> >
> > =09# rm /usr/pkg/etc/adzap.conf
> > =09# make install
> >
> > and the package doesn't seem to install /usr/pkg/etc/adzap.conf.
> > Any clues?
>
> You have to do a target to copy the configuration file to ${EGDIR}.
>
> pre-install:
> =09=09${INSTALL_DATA_DIR} ${EGDIR}
> =09=09${INSTALL_DATA}  ${WRKSRC}/path/to/adzap.conf ${EGDIR}

That is already done in the do-install target.


It needs
 USE_PKGINSTALL=3D         YES
(as in my earlier message).

Also, fix that patch too.


   Jeremy C. Reed
   http://www.reedmedia.net/