Date: Thu, 16 Nov 2017 12:06:49 -0800 From: Mel Pilgrim <list_freebsd@bluerosetech.com> To: Miroslav Lachman <000.fbsd@quip.cz>, Freebsd Ports <freebsd-ports@freebsd.org> Subject: Re: Making a port that installs only an RC script provided in FILESDIR Message-ID: <dba9eae8-22de-4e76-3c60-b512b1457ceb@bluerosetech.com> In-Reply-To: <5A0DE461.6020301@quip.cz> References: <56dd26c5-1daf-be8c-f499-0375f7fb3524@bluerosetech.com> <5A0DE461.6020301@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/16/2017 11:17, Miroslav Lachman wrote: > Mel Pilgrim wrote on 2017/11/16 19:30: >> I have a port that has exactly one file: an RC script provided in the >> FILESDIR of the skeleton itself. I can't use metaport because I do have >> to install a file. >> >> I've had no luck finding anything that explains how to do this, and am >> meeting no end of errors when I test the port. > > If you have files/my_port.in > > then you need this in your Makefile > > USE_RC_SUBR= my_port Already had that. The port needed extra settings so that make didn't try to fetch anything and stage didn't try to look for WRKSRC. The part I was missing was (quite unintuitively) setting NO_INSTALL=yes on a port that will install files.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dba9eae8-22de-4e76-3c60-b512b1457ceb>