Subject: CVS commit: pkgsrc/mk/install
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 03/15/2006 04:52:57
Module Name:	pkgsrc
Committed By:	jlam
Date:		Wed Mar 15 04:52:57 UTC 2006

Modified Files:
	pkgsrc/mk/install: bsd.pkginstall.mk deinstall deinstall-pre dirs files
	    fonts footer header info-files install install-post perms shell
	    usergroup

Log Message:
Rototill of how the various template parts of the INSTALL and DEINSTALL
scripts are generated.  The various scriptlets in pkgsrc/mk/install
are now full templates that can be combined to form the INSTALL and
DEINSTALL scripts.  All of the templates have either leading or trailing
blank lines so that when they are concatentated, the full INSTALL and
DEINSTALL scripts will still be easy to read.

All of the generated template sources for the INSTALL and DEINSTALL
scripts are now stored in ${WRKDIR}/.pkginstall for local consistency
and have been renamed so that they are not dot-files.

The "data" for the +* scriptlets are now generated in a separate step
and instead of being appended to the unpacked scriptlet are now appended
to the INSTALL script itself.  When the scriptlets are unpacked, the
corresponding data lines for each scriptlet are pulled out of the
INSTALL script and put into the unpacked scriptlets.  This makes it
easy to append more data lines during the install phase without needing
to regenerate the INSTALL script.


To generate a diff of this commit:
cvs rdiff -r1.40 -r1.41 pkgsrc/mk/install/bsd.pkginstall.mk
cvs rdiff -r1.38 -r1.39 pkgsrc/mk/install/deinstall
cvs rdiff -r1.2 -r1.3 pkgsrc/mk/install/deinstall-pre \
    pkgsrc/mk/install/install-post
cvs rdiff -r1.8 -r1.9 pkgsrc/mk/install/dirs pkgsrc/mk/install/files
cvs rdiff -r1.9 -r1.10 pkgsrc/mk/install/fonts
cvs rdiff -r1.1 -r1.2 pkgsrc/mk/install/footer pkgsrc/mk/install/info-files
cvs rdiff -r1.34 -r1.35 pkgsrc/mk/install/header
cvs rdiff -r1.43 -r1.44 pkgsrc/mk/install/install
cvs rdiff -r1.3 -r1.4 pkgsrc/mk/install/perms
cvs rdiff -r1.4 -r1.5 pkgsrc/mk/install/shell
cvs rdiff -r1.12 -r1.13 pkgsrc/mk/install/usergroup

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.