Date: Mon, 6 Mar 2017 12:50:21 +0100 From: Michael Gmelin <freebsd@grem.de> To: Andrea Venturoli <ml@netfence.it> Cc: freebsd-ports@freebsd.org Subject: Re: Writing a port that simply installs a bunch of files Message-ID: <32660472-60AF-47C0-861C-023BAFC39C3D@grem.de> In-Reply-To: <66d50818-f00e-9033-4c93-f159c38d04ba@netfence.it> References: <66d50818-f00e-9033-4c93-f159c38d04ba@netfence.it>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 6 Mar 2017, at 12:25, Andrea Venturoli <ml@netfence.it> wrote: >=20 > Hello. >=20 > I'm trying to create a small ports for internal use. > The simplest of these should just place a bunch of files into ${LOCALBASE}= , so I thought I could create a tar archive containing those files, with the= correct permissions, let "extract" do its work, then have the following: >=20 >> do-install: >> (cd ${WRKSRC} && ${CP} -pR . ${STAGEDIR}${PREFIX}) >=20 >=20 > Alas the "extract-fixup-modes" target will ruins all this. >=20 > Is there a way to achieve what I'm trying to achieve? >=20 >=20 >=20 > Better yet, could I just somehow place my content under "files" and do wit= hout a distfile? >=20 >=20 Yes, that's possible, see sysutils/bhyve-rc[0] for an example how to do it. -m [0] https://svnweb.freebsd.org/ports/head/sysutils/bhyve-rc/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32660472-60AF-47C0-861C-023BAFC39C3D>