diff options
author | salo <salo@pkgsrc.org> | 2002-11-17 09:00:30 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2002-11-17 09:00:30 +0000 |
commit | 3b84b524cafd9ef144e52e865f7afe6ce2f28ced (patch) | |
tree | 5903fce0ffb169630a145bc9e44ee58e4612ac17 /Packages.txt | |
parent | 1fde293f32677222b26f56dfb47daa804eca44a0 (diff) | |
download | pkgsrc-3b84b524cafd9ef144e52e865f7afe6ce2f28ced.tar.gz |
Document PKG_REGISTER_SHELLS framework.
Diffstat (limited to 'Packages.txt')
-rw-r--r-- | Packages.txt | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/Packages.txt b/Packages.txt index 83314907a53..78eb44407fd 100644 --- a/Packages.txt +++ b/Packages.txt @@ -1,4 +1,4 @@ -# $NetBSD: Packages.txt,v 1.270 2002/11/08 09:29:14 wiz Exp $ +# $NetBSD: Packages.txt,v 1.271 2002/11/17 09:00:30 salo Exp $ ########################################################################### ========================== @@ -2406,6 +2406,25 @@ the installed file first and then the target file. Users will also get an automatic message when files are installed using this method. + 10.28 Packages providing login shells + ===================================== + +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. + +An example taken from shells/zsh: + + 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. + + 11 Submitting & Committing ========================== |