On 2010/02/24 00:41, Ingo Schwarze wrote:
> - Nearly all names of utilities conflict with our in-tree groff,
> so you need to call them by their full paths. Pay attention
> to the order of directories in your $PATH. The same applies
> to manual pages. Do not install this on production machines.
we often use a prefix in the filenames for these (e.g. m4 -> gm4).
> - /usr/local/lib/charset.alias conflicts with libiconv.
> I bluntly @comment-ed it out of the PLIST.
if groff requires this, you probably want at least a RUN_DEPENDS
on iconv (I would be more worried about possible dependency loops if
this is used to build certain other basic ports with, than I would
with trying to make it lightweight).
> - During the fake-install phase, there are a few error messages
> i did not investigate, see the Makefile.
There are various "The program `gs' cannot be found in the PATH"
during configure, and this during build (not fake):
Using perl version of groffer.
install: groffer.man: chown/chgrp: Operation not permitted
*** Error code 71 (continuing)
Build for all aborted
`all' not remade because of errors.
> - Some stuff is installed to places where it doesn't belong.
adding this (and of course re-generating PLIST) helps:
MAKE_FLAGS += docdir=${PREFIX}/share/doc/groff \
exampledir=${PREFIX}/share/examples/groff