ports hints
Stuff about port building I always forget.

See also bsd.port.mk(5).

Environment variables

FETCH​_PACKAGES

Instruct the package target to download packages missing, only building them if no suitable packages are found. Defaults to No.

For example: make FETCH_PACKAGES=-Dsnap package

Make targets

makesum
Creates the checksum file.
checksum
Checks the upstream distribution tar ball (or other archives) against the checksum file.
extract
Extracts the tar ball.
build, all
Build the port.
fake
Do a fake port installation.
plist
Create / update the plist file.
package
Do all the things to create a package.

Published: 2014-12-21