> On 27 Dec 2022, at 18:54, Stephen Roznowski <[email protected]> wrote: > > I'm in the process of creating a new port that requires the installation of > some files in /var. > > I notice that the file /usr/ports/Templates/BSD.local.dist doesn't have any > of the /var tree in it, is there a particular reason why that is missing? (I > could see where a small subset of /var would be useful to autocreate in the > stage directory.) > > I realize that I can just do: > > pre-install: > > @${MKDIR} ${STAGEDIR}/var/xxx > > for the directories that I need.
You really want to use pkg-plist for this.
jaap
signature.asc
Description: Message signed with OpenPGP
