source: trunk/base/doc/exampleport/Portfile @ 28671

Last change on this file since 28671 was 28671, checked in by afb@…, 12 years ago

delint example

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.2 KB
Line 
1# All ports must have the "svn:keywords : Id" and "svn:eol-style : native"
2# svn props set on them and start with a commented out Id tag, which
3# the server will expand:
4# $Id: Portfile 28671 2007-09-06 13:18:17Z afb@macports.org $
5
6# Following that comes the PortSystem declaration:
7# PortSystem <version>
8# where version is the version of the ports system your port relies upon.
9# This can NOT be commented out.
10PortSystem 1.0
11
12# The name of the port
13name            glib2
14
15# Its version information
16version       2.12.11
17
18# Supported and tested platforms
19platforms       darwin
20
21# Categories and identifying keywords
22categories      devel
23
24# Email address(es) of the port's Maintainer(s)
25maintainers     ryandesign@macports.org
26
27# A short description of this port
28description     Library with data structure functions and other constructs
29
30# A long description, with more details
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.
34
35# Homepage for the port:
36homepage        http://www.gtk.org/
37
38# Master download sites for port's distribution file(s)
39master_sites    ftp://ftp.gtk.org/pub/glib/2.12 \
40                gnome:sources/glib/2.12
41
42# Name of the distribution file, minus extract suffix (see below)
43distname        glib-${version}
44
45# (Optional) Explicitly set suffix (default: .tar.gz)
46#extract.suffix .tar.bz2
47
48# (Optional) Use bzip2 instead of gzip for uncompressing distribution file
49use_bzip2       yes
50
51# List of checksums for files to be fetched
52# <file name> <checksum type> <checksum>
53checksums       ${distname}${extract.suffix} md5 077a9917b673a9a0bc63f351786dde24 \
54                ${distname}${extract.suffix} sha1 02d344295ddaeafeec6bc6824b71e12bbf1b0394 \
55                ${distname}${extract.suffix} rmd160 8680d27e630643e6653d88537907d06e3ba6e91a
56
57# Any patches which should be applied after extracting this port.  These
58
59# should go in the files/ subdirectory of the port.
60patchfiles      patch-glib-2.0.pc.in patch-glib__gutils.c
61
62# 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
66#
67#    These options accept a list of depspecs. Depspecs are ':' delimited three
68#    value lists of type:match:portname. The following types are supported:
69#
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
83
84# The type of configuration script this port uses.
85#configure.type     gnu
86
87# A list of configuration time arguments you might want to pass to the configure script:
88configure.args   --mandir=${prefix}/share/man
89
90# The directory name of the subdirectory of work/ where this port extracts
91#worksrcdir     glib
92
93# Alternative ways to build the port, packed as 'variants'
94variant puredarwin { depends_run bin:perl:perl5.8 }
95
96
Note: See TracBrowser for help on using the repository browser.