freebsd-ports/Mk/Scripts
Mathieu Arnold bd94d2c38d Use UCL for pkg-message
Remain backward compatible but use ucl for the pkg-messages, which allows to:
- append messages one after the other
- only print message on delete, install, upgrade from a version to another

If pkg-message starts with a [ we consider it should be a valid ucl file

The format is the following:
[
{ message: "Always print" },
{ message: "package being removed", type: remove },
{ message: "package being installed", type: install },
{ message: "package is being upgraded", type: upgrade },
{ message: "Upgrading from lower than 1.0", maximum_version: "1.0", type: upgrade },
{ message: "Upgrading from higher than 1.0", minimum_version: "1.0", type: upgrade  },
{ message: "Upgrading from >1.0 < 3.0", maximum_version: "3.0", minimum_version: "1.0",
]

Because it is ucl one can use some sugar like:
[
{ message = <<EOD
formatted
message 'with fancy things'
EOD
},
}

Submitted by:	bapt
Reviewed by:	bapt, mat
Differential Revision:	https://reviews.freebsd.org/D19310
2019-06-03 12:57:44 +00:00
..
actual-package-depends.sh SC2006: Use $(..) instead of legacy ... 2018-06-01 16:20:54 +00:00
cargo-crates.awk
check-desktop-entries.sh Extract desktop-categories, check-desktop-entries, and install-desktop-entries into scripts. 2018-01-28 08:25:06 +00:00
check-stagedir.sh Add share/info/*/dir to those files in STAGEDIR to ignore when checking 2018-11-10 23:55:42 +00:00
check-vulnerable.sh Improve vulnerability checking 2019-05-27 13:02:05 +00:00
check_leftovers.sh Respect UID_FILES. 2019-03-09 18:38:18 +00:00
checksum.sh SC2198: Arrays don't work as operands in [ ]. Use a loop (or concatenate with * instead of @). 2018-06-01 16:20:33 +00:00
create-manifest.sh Use UCL for pkg-message 2019-06-03 12:57:44 +00:00
depends-list.sh SC2046: Quote this to prevent word splitting. 2018-06-08 09:26:20 +00:00
desktop-categories.sh Extract desktop-categories, check-desktop-entries, and install-desktop-entries into scripts. 2018-01-28 08:25:06 +00:00
dialog4ports.sh
do-depends.sh Fix 'make -j'. 2017-12-07 01:51:00 +00:00
do-fetch.sh Remove leftover debugging 2018-02-21 21:26:46 +00:00
do-patch.sh Add support to passing directories to EXTRA_PATCHES. 2018-01-25 09:12:21 +00:00
do-users-groups.sh Remove confusing and obsolete comment, 10.2 support was axed in 2018-01-18 15:42:15 +00:00
find-lib.sh Use full path to file(1) from base as sysutils/file is buggy 2018-10-06 08:19:19 +00:00
functions.sh SC2046: Quote this to prevent word splitting. 2018-06-08 09:26:20 +00:00
generate-symbols.sh SC2162: read without -r will mangle backslashes. 2018-06-08 09:26:34 +00:00
install-desktop-entries.sh Extract desktop-categories, check-desktop-entries, and install-desktop-entries into scripts. 2018-01-28 08:25:06 +00:00
makesum.sh
plist_sub_sed_sort.sh Extract PLIST_SUB substitutions into a sed script. 2018-07-26 11:09:46 +00:00
ports_env.sh
qa.sh Add lang/julia to the blacklist of ports that other ports must not depend upon. 2019-05-28 09:44:05 +00:00
security-check.awk Convert to readelf. 2018-06-30 08:37:33 +00:00
smart_makepatch.sh Have makepatch ignore "C function prototype". 2019-05-20 13:04:03 +00:00