[25452] branches/dp2mp-move/base/doc/portfile.7

source_changes at macosforge.org source_changes at macosforge.org
Mon May 21 23:37:44 PDT 2007


Revision: 25452
          http://trac.macosforge.org/projects/macports/changeset/25452
Author:   jmpp at macports.org
Date:     2007-05-21 23:37:44 -0700 (Mon, 21 May 2007)

Log Message:
-----------
Merging jberry's r25281: Add description of variant description specification and Remove discussion of workdir variable which is officially deprecated and soon to go away.

Modified Paths:
--------------
    branches/dp2mp-move/base/doc/portfile.7

Modified: branches/dp2mp-move/base/doc/portfile.7
===================================================================
--- branches/dp2mp-move/base/doc/portfile.7	2007-05-22 06:35:01 UTC (rev 25451)
+++ branches/dp2mp-move/base/doc/portfile.7	2007-05-22 06:37:44 UTC (rev 25452)
@@ -366,16 +366,7 @@
 .br
 .Sy Type:
 .Em read-only
-.It Ic workdir
-Path to work directory relative to
-.Ic portpath .
-Where possible use
-.Ic workpath
-instead.
 .br
-.Sy Type:
-.Em read-only
-.br
 .Sy Default:
 .Em work
 .It Ic workpath
@@ -385,7 +376,7 @@
 .Em read-only
 .br
 .Sy Default:
-.Em ${portpath}/${workdir}
+.Em ${portbuildpath}/work
 .It Ic worksrcpath
 Full path to working sources (where port has unpacked itself).
 .br
@@ -603,7 +594,7 @@
 .br
 Sets extract.pre_args to: -q
 .br
-Sets extract.post_args to: "-d ${portpath}/${workdir}"
+Sets extract.post_args to: "-d ${workpath}"
 .br
 .Sy Type:
 .Em optional
@@ -1310,6 +1301,7 @@
 .Ic variant
 .Op Cm requires Ar variant
 .Op Cm conflicts Ar variant
+.Op Cm description Ar "description"
 .Xc
 The value is usually a TCL script which modifies other port's
 .Nm
@@ -1317,13 +1309,15 @@
 port can be expressed with
 .Cm requires
 and
-.Cm conflicts .
-The example adds a "gnome" variant to a port.
+.Cm conflicts . 
+.Cm description
+provides a means to supply a description of the variant for the user.
 .br
 .Sy Type:
 .Em optional
 .br
 .Sy Example:
+Add a "gnome" variant to a port.
 .Bd -literal -offset indent -compact
 variant gnome requires glib { configure.args-append --with-gnome \e\
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070521/7261ea49/attachment.html


More information about the macports-changes mailing list