pkg_setup() { I="${EROOT}/${I}" einfo "" cat "${PORTDIR}"/licenses/FAH-special-permission einfo "" } Afraid that's invalid since PORTDIR is valid only in src_* phases. And anyway, would be nice to get rid of it since it blocks killing of PORTDIR. @licenses, I recall some recent discussion about special permissions. Does it really belong in licenses/?
The "license" does need to be displayed. However, this cat "${PORTDIR}" line is really just there as a convenience; I can just reproduce it in pkg_setup and ensure it's kept in sync with the file in licenses/ instead.
I know that it needs to be displayed. However, I'm wondering if it needs to go into LICENSE as well -- but I guess it's better that way for consistency. As for displaying it, either inline it or move it to one of src_* phases. I'd personally prefer the former to reduce uses of PORTDIR. However, EAPI 7 may introduce LICENSEDIR for this, depending on the results of the discussion I just requested.
commit 0b358efe8ef86e9410477fd9f4d298ef97737944 Author: Ian Stakenvicius <axs@gentoo.org> Date: Fri Apr 21 10:53:55 2017 -0400 sci-biology/foldingathome: fix use of $PORTDIR in phase function Bug: http://bugs.gentoo.org/566402