Ticket #22848: macports.conf

File macports.conf, 5.3 KB (added by cerieljacobs@…, 15 years ago)

macports.conf

Line 
1# MacPorts system wide configuration file
2# $Id: macports.conf.in 55280 2009-08-08 02:45:30Z jmr@macports.org $
3
4# Set the directory in which to install ports
5prefix                  /opt/local
6
7# Set the user to run MacPorts compiles, etc as when privileges are dropped during an install
8macportsuser            root
9
10# Where to store MacPorts working data
11portdbpath              /opt/local/var/macports
12
13# Type of storage to use for the port registry information, "flat" or "sqlite"
14# NOTE: sqlite not yet supported.
15portdbformat            flat
16
17# Type of installation to do for ports, "direct" or "image".  See macports.conf(5) and online documentation.
18portinstalltype         image
19
20# PATH settings that are used for external tools (configure, make, etc.) while installing ports. The default
21# paths are given in the example; it need not be uncommented.  Customizing binpath is intended for advanced users only.
22#binpath                /opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
23
24# Directory containing Xcode Tools
25developer_dir       /Developer
26
27# Directory containing Applications from ports.
28applications_dir        /Applications/MacPorts
29
30# Directory containing Frameworks from ports.
31frameworks_dir          /opt/local/Library/Frameworks
32
33# Where to find the sources list.
34sources_conf            /opt/local/etc/macports/sources.conf
35
36# Where to find global variants definition file (optional)
37variants_conf           /opt/local/etc/macports/variants.conf
38
39# Create and use binary archive packages for installation/reinstallation ease
40portarchivemode         no
41
42# Where to store/retrieve ports binary archive files
43portarchivepath         /opt/local/var/macports/packages
44
45# Type of binary archive packages to create when using archive mode
46#
47# Note: Multiple types ARE allowed and must be a colon or comma
48# separated list of choices (NO spaces). Use of multiple types will
49# cause archive creation to build all the specified types in one step.
50# Unarchive uses multiple types as a search list to locate the archive,
51# first archive to match one of the specified types in order is used.
52#
53# Supported types: tgz (default), tar, tbz, tbz2, tlz, txz, xar, zip, cpgz, cpio
54portarchivetype         tgz
55
56# CPU architecture to compile for. Defaults to i386 or ppc on Mac OS X 10.5
57# and earlier, depending on the CPU type detected at runtime. On Mac OS X 10.6
58# the default is x86_64 if the CPU supports it, i386 otherwise.
59#build_arch                     i386
60
61# Use ccache (C/C++ compiler cache) - see http://ccache.samba.org/
62configureccache         no
63
64# Use distcc (distributed compiler) - see http://distcc.samba.org/
65configuredistcc         no
66
67# Use pipes rather than intermediate files when compiling C/C++/etc
68configurepipe           no
69
70# Lowered scheduling priority (0-20) to use for make when building ports
71buildnicevalue          0
72
73# Number of simultaneous make jobs (commands) to use when building ports. This
74# value may be set to 0 so the number of simultaneous make jobs will be set to
75# the number of CPU cores that are automatically detected, or the number of GB
76# of physical memory plus one, whichever is less.
77#buildmakejobs          0
78
79# Set whether to automatically execute "clean" after "install" of ports
80portautoclean           yes
81
82# Rsync server to fetch MacPorts sources from. Note that this is only used
83# for selfupdate. The source(s) for the ports tree are set in sources.conf.
84# Known mirrors at time of writing (see http://trac.macports.org/wiki/Mirrors
85# for the current list):
86#   rsync.macports.org        - California, USA (master)
87#   trd.no.rsync.macports.org - Trondheim, Norway
88rsync_server            rsync.macports.org
89
90# Rsync directory from which to pull the base/ component (infrastructure) of MacPorts
91rsync_dir                       release/base/
92
93# Rsync options
94rsync_options           -rtzv --delete-after
95
96# Options for Universal Binaries (+universal variant)
97
98# machine architectures
99universal_archs         x86_64 i386
100
101# Options for generated startup items
102# startupitem_type may be "default", "systemstarter", "launchd", or "none";
103# if the option is empty or "default" then a startupitem type appropriate
104# to the platform will be chosen. Mac OS X 10.4 Tiger and above will default to
105# launchd, while older Mac OS X systems will default to systemstarter. If
106# option "none" is chosen, port startupitems are ignored and no startupitems
107# are installed.
108startupitem_type        default
109
110# Extra environment variables to keep. Any variables listed here are added
111# to the list of variables that are not removed from the environment used
112# while processing ports
113# extra_env             KEEP_THIS THIS_TOO
114
115# Proxy support
116# Precedence is: env, macports.conf, System Preferences
117# That is, if it's set in the environment, that will be used instead of
118# anything here or in System Preferences.  Setting proxy_override_env to yes
119# will cause any proxies set here (or in System Preferences if set there but
120# not here) to override what's in the environment.
121# Note that System Preferences doesn't have an rsync proxy definition.
122# Also note, on 10.5, sudo will clear many environment variables including
123# those for proxy support.
124# Equivalent envioronment variables: http_proxy, HTTPS_PROXY, FTP_PROXY,
125# RSYNC_PROXY, NO_PROXY
126#
127#proxy_override_env    yes
128# HTTP proxy:
129#proxy_http            hostname:12345
130# HTTPS proxy:
131#proxy_https       hostname:12345
132# FTP proxy:
133#proxy_ftp         hostname:12345
134# rsync proxy:
135#proxy_rsync       hostname:12345
136# hosts not to go through the proxy (comma-separated, applies to HTTP, HTTPS,
137# and FTP, but not rsync):
138#proxy_skip            internal1, internal2, internal3