Ticket #2928: portfile.7.diff

File portfile.7.diff, 4.2 KB (added by jmpp@…, 19 years ago)

base/doc/portfile.7.diff

  • portfile.7

    RCS file: /Volumes/src/cvs/od/proj/darwinports/base/doc/portfile.7,v
    retrieving revision 1.35.2.1
    diff -u -r1.35.2.1 portfile.7
     
    5252A
    5353.Nm
    5454author needs to be aware of the various standard targets, the options
    55 that they require, and the variables that both the targets and the port
    56 system provides.
     55that they require and the variables that both the targets and the port
     56system provide.
    5757.Sh MAIN VARIABLES
    5858All ports are required to set certain variables.
    5959.Bl -tag -width lc
     
    9696.Em required
    9797.br
    9898.Sy Example:
    99 .Dl description \*qDictionary Server Protocol (RFC2229) client\*q
     99.Dl description Dictionary Server Protocol (RFC2229) client
    100100.It Ic long_description
    101101A verbose description of the software and what it does.
    102102.br
     
    117117.Ed
    118118.It Ic revision
    119119Local revision number of portfile.
    120 Increment for port revisions.
     120Increment for port revisions which would change its installation in any way.
    121121.br
    122122.Sy Type:
    123123.Em optional
     
    202202.Ic distfiles .
    203203The checksum
    204204.Ar type
    205 can currently can be md5 or sha1. The
     205can currently be md5 or sha1. The
    206206.Ar filename
    207207can be omitted if there is only one distfile.
    208208.br
     
    211211.br
    212212.Sy Example:
    213213.Bd -literal -offset indent -compact
    214 checksums dictd-1.7.1.tar.gz md5 81317b86ea0a5df0163900ad2e6bb12c
    215     magic-words-1.7.1.tar.gz md5 897a005182928613eadd30c267ce9c5b
     214checksums dictd-1.7.1.tar.gz md5 81317b86ea0a5df0163900ad2e6bb12c \e\
     215        magic-words-1.7.1.tar.gz md5 897a005182928613eadd30c267ce9c5b
    216216.Ed
    217217.br
    218218.Sy Example (ledit 1.11):
    219219.Bd -literal -offset indent -compact
    220 checksums md5 a2d38ba641682509c1e964ad699a9dd2
    221     sha1 1fb6443b5fdf3c83787953f06282d256477c1288
     220checksums md5 a2d38ba641682509c1e964ad699a9dd2 \e\
     221        sha1 1fb6443b5fdf3c83787953f06282d256477c1288
    222222.Ed
    223223.It Ic use_automake
    224224If set to yes, run the
     
    289289.It Va target Ns Ic .env
    290290Change the environment the
    291291.Va target
    292 is run in. This is often overridden.
     292is run in. This is often overridden on a per Portfile basis.
    293293.br
    294294.Sy Example:
    295295.Dl configure.env CFLAGS=-O
     
    301301.It Va target Ns Ic .args
    302302Main arguments to pass to the
    303303.Va target .
    304 This is often overridden.
     304This is often overridden on a per Portfile basis.
    305305.br
    306306.Sy Example:
    307307.Dl configure.args --enable-fooble
     
    411411.Ao filename Ac
    412412is a program, "lib" if it is a library, or "path" if it is a path to an
    413413installed file. If the dependency is really on a whole port and not an
    414 individual file, then a dummy value of "XXX" can be used as the
    415 .Ao filename Ac .
     414individual file, then the alternative syntax:
     415.Bl -tag -width ls
     416.It port: Ns Ao port Ac
     417.El
     418.Pp
     419should be used.
    416420.Bl -tag -width lc
    417421.It Ic depends_build
    418422List of dependencies to check before
     
    574578.Ss FETCHING FROM CVS
    575579As an alternative to fetching distribution files, pulling the sources
    576580from a CVS repository is supported. Use of CVS can give rise to
    577 non-reproducible builds, so is strongly discouraged.
     581non-reproducible builds, so it is strongly discouraged.
    578582.Bl -tag -width lc
    579583.It Ic cvs.tag
    580584CVS tag identifying the code to checkout.
     
    603607.Sy Example:
    604608.Dl extract.only worksrc-1.4.4.tar.gz
    605609.It Ic extract.cmd
    606 Command to perform extract.
     610Command to perform the extraction.
    607611.br
    608612.Sy Type:
    609613.Em optional
     
    802806.Op Cm requires Ar variant
    803807.Op Cm conflicts Ar variant
    804808.Xc
    805 The value is usually a TCL script which modifies other port
     809The value is usually a TCL script which modifies other port's
    806810.Nm
    807811variables. Dependencies and conflicts with other variants in the same
    808812port can be expressed with
     
    978982and with a list users as members.
    979983.It Ic existsgroup Ar group
    980984Check if a local group exists.
    981 .Ic nextgid
     985.It Ic nextgid
    982986Returns the highest used gid plus one.
    983987.It Ic reinplace Ar regex Ar filename
    984 Provide in-place editing of a file.
     988Provide in-place sed like editing of a file.
    985989.br
    986990.Sy Example:
    987991.Dl reinplace \*qs|/usr/local|${prefix}|g\*q doc/manpage.1
     992.It Ic file
     993Manipulate file names and attributes. See
     994.Xr file n .
    988995.It Ic system Ar commandline
    989996Execute a program. See
    990997.Xr system 3 .