Tue May 14 20:28:32 2024 UTC (33d)
mk/pkginstall/bsd.pkginstall.mk: Clarify behavior of PKG_RCD_SCRIPTS


(bacon)
diff -r1.79 -r1.80 pkgsrc/mk/pkginstall/bsd.pkginstall.mk

cvs diff -r1.79 -r1.80 pkgsrc/mk/pkginstall/bsd.pkginstall.mk (expand / switch to unified diff)

--- pkgsrc/mk/pkginstall/bsd.pkginstall.mk 2023/06/27 10:27:21 1.79
+++ pkgsrc/mk/pkginstall/bsd.pkginstall.mk 2024/05/14 20:28:32 1.80
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: bsd.pkginstall.mk,v 1.79 2023/06/27 10:27:21 riastradh Exp $ 1# $NetBSD: bsd.pkginstall.mk,v 1.80 2024/05/14 20:28:32 bacon Exp $
2# 2#
3# This Makefile fragment is included by bsd.pkg.mk and implements the 3# This Makefile fragment is included by bsd.pkg.mk and implements the
4# common INSTALL/DEINSTALL scripts framework. To use the pkginstall 4# common INSTALL/DEINSTALL scripts framework. To use the pkginstall
5# framework, simply set the relevant variables to customize the install 5# framework, simply set the relevant variables to customize the install
6# scripts to the package. 6# scripts to the package.
7# 7#
8# User-settable variables: 8# User-settable variables:
9# 9#
10# FONTS_VERBOSE indicates whether the +FONTS scriptlet will output a message 10# FONTS_VERBOSE indicates whether the +FONTS scriptlet will output a message
11# noting the actions taken if PKG_UPDATE_FONTS_DB is YES. It is either 11# noting the actions taken if PKG_UPDATE_FONTS_DB is YES. It is either
12# YES or NO and defaults to YES for PKG_DEVELOPERs, otherwise NO. 12# YES or NO and defaults to YES for PKG_DEVELOPERs, otherwise NO.
13# 13#
14_VARGROUPS+= pkginstall 14_VARGROUPS+= pkginstall
@@ -1010,26 +1010,29 @@ ${_INSTALL_ICON_THEMES_FILE}: ../../mk/p @@ -1010,26 +1010,29 @@ ${_INSTALL_ICON_THEMES_FILE}: ../../mk/p
1010# merely inform the admin of the list of required files and 1010# merely inform the admin of the list of required files and
1011# directories needed to use the package. It is either YES or NO 1011# directories needed to use the package. It is either YES or NO
1012# and defaults to YES. 1012# and defaults to YES.
1013# 1013#
1014# PKG_CONFIG_PERMS indicates whether to automatically correct permissions 1014# PKG_CONFIG_PERMS indicates whether to automatically correct permissions
1015# and ownership on pre-existing files and directories, or if it 1015# and ownership on pre-existing files and directories, or if it
1016# should merely inform the admin of the list of files and 1016# should merely inform the admin of the list of files and
1017# directories whose permissions and ownership need to be fixed. It 1017# directories whose permissions and ownership need to be fixed. It
1018# is either YES or NO and defaults to NO. 1018# is either YES or NO and defaults to NO.
1019# 1019#
1020# PKG_RCD_SCRIPTS indicates whether to automatically install rc.d scripts 1020# PKG_RCD_SCRIPTS indicates whether to automatically install rc.d scripts
1021# to ${RCD_SCRIPTS_DIR}. It is either YES or NO and defaults to 1021# to ${RCD_SCRIPTS_DIR}. It is either YES or NO and defaults to
1022# NO. This variable only takes effect if ${PKG_CONFIG} == "YES". 1022# NO. This variable only takes effect if ${PKG_CONFIG} == "YES".
 1023# Unmodified scripts are removed upon deinstall. Modified scripts
 1024# are left in-place and will not be replaced if the package is
 1025# reinstalled or upgraded.
1023# 1026#
1024# PKG_REGISTER_SHELLS indicates whether to automatically register shells 1027# PKG_REGISTER_SHELLS indicates whether to automatically register shells
1025# in /etc/shells. It is either YES or NO and defaults to YES. 1028# in /etc/shells. It is either YES or NO and defaults to YES.
1026# 1029#
1027# PKG_UPDATE_FONTS_DB indicates whether to automatically update the fonts 1030# PKG_UPDATE_FONTS_DB indicates whether to automatically update the fonts
1028# databases in directories where fonts have been installed or 1031# databases in directories where fonts have been installed or
1029# removed. It is either YES or NO and defaults to YES. 1032# removed. It is either YES or NO and defaults to YES.
1030# 1033#
1031# These values merely set the defaults for INSTALL/DEINSTALL scripts, but 1034# These values merely set the defaults for INSTALL/DEINSTALL scripts, but
1032# they may be overridden by resetting them in the environment. 1035# they may be overridden by resetting them in the environment.
1033# 1036#
1034.if ${PKG_DEVELOPER:Uno} != "no" 1037.if ${PKG_DEVELOPER:Uno} != "no"
1035FONTS_VERBOSE?= YES 1038FONTS_VERBOSE?= YES