Date: Tue, 14 Nov 2017 15:44:03 -0800 From: Bryan Drewery <bryan-lists@shatow.net> To: Ernie Luzar <luzar722@gmail.com>, "ports@FreeBSD.org" <ports@freebsd.org>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: how to code Makefile to add script to periodic/daily Message-ID: <83e33801-f880-8c50-22d8-393ef36c2eb0@shatow.net> In-Reply-To: <5A0B7B37.8040405@gmail.com> References: <5A0B7B37.8040405@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/14/2017 3:24 PM, Ernie Luzar wrote:
> Searched the porters handbook and can not find any info about how to
> code the Makefile for adding a file to /usr/local/etc/periodic/daily
> directory. Was hoping for a canned macro but no joy.
>
> Can someone please point me to documentation or provide an example.
>
> Thanks
It's just a file, nothing too special needed.
${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
${INSTALL_SCRIPT} ${WRKSRC}/40.blah ${STAGEDIR}${PREFIX}/etc/periodic/daily/
pkg-plist:
etc/periodic/daily/40.blah
--
Regards,
Bryan Drewery
bdrewery@freenode/EFNet
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?83e33801-f880-8c50-22d8-393ef36c2eb0>
