Subject: CVS commit: pkgsrc/mk
To: None <>
From: Johnny C. Lam <>
List: pkgsrc-changes
Date: 12/29/2005 03:44:38
Module Name:	pkgsrc
Committed By:	jlam
Date:		Thu Dec 29 03:44:38 UTC 2005

Modified Files:
	pkgsrc/mk/install: deinstall fonts install

Log Message:
Re-implement the pkgsrc fonts-handling by integrating it into the
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/ 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/
cvs rdiff -r1.30 -r1.31 pkgsrc/mk/install/
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.