pkgsrc/mk/install
jlam 22d02d6b3e Replace PKG_{USER,GROUP} with PKG_USERS and PKG_GROUPS:
PKG_USERS represents the users to create for the package.  It is a
	space-separated list of elements of the form

		user:group[:[userid][:[descr][:[home][:shell]]]]

	Only the user and group are required; everything else is optional,
	but the colons must be in the right places when specifying optional
	bits.  Note that if the description contains spaces, then spaces
	should be double backslash-escaped, e.g.

		foo:foogrp::The\\ Foomister

PKG_GROUPS represents the groups to create for the package.  It is a
	space-separated list of elements of the form

		group[:groupid]

	Only the group is required; the groupid is optional.

This solves the problem of what to do when there is more than one user or
group needed for a package, e.g. qmail.  Also add a bit more error-checking
to the INSTALL/DEINSTALL scripts.
2001-11-26 20:37:38 +00:00
..
deinstall Replace PKG_{USER,GROUP} with PKG_USERS and PKG_GROUPS: 2001-11-26 20:37:38 +00:00
footer Common INSTALL/DEINSTALL scripts and Makefile magic to automatically perform 2001-11-19 16:18:44 +00:00
header Replace PKG_{USER,GROUP} with PKG_USERS and PKG_GROUPS: 2001-11-26 20:37:38 +00:00
install Replace PKG_{USER,GROUP} with PKG_USERS and PKG_GROUPS: 2001-11-26 20:37:38 +00:00