Changeset 106666


Ignore:
Timestamp:
Jun 4, 2013, 1:16:14 AM (6 years ago)
Author:
ryandesign@…
Message:

exampleport: tabs to spaces and other whitespace changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/doc/exampleport/Portfile

    r28671 r106666  
    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'
Note: See TracChangeset for help on using the changeset viewer.