Subject: CVS commit: pkgsrc/mk/install
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 07/29/2005 21:41:04
Module Name:	pkgsrc
Committed By:	jlam
Date:		Fri Jul 29 21:41:04 UTC 2005

Modified Files:
	pkgsrc/mk/install: bsd.pkginstall.mk dirs files perms

Log Message:
When using pkginstall to create INSTALL/DEINSTALL scripts to handle
config files, directories, rc.d scripts, etc., use relative paths as
much as possible to avoid hard-coding the ${PREFIX}-location in which
the files should be installed.  Where full paths are specified, if
the path is within ${PREFIX}, then automatically strip off the ${PREFIX}
part when creating the entries for the helper scripts.  Also, modify
the helper scripts to understand that relative paths should be considered
to be relative to ${PKG_PREFIX}.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 pkgsrc/mk/install/bsd.pkginstall.mk
cvs rdiff -r1.6 -r1.7 pkgsrc/mk/install/dirs pkgsrc/mk/install/files
cvs rdiff -r1.2 -r1.3 pkgsrc/mk/install/perms

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