system. This file is read by the port command and determines how it
behaves. Lines beginning with '#' are comments, empty lines are ignored.
The format is that of a simple key/value space or tab separated pair.
The file contains entries of the form:
<key> <value>
The value of any given key can be referred to by the '${<keyname>}'
abstraction, where <keyname> expands to the key in question.
KEYS
The following keys are used by port itself:
prefix
Sets the directory where ports are installed. Any path may be used
but those with spaces and/or non ascii characters should be avoided,
as this can broke some ports. This key is often referred to as
'${prefix}'.
Default: /opt/local
portdbpath
Directory where DarwinPorts keeps working data as downloaded sources,
installed ports receipts and the main registry. Same path restric-
tions apply as for '${prefix}'.
Default: ${prefix}/var/db/dports
portdbformat
Storage type to use for the DarwinPorts registry. Currently the only
supportted format is "flat".
Default: flat
portinstalltype
Sets the mode in which ports are installed by DarwinPorts. Supported
values are 'direct' or 'image'. The 'direct' mode is often used on
systems that do not support 'image' due to limitations in their
installed version of TCL. In 'direct' more ports are installed
directly into '${prefix}' and only one flavor of a port can be
installed at any given time. In 'image' mode multiple flavors of a
port (i.e., different versions and/or any possible combination of its
variants) can be installed concurrently into '${portdbpath}/soft-
ware/${portname}' and only one can be "activated" onto '${prefix}'
via soft or hard links from the former to the latter.
Default: image
NOTE. Mac OS X 10.2 and Darwin 6.x users should switch to 'direct'
mode to have DarwinPorts working properly on their systems.
x11prefix
Path containing an X11 installation on your system.
Default: /usr/X11R6
installation/reinstallation ease.
Default: yes
portarchivepath
Location where to store/retrieve ports binary archive files from when
archive mode is active.
Default: ${prefix}/var/db/dports/packages
portarchivetype
Colon or comma separated, space free list of supported formats of ar-
chives to create or read from when '${archivemode}' is set to 'yes'.
Use of multiple types will cause archive creation to build all the
specified types in one step. Unarchive uses multiple types as a
search list to locate any existing archive, with the first found
match being used.
Supported types are: tgz, tar, tbz2, xar, zip, cpgz, cpio
Default: tgz
portautoclean
Automatic cleaning of the build directory of a given port after it
has been installed.
Default: yes
rsync_server
Default rsync server to connect to when running "selfupdate" through
the port command to update your entire DarwinPorts installation
(spanning both the Darwinports infrastucture and the dports tree).
Default: rsync.opendarwin.org
rsync_dir
Rsync directory from which to pull the base/ component (infrastruc-
ture) of the DarwinPorts system off of the default rsync server.
Default: dpupdate1/base/ (to pull in the sources from the shipping
"release1" branch off of the OpenDarwin rsync server)
rsync_options
Default rsync options to use when connecting to the rsync server.
Default: -rtzv --delete --delete-after
FILES
~/.portsrc User configuration file for the DarwinPorts system. This
file overrides values listed in the default ${pre-
fix}/etc/port/ports.conf' one.
SEE ALSO
port(1), portfile(7), portgroup(7), portstyle(7) porthier(7),
AUTHORS
Matt Anton <matt@opendarwin.org>
Juan Manuel Palacios <jmpp@opendarwin.org>
BSD August 31, 2005 BSD
Man(1) output converted with
man2html
|