Wed Jan 16 04:43:42 2019 UTC ()
mk/plist/plist.mk: amend MACHINE_ARCH examples in a comment

To avoid potential confusion, amend the example MACHINE_ARCH to what it
really is. While here, fix a rather subtle typo.


(gutteridge)
diff -r1.51 -r1.52 pkgsrc/mk/plist/plist.mk

cvs diff -r1.51 -r1.52 pkgsrc/mk/plist/plist.mk (expand / switch to unified diff)

--- pkgsrc/mk/plist/plist.mk 2018/11/30 18:38:20 1.51
+++ pkgsrc/mk/plist/plist.mk 2019/01/16 04:43:42 1.52
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: plist.mk,v 1.51 2018/11/30 18:38:20 rillig Exp $ 1# $NetBSD: plist.mk,v 1.52 2019/01/16 04:43:42 gutteridge Exp $
2# 2#
3# This Makefile fragment handles the creation of PLISTs for use by 3# This Makefile fragment handles the creation of PLISTs for use by
4# pkg_create(8). 4# pkg_create(8).
5# 5#
6# The following variables affect the PLIST generation: 6# The following variables affect the PLIST generation:
7# 7#
8# PLIST_TYPE specifies whether the generated PLIST is derived 8# PLIST_TYPE specifies whether the generated PLIST is derived
9# automatically from the installed files, or if the PLIST entries 9# automatically from the installed files, or if the PLIST entries
10# are listed in files. Valid values are "dynamic" and "static", 10# are listed in files. Valid values are "dynamic" and "static",
11# and the default value is "static". 11# and the default value is "static".
12# 12#
13# PLIST_VARS is the list of names corresponding to automatic variables 13# PLIST_VARS is the list of names corresponding to automatic variables
14# generated by plist.mk to simplify having conditionally-present 14# generated by plist.mk to simplify having conditionally-present
@@ -18,28 +18,28 @@ @@ -18,28 +18,28 @@
18# with the empty string, or "@comment " otherwise. 18# with the empty string, or "@comment " otherwise.
19# 19#
20# PLIST_AWK_ENV holds the shell environment passed to PLIST_AWK. 20# PLIST_AWK_ENV holds the shell environment passed to PLIST_AWK.
21# 21#
22# PLIST_AWK is the awk script that does post-processing of the PLIST. 22# PLIST_AWK is the awk script that does post-processing of the PLIST.
23# 23#
24# PLIST_SRC is the list of source files from which the PLIST file of 24# PLIST_SRC is the list of source files from which the PLIST file of
25# the binary package will be generated. By default, its value is 25# the binary package will be generated. By default, its value is
26# constructed from the PLIST.* files within the package directory, 26# constructed from the PLIST.* files within the package directory,
27# in the following order (if the files are present): 27# in the following order (if the files are present):
28# 28#
29# PLIST.common 29# PLIST.common
30# PLIST.${OPSYS} (e.g., PLIST.NetBSD) 30# PLIST.${OPSYS} (e.g., PLIST.NetBSD)
31# PLIST.${MACHINE_ARCH} (e.g,, PLIST.macppc) 31# PLIST.${MACHINE_ARCH} (e.g., PLIST.powerpc)
32# PLIST.${OPSYS}-${MACHINE_ARCH} (e.g., PLIST.NetBSD-macppc) 32# PLIST.${OPSYS}-${MACHINE_ARCH} (e.g., PLIST.NetBSD-powerpc)
33# PLIST 33# PLIST
34# PLIST.common_end 34# PLIST.common_end
35# 35#
36# GENERATE_PLIST is a sequence of commands, terminating in a semicolon, 36# GENERATE_PLIST is a sequence of commands, terminating in a semicolon,
37# that outputs contents for a PLIST to stdout and is appended to 37# that outputs contents for a PLIST to stdout and is appended to
38# the contents of ${PLIST_SRC}. 38# the contents of ${PLIST_SRC}.
39# 39#
40# IGNORE_INFO_DIRS is a list of ${PREFIX}-relative paths that do 40# IGNORE_INFO_DIRS is a list of ${PREFIX}-relative paths that do
41# *not* contain info files. 41# *not* contain info files.
42# 42#
43 43
44_VARGROUPS+= plist 44_VARGROUPS+= plist
45_USER_VARS.plist= # none 45_USER_VARS.plist= # none