Subject: Re: www/adzap
To: Michal Pasternak <michal@pasternak.w.lub.pl>
From: Juan RP <jrp@hispabsd.org>
List: tech-pkg
Date: 06/13/2003 05:08:09
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:
>=20
> 	EGDIR=3D          ${PREFIX}/share/examples/azdap
> 	CONF_FILES=3D     ${EGDIR}/adzap.conf ${PKG_SYSCONFDIR}/adzap.conf
>=20
> then:
>=20
> 	# rm /usr/pkg/etc/adzap.conf
> 	# make install
>=20
> and the package doesn't seem to install /usr/pkg/etc/adzap.conf.=20
> Any clues?

You have to do a target to copy the configuration file to ${EGDIR}.

pre-install:
		${INSTALL_DATA_DIR} ${EGDIR}
		${INSTALL_DATA}  ${WRKSRC}/path/to/adzap.conf ${EGDIR}
...


HTH,
--=20
Juan RP		jrp@hispabsd.org
--