> On 6 Mar 2017, at 12:25, Andrea Venturoli <[email protected]> wrote: > > Hello. > > 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: > >> do-install: >> (cd ${WRKSRC} && ${CP} -pR . ${STAGEDIR}${PREFIX}) > > > Alas the "extract-fixup-modes" target will ruins all this. > > Is there a way to achieve what I'm trying to achieve? > > > > Better yet, could I just somehow place my content under "files" and do > without a distfile? > >
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/ _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
