Re: How is elixir-devel/pkg-plist generated?
- In reply to: Dave Cottlehuber: "Re: How is elixir-devel/pkg-plist generated?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Dec 2022 19:25:32 UTC
On 12 Dec 2022, at 1:49, Dave Cottlehuber wrote: > On Mon, 12 Dec 2022, at 02:02, Pat Maddox wrote: >> Looking at >> https://github.com/freebsd/freebsd-ports/blob/main/lang/elixir-devel/pkg-plist >> I assume it’s generated by a script. >> >> Can someone please share the script? >> >> Thanks, >> Pat > > Hey Pat > > make pkg-plist > https://docs.freebsd.org/en/books/porters-handbook/book/#plist-dynamic > > Although in practice I just update the DISTVERSION run ‘make > stage-a’ and fix up a handful of errors manually, this makes it > easier to get a feel for what files changed. Thanks Dave! Neither pkg-plist nor stage-a are targets from what I can tell. The packing list is static rather than dynamic because it uses pkg-plist file. To generate a pkg-plist from the installed files, I believe it is: make stage make makeplist | tail -n +2 | tee pkg-plist Then make clean stage # necessary so pkg-plist will be included in work/.PLIST.mktmp, and thus the final packing list On my machine, that sequence produces a pkg-plist with 973 lines as compared to the 1091 currently in git. I’m not sure what the difference is. I’ll need to experiment more with poudriere test to see if I can figure out what’s going on. Pat