From owner-freebsd-questions@freebsd.org Tue Nov 14 23:44:12 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1AFB1DB9561; Tue, 14 Nov 2017 23:44:12 +0000 (UTC) (envelope-from bryan-lists@shatow.net) Received: from mail.xzibition.com (mail.xzibition.com [52.11.127.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0013C7541F; Tue, 14 Nov 2017 23:44:11 +0000 (UTC) (envelope-from bryan-lists@shatow.net) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 4AD468476; Tue, 14 Nov 2017 23:44:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id d4IMhyKsdbFX; Tue, 14 Nov 2017 23:44:02 +0000 (UTC) Subject: Re: how to code Makefile to add script to periodic/daily DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 4898E8470 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shatow.net; s=mxc204805312015; t=1510703042; bh=R4i6qQnnzbb8F0mezSUW8LMdbgyXbDA3EBJsS9cgExk=; h=Subject:To:References:From:Date:In-Reply-To; b=eYRuoF604sj2hfgQkqKIWQLmIb6UTNEBcFV59cijEVvJiwWzdj07yYrwulrU6N9oE QwXlPWka/T8i+MCj4SOD1eUcy9JCyuw5Ky6sWY3VmEvrYCe2ywuN434gtN0ZPPMIVz NcVWyyQaUp/seQ+A0mt5UNu6k+/xjujSosq5pj7bqShK19u6o6E2H2a8prebPOtiyn Nqa6Du5/+k27O4a8O669LEroQuYM9Vhn+II/MyE0zF/sFuAuJTyMp0PGC1asbx/Dm3 iO9tPQxC42HzMNpMq5Er4R2lHIV5fAf6inASQUbYDEJtY/DPB/R2RUT4li3aZkaMUZ RjxEZpi4P+g3A== To: Ernie Luzar , "ports@FreeBSD.org" , "freebsd-questions@freebsd.org" References: <5A0B7B37.8040405@gmail.com> From: Bryan Drewery Message-ID: <83e33801-f880-8c50-22d8-393ef36c2eb0@shatow.net> Date: Tue, 14 Nov 2017 15:44:03 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <5A0B7B37.8040405@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 23:44:12 -0000 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