summaryrefslogtreecommitdiff
path: root/mk/fonts.mk
AgeCommit message (Collapse)AuthorFilesLines
2020-03-22mk/fonts.mk: Empty USE_LANGUAGESnia1-1/+2
2019-04-06fonts.mk: hide echo itself, and improve quotingwiz1-2/+2
2019-04-06Fix previous properly:maya1-5/+5
Avoid matching newly created files in destdir and re-installing them and erroring on install. find | xargs achieves the same by coincidence. suggested by kre.
2019-04-04Tolerate uppercase .TTF (for uralic-ttf) and do a case-insensitive comparemaya1-5/+5
use find -print | xargs to avoid hitting find limits. Thanks leot for lots of help figuring out why some packages were failing.
2019-04-04Add a generic fonts.mk makefile fragment.maya1-0/+27
Reviewed by rillig in http://mail-index.netbsd.org/tech-pkg/2019/03/05/msg020895.html I am only adding TTF and OTF handling because I don't know enough about the other font formats. :)
2006-02-18Remove deprecated and now unused file.wiz1-18/+0
2005-12-29Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mkjlam1-3/+1
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
2005-12-29Re-implement the pkgsrc fonts-handling by integrating it into thejlam1-51/+10
pkginstall framework: * Rewrite the mk/install/fonts script fragment as a scriptlet that's generated by the +INSTALL script during package installation. * Rename the FONTS_<TYPE>_DIRS variables to FONTS_DIRS.<type> to be more consistent with how "families" of variables are currently named in pkgsrc. * Rewrite mk/fonts.mk so that it's implemented in terms of the new functionality in the pkginstall framework. This file will be obsoleted in the near future after packages have been transitioned to use the new functionality in the pkginstall framework. Currently, packages will continue to work with no changes. Integrating the fonts-handling into the pkginstall framework has the benefit of generating a +FONTS scriptlet that may be run independently of the +INSTALL scripts to (idempotently) update the fonts databases and fix package installation errors.
2005-12-28When MKFONTDIR is set, it is most likely used as well. Add a build timejoerg1-1/+2
dependency on it.
2005-12-05Applied all quoting fixes found by "pkglint --autofix".rillig1-4/+4
2004-12-28Fix ttf/type1 handling in fonts.mk:wiz1-1/+5
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-03-29Use ttmkfdir2 by default.recht1-2/+2
Closes PR 24934 by Martin Husemann.
2003-12-19Handle font (de)installation before bsd.pkg.install.mk handles OWN_DIRS.jmmv1-3/+2
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-02-18Use ${.CURDIR} when referencing install/deinstall scripts.jmmv1-3/+3
2003-02-16Use EVAL_PREFIX on ttmkfdir and type1inst so LOCALBASE is not harcoded.seb1-3/+7
Okay'ed by jmmv.
2003-02-16Implement a simple framework to handle font databases. It regenerates thejmmv1-0/+53
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.