Ignore:
Timestamp:
Jun 21, 2013, 7:46:52 PM (7 years ago)
Author:
snc@…
Message:

gsoc11-statistics/base: rebase /trunk/base

Location:
branches/gsoc11-statistics/base
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • branches/gsoc11-statistics/base

  • branches/gsoc11-statistics/base/doc/archive_sites.conf

    r105085 r107206  
    1 # Configuration for (binary) archive sources.
    21# $Id$
    32
    4 # Each entry is started by a name line. The only required values are name and
    5 # urls. Other fields are type, prefix, applications_dir and frameworks_dir,
    6 # which have the usual default values:
    7 #    type tbz2
    8 #    prefix /opt/local
    9 #    applications_dir /Applications/MacPorts
    10 #    frameworks_dir ${prefix}/Library/Frameworks
     3# MacPorts configuration file for binary archive sources.
     4
     5# Each source entry consists of one or more fields.
    116#
    12 # type can be any of: tgz, tar, tbz, tbz2, tlz, txz, xar, zip, cpgz, cpio
    13 # Note that some types require a corresponding tool to be installed, and
    14 # entries with an unsupported type will not be used.
     7#   name: A name for the archive source. This field always starts a new
     8#       entry. Required.
     9#
     10#   urls: A space- or tab-delimited list of the source's URLs. Defaults
     11#       to an empty list.
     12#
     13#   type: The filetype of the archives; valid values are "cpgz", "cpio",
     14#       "tar", "tbz", "tbz2", "tgz", "tlz", "txz", "xar", and "zip".
     15#       MacPorts handles each archive type with an appropriate external
     16#       executable; if it cannot find such an executable, or if the
     17#       specified type is invalid, the source is not used. Defaults to
     18#       "tbz2".
     19#
     20#   prefix: The prefix of the MacPorts installation used to create the
     21#       source's archives. This must match the value of "prefix" set in
     22#       macports.conf, or the source is not used. Defaults to
     23#       "/opt/local".
     24#
     25#   applications_dir: The applications directory of the MacPorts
     26#       installation used to create the source's archives. This must
     27#       match the value of "applications_dir" set in macports.conf, or
     28#       the source is not used. Defaults to "/Applications/MacPorts".
     29#
     30#   frameworks_dir: The frameworks directory of the MacPorts
     31#       installation used to create the source's archives. This must
     32#       match the value of "frameworks_dir" set in macports.conf, or the
     33#       source is not used. Defaults to "[prefix]/Library/Frameworks".
    1534
    16 # Example:
    17 #name                mysource
    18 #urls                http://example.com/ ftp://ftp.example.org/
    19 #type                tbz2
    20 #prefix              /opt/mysource
    21 #applications_dir    /opt/mysource/Applications
    22 #frameworks_dir      /opt/mysource/Library/Frameworks
     35# Example source:
     36#name                   My Source
     37#urls                   http://example.com/ ftp://ftp.example.com/packages/
     38#type                   zip
     39#prefix                 /opt/mysource
     40#applications_dir       /opt/mysource/Applications
    2341
    24 # If you want to disable use of the archive sites listed in the ports tree,
    25 # you could do this:
    26 #name                macports_archives
    27 #urls
     42# To disable the default archive source, uncomment the following dummy
     43# entry; it will shadow the one from the ports tree.
     44#name                   macports_archives
  • branches/gsoc11-statistics/base/doc/exampleport/Portfile

    r28671 r107206  
    88# where version is the version of the ports system your port relies upon.
    99# This can NOT be commented out.
    10 PortSystem 1.0
     10PortSystem          1.0
    1111
    1212# The name of the port
    13 name            glib2
     13name                glib2
    1414
    1515# Its version information
    16 version       2.12.11
     16version             2.12.11
    1717
    1818# Supported and tested platforms
    19 platforms       darwin
     19platforms           darwin
    2020
    2121# Categories and identifying keywords
    22 categories      devel
     22categories          devel
    2323
    2424# Email address(es) of the port's Maintainer(s)
    25 maintainers     ryandesign@macports.org
     25maintainers ryandesign@macports.org
    2626
    2727# A short description of this port
    28 description     Library with data structure functions and other constructs
     28description         Library with data structure functions and other constructs
    2929
    3030# A long description, with more details
    31 long_description      Glib is a library which includes support routines for \
    32                       C, such as lists, trees, hashes, memory allocation, and \
    33                       many other things.
     31long_description    Glib is a library which includes support routines for \
     32                    C, such as lists, trees, hashes, memory allocation, and \
     33                    many other things.
    3434
    3535# Homepage for the port:
    36 homepage        http://www.gtk.org/
     36homepage            http://www.gtk.org/
    3737
    3838# Master download sites for port's distribution file(s)
    39 master_sites    ftp://ftp.gtk.org/pub/glib/2.12 \
    40                 gnome:sources/glib/2.12
     39master_sites        ftp://ftp.gtk.org/pub/glib/2.12 \
     40                    gnome:sources/glib/2.12
    4141
    4242# Name of the distribution file, minus extract suffix (see below)
    43 distname        glib-${version}
     43distname            glib-${version}
    4444
    4545# (Optional) Explicitly set suffix (default: .tar.gz)
    46 #extract.suffix .tar.bz2
     46#extract.suffix      .tar.bz2
    4747
    4848# (Optional) Use bzip2 instead of gzip for uncompressing distribution file
    49 use_bzip2       yes
     49use_bzip2           yes
    5050
    5151# List of checksums for files to be fetched
    5252# <file name> <checksum type> <checksum>
    53 checksums       ${distname}${extract.suffix} md5 077a9917b673a9a0bc63f351786dde24 \
    54                 ${distname}${extract.suffix} sha1 02d344295ddaeafeec6bc6824b71e12bbf1b0394 \
    55                 ${distname}${extract.suffix} rmd160 8680d27e630643e6653d88537907d06e3ba6e91a
     53checksums   ${distname}${extract.suffix} md5 077a9917b673a9a0bc63f351786dde24 \
     54        ${distname}${extract.suffix} sha1 02d344295ddaeafeec6bc6824b71e12bbf1b0394 \
     55        ${distname}${extract.suffix} rmd160 8680d27e630643e6653d88537907d06e3ba6e91a
    5656
    5757# Any patches which should be applied after extracting this port.  These
    58 
    5958# should go in the files/ subdirectory of the port.
    60 patchfiles      patch-glib-2.0.pc.in patch-glib__gutils.c
     59patchfiles          patch-glib-2.0.pc.in \
     60                    patch-glib__gutils.c
    6161
    6262# Dependencies are defined by three settings:
    63 #    depends_lib:       installed at build time and at install time
    64 #    depends_run:       installed at install time
    65 #    depends_build:     installed at build time
     63#    depends_lib:   installed at build time and at install time
     64#    depends_run:   installed at install time
     65#    depends_build: installed at build time
    6666#
    6767#    These options accept a list of depspecs. Depspecs are ':' delimited three
    6868#    value lists of type:match:portname. The following types are supported:
    6969#
    70 #       lib     - The lib type requires the match argument in the
    71 #                   format <libraryname>.<major version>
    72 #       bin     - The bin type requires the match argument to be the full
    73 #                   executable name
    74 #       <path>  - If a full path is specified as the type, the math argument
    75 #                   must be a complete regexp.
    76 #       portname must be the name of a valid port to build and install
    77 #       if the depspec is not matched.
    78 #       An alternative dependency depspec is the port:<portname> syntax,
    79 #       used when you want to insure the given dependency is satisfied
    80 #       exclusively by MacPorts.
    81 depends_build       port:pkgconfig
    82 depends_lib         port:gettext
     70#   lib - The lib type requires the match argument in the
     71#           format <libraryname>.<major version>
     72#   bin - The bin type requires the match argument to be the full
     73#           executable name
     74#   <path>  - If a full path is specified as the type, the math argument
     75#           must be a complete regexp.
     76#   portname must be the name of a valid port to build and install
     77#   if the depspec is not matched.
     78#   An alternative dependency depspec is the port:<portname> syntax,
     79#   used when you want to insure the given dependency is satisfied
     80#   exclusively by MacPorts.
     81depends_build       port:pkgconfig
     82depends_lib         port:gettext
    8383
    8484# The type of configuration script this port uses.
    85 #configure.type     gnu
     85#configure.type      gnu
    8686
    8787# A list of configuration time arguments you might want to pass to the configure script:
    88 configure.args   --mandir=${prefix}/share/man
     88configure.args      --mandir=${prefix}/share/man
    8989
    9090# The directory name of the subdirectory of work/ where this port extracts
    91 #worksrcdir     glib
     91#worksrcdir          glib
    9292
    9393# Alternative ways to build the port, packed as 'variants'
  • branches/gsoc11-statistics/base/doc/macports.conf.in

    r105577 r107206  
    1 # MacPorts system wide configuration file
    21# $Id$
    32
    4 # Set the directory in which to install ports. Must match where MacPorts itself is installed.
    5 prefix                  @prefix_expanded@
    6 
    7 # Set the user to run MacPorts compiles, etc as when privileges are dropped during an install
    8 #macportsuser           @RUNUSR@
    9 
    10 # Where to store MacPorts working data
    11 portdbpath              @localstatedir_expanded@/macports
    12 
    13 # PATH settings that are used for external tools (configure, make, etc.) while
    14 # installing ports. The default paths are given in the example; it need not be
    15 # uncommented.  Customizing binpath is unsupported and is intended for
    16 # advanced users only.
    17 #binpath                @prefix_expanded@/bin:@prefix_expanded@/sbin:/bin:/sbin:/usr/bin:/usr/sbin
    18 
    19 # Directory containing Xcode Tools (default is to ask xcode-select)
    20 #developer_dir          @DEVELOPER_DIR@
    21 
    22 # Path to PackageMaker.app
    23 # It may be necessary to set this with Xcode >= 4.3, as that version
    24 # requires PackageMaker to be installed manually from the Auxiliary Tools for
    25 # Xcode disk image. The default is /Applications/PackageMaker.app with Xcode
    26 # 4.3 and ${developer_dir}/Applications/Utilities/PackageMaker.app with older
    27 # versions.
    28 #packagemaker_path /Applications/PackageMaker.app
    29 
    30 # Directory containing Applications from ports.
    31 applications_dir        @MPAPPLICATIONSDIR@
    32 
    33 # Directory containing Frameworks from ports.
    34 frameworks_dir          @MPFRAMEWORKSDIR@
    35 
    36 # Where to find the sources list.
    37 sources_conf            @MPCONFIGDIR_EXPANDED@/sources.conf
    38 
    39 # Where to find global variants definition file (optional)
    40 variants_conf           @MPCONFIGDIR_EXPANDED@/variants.conf
    41 
    42 # When to build ports from source. Default is 'ifneeded', which downloads an
    43 # archive if available or builds from source otherwise. 'always' has the same
    44 # effect as -s on the command line, and 'never' is likewise the same as -b.
    45 #buildfromsource        ifneeded
    46 
    47 # Type of archives to use for port images
    48 #
    49 # Supported types: tgz, tar, tbz, tbz2 (default), tlz, txz, xar, zip, cpgz, cpio
    50 #portarchivetype        tbz2
    51 
    52 # CPU architecture to compile for. Defaults to i386 or ppc on Mac OS X 10.5
    53 # and earlier, depending on the CPU type detected at runtime. On Mac OS X 10.6
    54 # the default is x86_64 if the CPU supports it, i386 otherwise.
    55 #build_arch             i386
    56 
    57 # CPU architectures to use for Universal Binaries (+universal variant)
    58 universal_archs         @UNIVERSAL_ARCHS@
    59 
    60 # Use ccache (C/C++ compiler cache) - see http://ccache.samba.org/
    61 #configureccache        no
    62 
    63 # Location where ccache stores its files
    64 #ccache_dir             @localstatedir_expanded@/macports/build/.ccache
    65 
    66 # Maximum size ccache may use.
    67 # Use 'G', 'M', or 'K' suffix for giga-, mega- or kilobytes.
    68 #ccache_size            2G
    69 
    70 # Use distcc (distributed compiler) - see http://distcc.samba.org/
    71 #configuredistcc        no
    72 
    73 # Use pipes rather than intermediate files when compiling C/C++/etc
    74 #configurepipe          yes
    75 
    76 # Lowered scheduling priority (0-20) to use for make when building ports
    77 #buildnicevalue         0
    78 
    79 # Number of simultaneous make jobs (commands) to use when building ports. This
    80 # value may be set to 0 so the number of simultaneous make jobs will be set to
    81 # the number of CPU cores that are automatically detected, or the number of GB
    82 # of physical memory plus one, whichever is less.
    83 #buildmakejobs          0
    84 
    85 # umask value to use when a port installs its files
    86 #destroot_umask         022
    87 
    88 # Set whether to automatically execute "clean" after "install" of ports
    89 #portautoclean          yes
    90 
    91 # Set to yes if you don't want logs to be deleted after successful builds
    92 #keeplogs               no
    93 
    94 # Rsync server to fetch MacPorts sources from. Note that this is only used
    95 # for selfupdate. The source(s) for the ports tree are set in sources.conf.
    96 # Known mirrors at time of writing (see https://trac.macports.org/wiki/Mirrors
    97 # for the current list):
    98 #   rsync.macports.org        - California, USA (master)
    99 #   trd.no.rsync.macports.org - Trondheim, Norway
    100 #rsync_server           rsync.macports.org
    101 
    102 # Rsync directory from which to pull the base/ component (infrastructure) of MacPorts
    103 # If this points to a .tar file, a signed .rmd160 must exist next to it
    104 # on the server and will be used to verify its integrity.
    105 #rsync_dir              release/tarballs/base.tar
    106 
    107 # Rsync options
    108 #rsync_options          -rtzv --delete-after
    109 
    110 # Options for generated startup items
    111 # startupitem_type may be "default", "systemstarter", "launchd", or "none";
    112 # if the option is empty or "default" then a startupitem type appropriate
    113 # to the platform will be chosen. Mac OS X 10.4 Tiger and above will default to
    114 # launchd, while older Mac OS X systems will default to systemstarter. If
    115 # option "none" is chosen, port startupitems are ignored and no startupitems
    116 # are installed.
    117 #startupitem_type       default
    118 
    119 # Option to install symlinks into /Library/LaunchAgents or /Library/LaunchDaemons
    120 # startupitem_install may be empty, "yes" or "no";
    121 # if the option is NOT "no" then a symlink for the startupitem will be created in
    122 # the appropriate system directory.
     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.
     8prefix                  @prefix_expanded@
     9
     10# User to run operations as when MacPorts drops privileges.
     11#macportsuser           @RUNUSR@
     12
     13# Directory for MacPorts working data.
     14portdbpath              @localstatedir_expanded@/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                @prefix_expanded@/bin:@prefix_expanded@/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          @DEVELOPER_DIR@
     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.
     32applications_dir        @MPAPPLICATIONSDIR@
     33
     34# Directory for frameworks installed by ports.
     35frameworks_dir          @MPFRAMEWORKSDIR@
     36
     37# Location of the MacPorts sources list.
     38sources_conf            @MPCONFIGDIR_EXPANDED@/sources.conf
     39
     40# Location of the MacPorts global variants definition file. Optional.
     41variants_conf           @MPCONFIGDIR_EXPANDED@/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# "x64_64 i386" on OS X 10.6 and later.
     64universal_archs         @UNIVERSAL_ARCHS@
     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             @localstatedir_expanded@/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.
    123136#startupitem_install    yes
    124137
    125 # Extra environment variables to keep. Any variables listed here are added
    126 # to the list of variables that are not removed from the environment used
    127 # while processing ports. As with binpath, setting extra_env is intended for
    128 # advanced users and is unsupported.
    129 # extra_env             KEEP_THIS THIS_TOO
    130 
    131 # Proxy support
    132 # Precedence is: env, macports.conf, System Preferences
    133 # That is, if it's set in the environment, that will be used instead of
    134 # anything here or in System Preferences.  Setting proxy_override_env to yes
    135 # will cause any proxies set here (or in System Preferences if set there but
    136 # not here) to override what's in the environment.
    137 # Note that System Preferences doesn't have an rsync proxy definition.
    138 # Also note, on 10.5, sudo will clear many environment variables including
    139 # those for proxy support.
    140 # Equivalent environment variables: http_proxy, HTTPS_PROXY, FTP_PROXY,
    141 # RSYNC_PROXY, NO_PROXY
    142 #
    143 #proxy_override_env     yes
    144 # HTTP proxy:
    145 #proxy_http             hostname:12345
    146 # HTTPS proxy:
    147 #proxy_https            hostname:12345
    148 # FTP proxy:
    149 #proxy_ftp              hostname:12345
    150 # rsync proxy:
    151 #proxy_rsync            hostname:12345
    152 # hosts not to go through the proxy (comma-separated, applies to HTTP, HTTPS,
    153 # and FTP, but not rsync):
    154 #proxy_skip            internal1, internal2, internal3
     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
    155165
    156166# Options for MacPorts usage statistics collection
     
    165175stats_id        @STATS_UUID@
    166176
    167 # Options 'host_blacklist' and 'preferred_hosts', used for indicating
    168 # space separated lists of download hosts that should not be used or
    169 # should be used preferentially, respectively. These override the usual
    170 # ping time check.
    171 #host_blacklist     badhost1.org badhost2.org
    172 #preferred_hosts    preferredhost1.org preferredhost2.org
    173 
    174 # Set whether to automatically run rev-upgrade after upgrading ports
    175 #revupgrade_autorun yes
    176 # Option controlling action taken by rev-upgrade, which checks for broken
    177 # linking and can rebuild affected ports. Possible values are
    178 #'rebuild' (default) or 'report'.
    179 #revupgrade_mode        rebuild
    180 
    181 # When creating a pkg, specify the files and/or directories in
    182 # ${prefix} to delete after the unarchive stage and before the
    183 # pkg is created.  If not set, nothing is deleted.
    184 #
    185 # Because mpkg's are built from pkg's, any mpkg's will also have
    186 # the specified files and/or directories omitted.
    187 #
    188 # For example
    189 #
    190 #   pkg_post_unarchive_deletions include share/doc share/man
    191 #
    192 # will delete ${prefix}/include, ${prefix}/share/doc and
    193 # ${prefix}/share/man.
    194 #
    195 # This feature is useful when one wants to shrink the size of the
    196 # pkg's and mpkg's for deployment to Macs that will not be used
    197 # for development.  One large mpkg was observed to shrink from
    198 # 504 MB to 271 MB.
    199 #
    200 #pkg_post_unarchive_deletions include share/doc share/man
     177# Proxies. These have no default values. The analagous environment
     178# variables are "http_proxy", "HTTPS_PROXY", "FTP_PROXY", and
     179# "RSYNC_PROXY".
     180#proxy_http             proxy1:12345
     181#proxy_https            proxy2:67890
     182#proxy_ftp              proxy3:02139
     183#proxy_rsync            proxy4:11377
     184
     185# Comma-delimited list of hosts that MacPorts should not access through
     186# the HTTP, HTTPS, and FTP proxies. This does not apply to rsync, and it
     187# has no default value.
     188#proxy_skip             host1, host2, host3
     189
     190# Space-delimited lists of download hosts that MacPorts should not use
     191# and that MacPorts should prefer, respectively, overriding the usual
     192# ping time checks. These have no default values.
     193#host_blacklist         badhost1 badhost2
     194#preferred_hosts        preferredhost1 preferredhost2
     195
     196# Whether MacPorts should automatically run rev-upgrade after upgrading
     197# ports.
     198#revupgrade_autorun     yes
     199
     200# Whether rev-upgrade should automatically rebuild ports with broken
     201# linking or merely report the breakage. Supported values are "report"
     202# and "rebuild".
     203#revupgrade_mode        rebuild
     204
     205# Space-delimited list of files and directories to delete after the
     206# unarchive stage and before creating a pkg. Paths are interpreted
     207# relative to prefix, and there is no default value. This is useful for
     208# removing unnecessary files and directories prior to pkg or mpkg
     209# deployment.
     210#pkg_post_unarchive_deletions   include share/doc share/man
  • branches/gsoc11-statistics/base/doc/port.1

    r105085 r107206  
    523523To remove the distribution files (tarballs, etc), specify
    524524.Fl -dist .
    525 To remove the work files, distribution files and logs, pass
     525To remove any archives of a port that remain in the temporary download directory, pass
     526.Fl -archive .
     527(This does not remove archives from the installed location.)
     528To remove the log files for a port, pass
     529.Fl -logs .
     530To remove the work files, distribution files, temporary archives and logs, pass
    526531.Fl -all .
    527 To remove log files for certain port, pass
    528 .Fl -logs .
    529532For example:
    530533.Pp
     
    532535.Dl "port clean --logs vim"
    533536.Pp
     537To remove only certain version(s) of a port's temporary archives (
     538.Ar version
     539is any valid UNIX glob pattern), you can use:
     540.Pp
     541.Dl "port clean --archive vim 6.2.114"
     542.Pp
     543or:
     544.Pp
     545.Dl "port clean --archive vim '6.*'"
    534546.Ss log
    535547Parses and shows log files for
  • branches/gsoc11-statistics/base/doc/pubkeys.conf.in

    r68996 r107206  
    1 # Downloaded archives will only be used if they can be verified by a public
    2 # key listed here. Use full paths, one per line.
     1# $Id$
     2
     3# MacPorts system-wide public key configuration file.
     4
     5# Downloaded archives will only be used if they can be verified by one
     6# of the public keys listed here. Use absolute paths, one per line.
    37
    48@prefix_expanded@/share/macports/macports-pubkey.pem
    59
    6 # To distribute archives of your own, you need a key pair generated like so:
    7 # openssl genrsa -des3 -out privkey.pem 2048
    8 # openssl rsa -in privkey.pem -pubout -out pubkey.pem
    9 # Then sign the archives like this:
    10 # openssl dgst -ripemd160 -sign privkey.pem -out archive.tbz2.rmd160 archive.tbz2
     10# To distribute archives of your own, generate a key pair:
     11#   openssl genrsa -des3 -out privkey.pem 2048
     12#   openssl rsa -in privkey.pem -pubout -out pubkey.pem
     13#
     14# And sign the archives:
     15#   openssl dgst -ripemd160 -sign privkey.pem -out archive.tbz2.rmd160 archive.tbz2
  • branches/gsoc11-statistics/base/doc/sources.conf

    r79672 r107206  
    1 #  MacPorts system wide sources configuration file
    2 #  $Id$
     1# $Id$
    32
    4 #  To setup a local ports repository, insert a "file://" entry following
    5 #  the example below that points to your local ports directory:
    6 #  Example: file:///Users/landonf/misc/MacPorts/ports
     3# MacPorts system-wide configuration file for ports tree sources.
     4#
     5# To change how MacPorts fetches base, see rsync_server and rsync_dir in
     6# macports.conf.
    77
    8 #  The default MacPorts repository should always be tagged [default]
    9 #  for proper functionality of various resources (port groups, mirror
    10 #  sites, etc).  If you switch it from the rsync:// URL, be sure to keep
    11 #  it tagged [default].
     8# To add a local source, add a "file://" entry.
     9#
     10#   Example: file:///Users/landonf/misc/MacPorts/ports
     11#
     12# To prevent a source from synchronizing when `port sync` is used,
     13# append "[nosync]" at the end.
     14#
     15#   Example: file:///Users/landonf/misc/MacPorts/ports [nosync]
     16#
     17# Note that MacPorts parses source URLs in order; when a port appears in
     18# multiple sources, it installs the first occurrence. For local sources
     19# to shadow remote ones, "file://" URLs must come before other URLs.
    1220
    13 #  To prevent a source from synchronizing when `port sync` is used,
    14 #  append [nosync] at the end as shown in this example:
    15 #  Example: file:///Users/landonf/misc/MacPorts/ports [nosync]
    16 
    17 #  NOTE: The port command parses source URLs in order and installs the
    18 #        first occurrance when a port appears in multiple repositories.
    19 #        So keep "file://" URLs above other URL types.
    20 
    21 
    22 #  To get the ports tree from the master MacPorts server in California, USA use:
    23 #      rsync://rsync.macports.org/release/ports/
    24 #  To get it from the mirror in Trondheim, Norway use:
    25 #      rsync://trd.no.rsync.macports.org/release/ports/
    26 #  A current list of mirrors is available at https://trac.macports.org/wiki/Mirrors
    27 
    28 # If an rsync URL points to a .tar file, a signed .rmd160 must exist next to
    29 # it on the server and will be used to verify its integrity.
     21# A list of rsync mirrors is available at
     22# https://trac.macports.org/wiki/Mirrors#Portfiles.
     23#
     24# If an "rsync://" URL points to a .tar file, a signed .rmd160 file must
     25# exist in the same directory on the server and will be used to verify
     26# its integrity.
     27#
     28# For proper functionality of various resources (port groups, mirror
     29# sites, etc.), the primary MacPorts source must always be tagged
     30# "[default]", even if switched from the default "rsync://" URL.
    3031
    3132rsync://rsync.macports.org/release/tarballs/ports.tar [default]
  • branches/gsoc11-statistics/base/doc/variants.conf

    r63004 r107206  
    1 # To specify global variants to use for all port builds,
    2 # customize this file to list variant settings you want.
     1# $Id$
     2
     3# MacPorts system-wide global variants configuration file.
     4
     5# Any variants listed here are applied to all port builds. As on the
     6# command line, variants may be either enabled (+) or disabled (-), and
     7# unsupported variants are simply ignored.
    38#
    4 # Any variants specified here that are not supported by
    5 # a port will just be ignored. Multiple variants can be
    6 # specified per line, or one per line is also allowed.
     9# Each line must be a space- or tab-delimited list of zero or more
     10# variants.
    711#
    812# Example:
    9 # +ipv6 +no_x11
     13#   -x11 +no_x11 +quartz
     14#   +gcc48
     15#   +universal
Note: See TracChangeset for help on using the changeset viewer.