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.
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to