Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <firstname.lastname@example.org>
Date: 12/29/2005 03:44:38
Module Name: pkgsrc
Committed By: jlam
Date: Thu Dec 29 03:44:38 UTC 2005
pkgsrc/mk/install: bsd.pkginstall.mk deinstall fonts install
Re-implement the pkgsrc fonts-handling by integrating it into the
* 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.
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 pkgsrc/mk/fonts.mk
cvs rdiff -r1.30 -r1.31 pkgsrc/mk/install/bsd.pkginstall.mk
cvs rdiff -r1.36 -r1.37 pkgsrc/mk/install/deinstall
cvs rdiff -r1.6 -r1.7 pkgsrc/mk/install/fonts
cvs rdiff -r1.41 -r1.42 pkgsrc/mk/install/install
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.