Hi Stuart, Stuart Cassoff wrote on Tue, Mar 19, 2013 at 04:43:35AM -0400: > On 03/17/13 17:45, Ingo Schwarze wrote:
>> as suggested by pascal@ and sthen@, i have updated the patch to use >> >> +VERSION = 1.22.2 >> +SUBST_VARS = VERSION >> +DISTNAME = groff-${VERSION} >> >> to avoid PLIST churn on future updates. > I wonder why not install in groff instead of groff-$ver ? Using ${PREFIX}/share/groff/${VERSION}/{font,tmac,...} by default is an upstream decision, presumably such that different groff versions on different machines can use a shared network file system ${PREFIX}/share. For the OpenBSD port, that does seem pointless, and shortening the path to just ${PREFIX}/share/groff/{font,tmac,...} might seem attractive. Probably, it might be possible to manipulate FONTPATH, MACROPATH, and COMMON_WORDS_FILE (for the binaries) and FONTDIR and MACRODIR (for the documentation) and may be a few more variables at configure time to install into non-standard paths. However, that is likely to increase the number of porting bugs and to make maintenance and communication with upstream more difficult, for IMHO rather little gain. So i'd prefer to stick with the upstream naming conventions below ${PREFIX}/share/groff even tough they look slightly ugly. Yours, Ingo