Commit graph

6 commits

Author SHA1 Message Date
wiz
bc871f8be3 Fix ttf/type1 handling in fonts.mk:
Previously, ttmkfdir's output was redirected to fonts.dir,
while the correct behaviour is to let it create fonts.scale
and then let mkfontdir merge fonts.scale into fonts.dir.
type1 handling had a similar problem.
Get the wanted behaviour by automatically appending the contents of
FONTS_TTF_DIRS and FONTS_TYPE1_DIRS to FONTS_X11_DIRS.
Also, save a subshell in install/fonts while there.

Bump PKGREVISION for all affected packages.

jmmv@ says ok.
2004-12-28 14:38:03 +00:00
recht
4dc7c39d0d Use ttmkfdir2 by default.
Closes PR 24934 by Martin Husemann.
2004-03-29 22:13:47 +00:00
jmmv
456a588def Handle font (de)installation before bsd.pkg.install.mk handles OWN_DIRS.
This way font directories are not automatically removed; the package must
define OWN_DIRS if it wants them to be deleted during deinstallation.
This is done to avoid removal of standard font directories (those that
appear in *.dist files).
2003-12-19 23:46:41 +00:00
jmmv
4bd7f0e8c7 Use ${.CURDIR} when referencing install/deinstall scripts. 2003-02-18 17:51:08 +00:00
seb
9b776bd8c4 Use EVAL_PREFIX on ttmkfdir and type1inst so LOCALBASE is not harcoded.
Okay'ed by jmmv.
2003-02-16 21:34:04 +00:00
jmmv
62f4d1bb45 Implement a simple framework to handle font databases. It regenerates the
fonts.dir, fonts.scale and Fontmap files (depending on the font type) in
the right directories at (de)install time.  Support included for TrueType,
Type1 and standard X11 fonts.

Reviewed by jlam.
2003-02-16 12:14:31 +00:00