Re: Get ${OSREL} at install time

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Tue, 18 Apr 2023 12:26:32 UTC
ok, pkg-script manual have also something interesting for finding prefix:
PKG_PREFIX
             PREFIX defined within the package at build time.
So I can use ${PKG_PREFIX}/etc/gitup.conf

About ${PKG_ROOTDIR}/bin/freebsd-version it doesn't seem to be called in
pkg-post-install:
osrel=${PKG_ROOTDIR}/bin/freebsd-version

Am I missing something?