tlakh/ports-hints.org

23 lines
784 B
Org Mode
Raw Normal View History

2022-12-02 15:51:07 +01:00
#+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.