I have built games/cowsay in my own poudriere. In the manpage, it says: ``` FILES /wrkdirs/usr/ports/games/cowsay/work/stage/usr/local/share/cows holds a sample set of cowfiles. If your COWPATH is not explicitly set, it automatically contains this directory. ``` Notice that the stagedir from building has leaked into the manpage. And if I build the port as a user in /tmp/port, and look at the staged manpage at /tmp/port/work/stage/usr/local/man/man1/cowsay.1.gz, then I see this: ``` .SH FILES .B /tmp/port/work/stage/usr/local/share/cows holds a sample set of cowfiles. If your .B COWPATH ``` .. and while the script explicitly handles a "normal" (or maybe "old-fashioned, before staging was a thing") prefix, it substitutes a full prefix (with staging, it seems) in to the intermediate perl scripts -- and onwards into the manpages: ``` echo s,%PREFIX%,$PREFIX,\; >> install.pl ```
Created attachment 221341 [details] Remove STAGEDIR from manpage This patch does two things: - updates the version number reported by `cowsay -h` to the port version; cowsay release 3.04 still claims to be 3.03, and we may as well make the port revision explicit then, too - removes STAGEDIR from the manpage, as reported in this PR
(flipping maintainer-feedback because now there's a patch and the usual "update rules" apply to this "mission-critical" application)