GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PORTCONFIG(1) FreeBSD General Commands Manual PORTCONFIG(1)

portconfigport options

portconfig [-h | -v]

The portconfig utility provides a TUI to customize the options to build a port. The following options are available:

Display options, a short description and exit.
Show version and exit.

The following user interface features are available:

F1 key
General PORTS usage.
Help button
Specific port help, if pkg-help exists.
Space key
Select/deselect an option.

The following environment variables can customize portconfig:

Disable colors if present and not an empty string (regardless of its value).
Align options to center, default left.
Ascii characters to draw lines.
Force using only 8 bit characters, useful in non-utf-8 environments.
Fullscreen mode.
Fixed height, default autosize.
Minimum height, takes effect only with autosize.
Minimum width, takes effect only with autosize.
Do not draw lines.
Disable dialog shadow.
Load theme file.
Fixed width, default autosize.

See EXAMPLES section below.

The following environment variables are available for compatibility:

D4PALIGNCENTER        PORTCONFIG_ALIGNCENTER
D4PASCIILINES         PORTCONFIG_ASCIILINES
D4PFULLSCREEN         PORTCONFIG_FULLSCREEN
D4PHEIGHT             PORTCONFIG_HEIGHT
D4PMINHEIGHT          PORTCONFIG_MINHEIGHT
D4PWIDTH              PORTCONFIG_WIDTH

The theme file /usr/local/etc/portconfig/theme.conf is read on startup if exists.

Template theme files are installed in /usr/local/etc/portconfig/.

To create a new theme file run:

/usr/local/bin/bsddialog --save-theme mytheme.conf --infobox \ "Saving theme..." 0 0

The theme configuration in order of priority is as follows:

Check Terminal Colors.
portconfig checks if the environments has colors, otherwise sets black and white theme.
If present and not an empty string sets black and white theme.
if <file> exists and is well-formed its theme is set. Otherwise the default theme is set.
/usr/local/etc/portconfig/theme.conf
if the file exists and is well-formed its theme is set. Otherwise the default theme is set.
Otherwise
Default theme file set.

These options are mutually exclusive.

The portconfig utility exits 0 on success, and >0 if an error occurs.

Examples refer to a standard installation with sh(1) and tcsh(1) calling portconfig implicitly via “make config” in /usr/ports/<category>/<port>.

To run portconfig in black and white:

env NO_COLOR=YES make config

Add the following line to make.conf(5) to make this setting permanent:

export NO_COLOR=YES

portoptscli(1), ports(7)

The portconfig utility was written by Alfonso Sabato Siciliano <asiciliano@FreeBSD.org>.


Baptiste Daroussin <bapt@FreeBSD.org> for suggestions, help, and testing.

January 7, 2025 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.