summaryrefslogtreecommitdiff
path: root/mk/pkgtasks
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2017-08-10 05:37:44 +0000
committerjlam <jlam@pkgsrc.org>2017-08-10 05:37:44 +0000
commit305d1897c80aeac77968512a53ffe399e77269a4 (patch)
tree985c66eeb08e7ecc201b2ca700cdf279a4513c54 /mk/pkgtasks
parent9fa77ed7e82101affafc5e6f25f6d4767e9a04bb (diff)
downloadpkgsrc-305d1897c80aeac77968512a53ffe399e77269a4.tar.gz
mk/pkgtasks: Make the assertion comments more obvious.
Diffstat (limited to 'mk/pkgtasks')
-rw-r--r--mk/pkgtasks/directories.mk6
-rw-r--r--mk/pkgtasks/files.mk12
-rw-r--r--mk/pkgtasks/permissions.mk4
3 files changed, 11 insertions, 11 deletions
diff --git a/mk/pkgtasks/directories.mk b/mk/pkgtasks/directories.mk
index 442e798c68f..de1d42cf099 100644
--- a/mk/pkgtasks/directories.mk
+++ b/mk/pkgtasks/directories.mk
@@ -1,4 +1,4 @@
-# $NetBSD: directories.mk,v 1.2 2017/08/10 05:37:32 jlam Exp $
+# $NetBSD: directories.mk,v 1.3 2017/08/10 05:37:44 jlam Exp $
#
# Copyright (c) 2017 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -95,8 +95,8 @@ _OWN_DIRS_PERMS= ${OWN_DIRS_PERMS:S|^${PREFIX}/||g}
_REQD_DIRS= ${REQD_DIRS:S|^${PREFIX}/||g}
_REQD_DIRS_PERMS= ${REQD_DIRS_PERMS:S|^${PREFIX}/||g}
-# Assert that the variables have the right number of words and
-# that no directory is listed in more than one variable.
+# ASSERT: The variables have the right number of words and that no
+# directory is listed in more than one variable.
#
# _ALL_DIRS.directories
# List of directories named in MAKE_DIRS, OWN_DIRS, REQD_DIRS,
diff --git a/mk/pkgtasks/files.mk b/mk/pkgtasks/files.mk
index dab159075ee..6acc8c16e95 100644
--- a/mk/pkgtasks/files.mk
+++ b/mk/pkgtasks/files.mk
@@ -1,4 +1,4 @@
-# $NetBSD: files.mk,v 1.5 2017/08/10 05:37:32 jlam Exp $
+# $NetBSD: files.mk,v 1.6 2017/08/10 05:37:44 jlam Exp $
#
# Copyright (c) 2017 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -107,8 +107,8 @@ _REQD_FILES_PERMS= ${REQD_FILES_PERMS:S|^${PREFIX}/||g}
__INIT_SCRIPTS= ${_INIT_SCRIPTS:S|^${PREFIX}/||g}
__INIT_SCRIPTS_PERMS= ${_INIT_SCRIPTS_PERMS:S|^${PREFIX}/||g}
-# Assert that the variables have the right number of words and
-# that no target file is listed in more than one variable.
+# ASSERT: The variables have the right number of words and that
+# no target file is listed in more than one variable.
#
_ALL_TARGET_FILES.files= # empty
.for _var_ in CONF_FILES REQD_FILES _INIT_SCRIPTS
@@ -158,9 +158,9 @@ MAKE_DIRS+= ${PKG_SYSCONFDIR}
_ALL_DIRS.directories+= ${PKG_SYSCONFDIR}
.endif
-# Assert that the directories that contain target files are listed in
-# one of the directory variables. This makes use of
-# ${_ALL_DIRS.directories}, which is defined in directories.mk.
+# ASSERT: The directories that contain target files are listed in
+# one of the directory variables. This makes use of
+# ${_ALL_DIRS.directories}, which is defined in directories.mk.
#
.for t in ${_ALL_TARGET_FILES.files:O:u}
_FILEMATCH.${t}= ${_ALL_DIRS.directories:@d@${t:M${d}/*}@}
diff --git a/mk/pkgtasks/permissions.mk b/mk/pkgtasks/permissions.mk
index baa4db984fc..13f71deb130 100644
--- a/mk/pkgtasks/permissions.mk
+++ b/mk/pkgtasks/permissions.mk
@@ -1,4 +1,4 @@
-# $NetBSD: permissions.mk,v 1.1 2017/06/01 02:06:04 jlam Exp $
+# $NetBSD: permissions.mk,v 1.2 2017/08/10 05:37:44 jlam Exp $
#
# Copyright (c) 2017 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -88,7 +88,7 @@ SETGID_GAMES_PERMS?= ${GAMES_USER} ${GAMES_GROUP} ${GAMEMODE}
GAMEDATA_PERMS?= ${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}
GAMEDIR_PERMS?= ${GAMES_USER} ${GAMES_GROUP} ${GAMEDIRMODE}
-# Assert that the variables have the right number of words.
+# ASSERT: The variables have the right number of words.
.for _var_ in SPECIAL_PERMS
. if empty(${_var_}) || empty(${_var_}:C/.*/4/:M*:S/4 4 4 4//gW)
# ${_var_} has a multiple of 4 words.