Juan Picca writes:
> Ok.
> For now no more talk about changing the name of 150 packages :)
>
>
> What about modifying the fonts to use the font module
> (infrastructure/mk/font.port.mk)?

In my opinion, the font module's current do-install is not very
useful. It doesn't account for two common cases: installing fewer than
all font files of a particular type, and installing fonts from multiple
directories in WRKDIST.

> 1. Define the variable `FONT_DOCDIR ?=  ${PREFIX}/share/doc/${TYPEFACE}`
>   (suggested name; DOCDIR is better?) in the font module.
> 2. If the variable `FONT_DOCFILES` (also a suggested name; or maybe
>   DOCFILES?) is defined, add to the `do-install` the installation of the
>   files under the `doc` directory:

I've had the exact same idea. In fact, I would also like to introduce a
FONT_FILES variable that can be set to a list of font files to install
(including wildcards). The do-install would be closer to the typical
do-install targets in font ports, and would obviate FONTTYPES completely.

-- 
Anthony J. Bentley

Reply via email to