x11-fonts/fontconfig and bitmap fonts

BITMAPS option is defined in the x11-fonts/fontconfig/Makefile:

OPTIONS_DEFINE= DOCS NLS BITMAPS TEST

BITMAPS option is set to default in the next line:

OPTIONS_DEFAULT=BITMAPS HINTING_SLIGHT

When it comes to build, there are different targets:

pre-fetch, do-fetch, post-fetch, [...], pre-install, do-install, post-install, [...].

There's a rule, to run specefic targets -- depending on whether an option is on or off:

target-OPT-on
target-OPT-off

Thus, we can form this. for example:

... target ... OPT .. on|off
------------ ------- -------
post-install-BITMAPS-on
post-install-BITMAPS-off


As you can see in the x11-fonts/fontconfig/Makefile, there is:

Makefile:
post-install-BITMAPS-off:
    ${RLN} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail/70-no-bitmaps.conf ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/70-no-bitmaps.conf

post-install-BITMAPS-on:
    ${RM} ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/70-no-bitmaps.conf
    ${RLN} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail/70-yes-bitmaps.conf ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/70-yes-bitmaps.conf

For a detailed explanation, refer to the "5.13.3.12. Additional Build Targets, target-OPT-on and target-OPT-off" section of the
5.13. Makefile Options | FreeBSD Porter's Handbook
 
Back
Top