From aa6e5e8cdc3dd19529d8e4be5dd33625d27ed270 Mon Sep 17 00:00:00 2001 From: Erlend Lind Madsen Date: Fri, 7 Jan 2022 01:20:50 +0100 Subject: [PATCH] Ports: Describe in README that 'depends' is an array The README previously described `depends` as a space-separated string. This is now changed to an array, which seem to be the correct type used in the other Ports. --- Ports/README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Ports/README.md b/Ports/README.md index 8b3e2106c4..5ce147272f 100644 --- a/Ports/README.md +++ b/Ports/README.md @@ -106,7 +106,7 @@ port="foo" version="1.2.3" useconfigure="true" files="https://example.com/foo-${version}.tar.gz foo-${version}.tar.gz" -depends="bar baz" +depends=("bar" "baz") ``` The script in the shebang, [`.port_include.sh`](./.port_include.sh), is where @@ -160,8 +160,14 @@ Defaults to `configure`. #### `depends` -A space-separated list of other SerenityOS ports the port depends on and which -will be installed during the `installdepends` step. +An array of other SerenityOS ports the port depends on and which will be +installed during the `installdepends` step. + +For example: + +```bash +depends=("ncurses" "gettext") +``` #### `files`