On 12/27/22 14:12, [email protected] wrote: > > >> 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 > >
pkg-plist (or PLIST_FILES) doesn't work for staging (without the pre-install line). For additional details, I'm porting a game, so my plist has "var/games/xxx.score" in it. Thanks,Steve
