| 1 | # $Id: macports.conf.in 117120 2014-02-17 00:55:33Z jmr@macports.org $ |
|---|
| 2 | |
|---|
| 3 | # MacPorts system-wide configuration file. |
|---|
| 4 | # Commented-out values are defaults unless otherwise noted. |
|---|
| 5 | |
|---|
| 6 | # Directory under which MacPorts should install ports. This must be |
|---|
| 7 | # where MacPorts itself is installed. |
|---|
| 8 | prefix /opt/mports |
|---|
| 9 | |
|---|
| 10 | # User to run operations as when MacPorts drops privileges. |
|---|
| 11 | #macportsuser macports |
|---|
| 12 | |
|---|
| 13 | # Directory for MacPorts working data. |
|---|
| 14 | portdbpath /opt/mports/var/macports |
|---|
| 15 | |
|---|
| 16 | # Colon-delimited list of directories to search for external tools |
|---|
| 17 | # (make(1), pkg-config(1), etc.). While installing ports, MacPorts uses |
|---|
| 18 | # this list for PATH. Changing this setting is intended for advanced |
|---|
| 19 | # users only and is unsupported. |
|---|
| 20 | #binpath /opt/mports/bin:/opt/mports/sbin:/bin:/sbin:/usr/bin:/usr/sbin |
|---|
| 21 | |
|---|
| 22 | # Directory containing Xcode Tools. By default, MacPorts determines this |
|---|
| 23 | # using xcode-select(1). |
|---|
| 24 | #developer_dir /Applications/Xcode.app/Contents/Developer |
|---|
| 25 | |
|---|
| 26 | # Location of PackageMaker. Defaults to |
|---|
| 27 | # "${developer_dir}/Applications/Utilities/PackageMaker.app" with Xcode |
|---|
| 28 | # 4.2 and earlier and "/Applications/PackageMaker.app" with 4.3 and later. |
|---|
| 29 | #packagemaker_path /Applications/PackageMaker.app |
|---|
| 30 | |
|---|
| 31 | # Directory for application bundles installed by ports. |
|---|
| 32 | applications_dir /Applications/MacPorts |
|---|
| 33 | |
|---|
| 34 | # Directory for frameworks installed by ports. |
|---|
| 35 | frameworks_dir /opt/mports/Library/Frameworks |
|---|
| 36 | |
|---|
| 37 | # Location of the MacPorts sources list. |
|---|
| 38 | sources_conf /opt/mports/etc/macports/sources.conf |
|---|
| 39 | |
|---|
| 40 | # Location of the MacPorts global variants definition file. Optional. |
|---|
| 41 | variants_conf /opt/mports/etc/macports/variants.conf |
|---|
| 42 | |
|---|
| 43 | # When MacPorts should build ports from source. |
|---|
| 44 | # - ifneeded: Download binary archives if available; build from source |
|---|
| 45 | # otherwise. |
|---|
| 46 | # - always: Always build from source; never try fetching archives. |
|---|
| 47 | # - never: Never build from source; try fetching archives and abort if |
|---|
| 48 | # unavailable. |
|---|
| 49 | #buildfromsource ifneeded |
|---|
| 50 | |
|---|
| 51 | # Type of archive to use for port images. Supported types are cpgz, |
|---|
| 52 | # cpio, tar, tbz, tbz2, tgz, tlz, txz, xar, zip. |
|---|
| 53 | #portarchivetype tbz2 |
|---|
| 54 | |
|---|
| 55 | # CPU architecture to target. Supported values are "ppc", "ppc64", |
|---|
| 56 | # "i386", and "x86_64". Defaults to: |
|---|
| 57 | # - OS X 10.5 and earlier: "ppc" on PowerPC, otherwise "i386". |
|---|
| 58 | # - OS X 10.6 and later: "x86_64" on Intel 64, otherwise "i386". |
|---|
| 59 | #build_arch i386 |
|---|
| 60 | |
|---|
| 61 | # Space-delimited list of CPU architectures to target when building |
|---|
| 62 | # universal. Defaults to "i386 ppc" on OS X 10.5 and earlier and |
|---|
| 63 | # "x86_64 i386" on OS X 10.6 and later. |
|---|
| 64 | universal_archs x86_64 i386 |
|---|
| 65 | |
|---|
| 66 | # Use ccache, a compiler cache for C, C++, Objective-C, and |
|---|
| 67 | # Objective-C++. (See http://ccache.samba.org.) The "ccache" executable |
|---|
| 68 | # must exist in one of the directories in binpath. |
|---|
| 69 | #configureccache no |
|---|
| 70 | |
|---|
| 71 | # Directory for ccache's cached compiler output. |
|---|
| 72 | #ccache_dir /opt/mports/var/macports/build/.ccache |
|---|
| 73 | |
|---|
| 74 | # Maximum size of files stored in ccache's cache. Append "G", "M", or |
|---|
| 75 | # "K" for gigabytes, megabytes, or kilobytes. |
|---|
| 76 | #ccache_size 2G |
|---|
| 77 | |
|---|
| 78 | # Use distcc, a distributed compiler for C, C++, Objective-C, and |
|---|
| 79 | # Objective-C++. (See http://distcc.org.) The "distcc" executable must |
|---|
| 80 | # exist in one of the directories in binpath. |
|---|
| 81 | #configuredistcc no |
|---|
| 82 | |
|---|
| 83 | # Use pipes rather than temporary files for communication between the |
|---|
| 84 | # various stages of C, C++, Objective-C, and Objective-C++ compilation. |
|---|
| 85 | #configurepipe yes |
|---|
| 86 | |
|---|
| 87 | # Lowered scheduling priority to use for commands run during configure, |
|---|
| 88 | # build, and destroot. Accepted values are 0 (normal priority) through |
|---|
| 89 | # 20 (lowest priority). |
|---|
| 90 | #buildnicevalue 0 |
|---|
| 91 | |
|---|
| 92 | # Number of simultaneous make(1) jobs to use when building ports. If set |
|---|
| 93 | # to 0, the number of jobs will be the lesser of: |
|---|
| 94 | # - number of automatically-detected CPU cores |
|---|
| 95 | # - gigabytes of physical memory + 1 |
|---|
| 96 | #buildmakejobs 0 |
|---|
| 97 | |
|---|
| 98 | # umask value to use when a port installs its files. |
|---|
| 99 | #destroot_umask 022 |
|---|
| 100 | |
|---|
| 101 | # Automatically execute "clean" after "install" of ports. |
|---|
| 102 | #portautoclean yes |
|---|
| 103 | |
|---|
| 104 | # Keep logs after successful installations. |
|---|
| 105 | #keeplogs no |
|---|
| 106 | |
|---|
| 107 | # The rsync server for fetching MacPorts base during selfupdate. This |
|---|
| 108 | # setting is NOT used when downloading the ports tree; the sources for |
|---|
| 109 | # the ports tree are set in sources.conf. See |
|---|
| 110 | # https://trac.macports.org/wiki/Mirrors#MacPortsSource for a list of |
|---|
| 111 | # available servers. |
|---|
| 112 | #rsync_server rsync.macports.org |
|---|
| 113 | |
|---|
| 114 | # Location of MacPorts base sources on rsync_server. If this references |
|---|
| 115 | # a .tar file, a signed .rmd160 file must exist in the same directory |
|---|
| 116 | # and will be used to verify its integrity. See |
|---|
| 117 | # https://trac.macports.org/wiki/Mirrors#MacPortsSource to find the |
|---|
| 118 | # correct rsync_dir for a particular rsync_server. |
|---|
| 119 | #rsync_dir release/tarballs/base.tar |
|---|
| 120 | |
|---|
| 121 | # Options to pass to rsync when fetching MacPorts base and the ports tree. |
|---|
| 122 | #rsync_options -rtzv --delete-after |
|---|
| 123 | |
|---|
| 124 | # Type of generated StartupItems. |
|---|
| 125 | # - launchd: Create StartupItems for use with launchd. |
|---|
| 126 | # - systemstarter: Create StartupItems for use with SystemStarter. |
|---|
| 127 | # - rcng: Create StartupItems for use with the rc.d system. |
|---|
| 128 | # - default: Create StartupItems for launchd on OS X and for rc.d on |
|---|
| 129 | # other platforms. |
|---|
| 130 | # - none: Disable creation of StartupItems. |
|---|
| 131 | #startupitem_type default |
|---|
| 132 | |
|---|
| 133 | # Create system-level symlinks to generated StartupItems. If set to |
|---|
| 134 | # "no", symlinks will not be created; otherwise, symlinks will be placed |
|---|
| 135 | # in /Library/LaunchDaemons or /Library/LaunchAgents as appropriate. |
|---|
| 136 | #startupitem_install yes |
|---|
| 137 | |
|---|
| 138 | # Extra environment variables to keep. MacPorts sanitizes its |
|---|
| 139 | # environment while processing ports, keeping: |
|---|
| 140 | # - DISPLAY |
|---|
| 141 | # - DYLD_FALLBACK_FRAMEWORK_PATH, DYLD_FALLBACK_LIBRARY_PATH, |
|---|
| 142 | # DYLD_FRAMEWORK_PATH, DYLD_INSERT_LIBRARIES, DYLD_LIBRARY_PATH |
|---|
| 143 | # - JAVA_HOME |
|---|
| 144 | # - ARCHIVE_SITE_LOCAL, MASTER_SITE_LOCAL, PATCH_SITE_LOCAL |
|---|
| 145 | # - PORTSRC |
|---|
| 146 | # - ALL_PROXY, FTP_PROXY, http_proxy, HTTPS_PROXY, NO_PROXY, RSYNC_PROXY |
|---|
| 147 | # - GROUP, USER |
|---|
| 148 | # - COLUMNS, LINES |
|---|
| 149 | # Variables listed in extra_env are added to this list. This has no |
|---|
| 150 | # default value; setting it is intended for advanced users and is |
|---|
| 151 | # unsupported. (Note that sudo(8) sanitizes its environment on OS X 10.5 |
|---|
| 152 | # and later, so it may have to be configured to pass the desired |
|---|
| 153 | # variables to MacPorts.) |
|---|
| 154 | #extra_env KEEP_THIS THIS_TOO |
|---|
| 155 | |
|---|
| 156 | # Override proxy-related environment variables. By default, MacPorts |
|---|
| 157 | # takes proxy settings from the environment, from the proxy_* options |
|---|
| 158 | # below, and from Network Preferences, in that order. If this is set to |
|---|
| 159 | # "yes", MacPorts uses proxy_*, then Network Preferences, then the |
|---|
| 160 | # environment. (Note that Network Preferences does not have a setting |
|---|
| 161 | # for rsync proxies. Also note that sudo(8) sanitizes its environment on |
|---|
| 162 | # OS X 10.5 and later, so it may have to be configured to pass desired |
|---|
| 163 | # variables to MacPorts.) |
|---|
| 164 | #proxy_override_env no |
|---|
| 165 | |
|---|
| 166 | # Proxies. These have no default values. The analogous environment |
|---|
| 167 | # variables are "http_proxy", "HTTPS_PROXY", "FTP_PROXY", and |
|---|
| 168 | # "RSYNC_PROXY". |
|---|
| 169 | #proxy_http proxy1:12345 |
|---|
| 170 | #proxy_https proxy2:67890 |
|---|
| 171 | #proxy_ftp proxy3:02139 |
|---|
| 172 | #proxy_rsync proxy4:11377 |
|---|
| 173 | |
|---|
| 174 | # Comma-delimited list of hosts that MacPorts should not access through |
|---|
| 175 | # the HTTP, HTTPS, and FTP proxies. This does not apply to rsync, and it |
|---|
| 176 | # has no default value. |
|---|
| 177 | #proxy_skip host1, host2, host3 |
|---|
| 178 | |
|---|
| 179 | # Space-delimited lists of download hosts that MacPorts should not use |
|---|
| 180 | # and that MacPorts should prefer, respectively, overriding the usual |
|---|
| 181 | # ping time checks. These have no default values. |
|---|
| 182 | #host_blacklist badhost1 badhost2 |
|---|
| 183 | #preferred_hosts preferredhost1 preferredhost2 |
|---|
| 184 | |
|---|
| 185 | # Whether MacPorts should automatically run rev-upgrade after upgrading |
|---|
| 186 | # ports. |
|---|
| 187 | #revupgrade_autorun yes |
|---|
| 188 | |
|---|
| 189 | # Whether rev-upgrade should automatically rebuild ports with broken |
|---|
| 190 | # linking or merely report the breakage. Supported values are "report" |
|---|
| 191 | # and "rebuild". |
|---|
| 192 | #revupgrade_mode rebuild |
|---|
| 193 | |
|---|
| 194 | # Space-delimited list of files and directories to delete after the |
|---|
| 195 | # unarchive stage and before creating a pkg. Paths are interpreted |
|---|
| 196 | # relative to prefix, and there is no default value. This is useful for |
|---|
| 197 | # removing unnecessary files and directories prior to pkg or mpkg |
|---|
| 198 | # deployment. |
|---|
| 199 | #pkg_post_unarchive_deletions include share/doc share/man |
|---|