tlakh/ports-hints.org
2022-12-02 15:51:07 +01:00

23 lines
784 B
Org Mode
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#+TITLE: ports hints
#+SUBTITLE: Stuff about port building I always forget.
#+DATE: 2014-12-21
See also [[https://man.openbsd.org/bsd.port.mk][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: src_shell[:exports code]{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.