Re: Get ${OSREL} at install time
- In reply to: Yuri : "Re: Get ${OSREL} at install time"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Apr 2023 09:39:14 UTC
* Yuri <yuri@aetern.org> [20230418 11:11]: > Yuri wrote: > > Took a look at this and now I'm wondering if it gets run at all, you > > don't seem to specify PKGPOSTINSTALL in the Makefile, and bsd.port.mk > > has it as just pkg-post-install, not handling .lua? It's also is not in > > the .pkg file contents. Sorry if I'm missing something. > > Nevermind me, I see that it's there, sorry for the noise. Yes, the .lua suffix is automatically tried somewhere deep down in the scripts, I actually forgot where. Had to analyze them back when I did this, because this whole feature (lua in package scripts) was largely undocumented. This has been fixed by now however :) https://docs.freebsd.org/en/books/porters-handbook/book/#pkg-install -- Felix Palmen <zirias@FreeBSD.org> {private} felix@palmen-it.de -- ports committer (mentee) -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231