Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 12/02/2001 05:11:37
Module Name:	pkgsrc
Committed By:	jlam
Date:		Sun Dec  2 03:11:37 UTC 2001

Modified Files:
	pkgsrc/mk: bsd.pkg.install.mk bsd.pkg.mk

Log Message:
Support automatically calling the INSTALL script during installation.  This
currently only occurs for packages that use bsd.pkg.install.mk.

There are two new targets, pre-install-script and post-install-script, that
default to doing nothing.  The order of targets called for a "make install"
is:
	pre-install-script
	pre-install
	do-install
	post-install
	post-install-script

The new targets are defined in bsd.pkg.install.mk to call the INSTALL
script with the PRE-INSTALL and POST-INSTALL options.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 pkgsrc/mk/bsd.pkg.install.mk
cvs rdiff -r1.871 -r1.872 pkgsrc/mk/bsd.pkg.mk

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