how to code Makefile to add script to periodic/daily

Bryan Drewery bryan-lists at
Tue Nov 14 23:44:12 UTC 2017

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/


Bryan Drewery
bdrewery at freenode/EFNet

More information about the freebsd-questions mailing list