summaryrefslogtreecommitdiff
path: root/Packages.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Packages.txt')
-rw-r--r--Packages.txt29
1 files changed, 14 insertions, 15 deletions
diff --git a/Packages.txt b/Packages.txt
index e0603049fe6..2d3da9fc450 100644
--- a/Packages.txt
+++ b/Packages.txt
@@ -1,4 +1,4 @@
-# $NetBSD: Packages.txt,v 1.282 2003/01/22 19:22:05 jdolecek Exp $
+# $NetBSD: Packages.txt,v 1.283 2003/01/28 22:03:00 jlam Exp $
###########################################################################
==========================
@@ -2256,9 +2256,9 @@ A more complex example is that creates two groups and two users is:
By default, a new user will have home directory /nonexistent, and login shell
/sbin/nologin unless they are specified as part of the user element.
-The package Makefile must also include "../../mk/bsd.pkg.install.mk" prior to
-the inclusion of bsd.pkg.mk. This will cause the users and groups to be
-created at pre-install time, and the admin will be prompted to remove them at
+The package Makefile must also set USE_PKGINSTALL to "YES" prior to the
+inclusion of bsd.pkg.mk. This will cause the users and groups to be created
+at pre-install time, and the admin will be prompted to remove them at
post-deinstall time. Automatic creation of the users and groups can be
toggled on and off by setting the environment variable PKG_CREATE_USERGROUP
prior to package installation.
@@ -2405,11 +2405,10 @@ of filenames; the first element of the pair specifies the file inside the
examples directory (registered by PLIST) and the second element specifies
the target file. This is done this way to allow binary packages to place
files in the right directory using INSTALL/DEINSTALL scripts which are
-created automatically. The package Makefile must also include
-"../../mk/bsd.pkg.install.mk" prior to the inclusion of bsd.pkg.mk to use
-these automatically generated scripts. The automatic copying of config
-files can be toggled by setting the environment variable PKG_CONFIG prior
-to package installation.
+created automatically. The package Makefile must also set USE_PKGINSTALL
+to "YES" prior to the inclusion of bsd.pkg.mk to use these automatically
+generated scripts. The automatic copying of config files can be toggled by
+setting the environment variable PKG_CONFIG prior to package installation.
Here is an example, taken from mail/mutt/Makefile:
@@ -2427,18 +2426,18 @@ automatic message when files are installed using this method.
If the purpose of the package is to provide a login shell, the variable
PKG_SHELL should contain the full pathname of the shell executable installed
-by this package. The package Makefile also must include
-"../../mk/bsd.pkg.install.mk" prior to the inclusion of bsd.pkg.mk to use the
-automatically generated INSTALL/DEINSTALL scripts.
+by this package. The package Makefile also must set USE_PKGINSTALL to "YES"
+prior to the inclusion of bsd.pkg.mk to use the automatically generated
+INSTALL/DEINSTALL scripts.
An example taken from shells/zsh:
+ USE_PKGINSTALL= YES
PKG_SHELL= ${PREFIX}/bin/zsh
- .include "../../mk/bsd.pkg.install.mk"
The shell is registered into /etc/shells file automatically in the
-post-install target by the INSTALL script generated by bsd.pkg.install.mk and
-removed in the deinstall target by the DEINSTALL script.
+post-install step by the auto-generated INSTALL script and removed in the
+deinstall step by the DEINSTALL script.
10.29 Packages providing locale catalogues