Command Line Overview

seaport

The modern MacPorts portfile updater.

Bumps the version number and checksum of a port

For more information, please visit https://seaport.rtfd.io/

seaport [OPTIONS] COMMAND [ARGS]...

Options

--version

Show the version and exit.

clip

Bumps the version number and checksum of NAME.

It then copies the result to your clipboard.

seaport clip [OPTIONS] NAME

Options

--lint, --no-lint

Runs port lint –nitpick.

--install, --no-install

Installs the port via the updated portfile and allows testing of basic functionality. After this has been completed, the port is uninstalled from the user’s system.

--test, --no-test

Runs port test.

--url <url>

Manually set the url of where to download the new file

--bump <bump>

Manually set the version number to bump it to. By default, it uses the value outputted from the livecheck. This flag can be useful if there’s no livecheck available or if you want to override it.

--write

Writes the updated contents to the user’s portfile, similar to the original port bump.

Arguments

NAME

Required argument

pr

Bumps the version number and checksum of NAME.

It then sends a PR to update it, cloning the macports repo to LOCATION if it doesn’t exist already.

The flags in clip are also valid for this subcommand.

The pull request template is automatically filled in depending on what flags the command was run with (e.g. if –lint was used, this would be noted in the verification section of the template).

seaport pr [OPTIONS] NAME LOCATION

Options

--lint, --no-lint

Runs port lint –nitpick.

--install, --no-install

Installs the port via the updated portfile and allows testing of basic functionality. After this has been completed, the port is uninstalled from the user’s system.

--test, --no-test

Runs port test.

--url <url>

Manually set the url of where to download the new file

--bump <bump>

Manually set the version number to bump it to. By default, it uses the value outputted from the livecheck. This flag can be useful if there’s no livecheck available or if you want to override it.

--write

Writes the updated contents to the user’s portfile, similar to the original port bump.

--new

Send a PR for a new portfile from the local portfile repo.

Arguments

NAME

Required argument

LOCATION

Required argument