[51500] trunk/doc-new/guide/xml/portfile-phase.xml
raimue at macports.org
raimue at macports.org
Tue May 26 18:48:35 PDT 2009
Revision: 51500
http://trac.macports.org/changeset/51500
Author: raimue at macports.org
Date: 2009-05-26 18:48:34 -0700 (Tue, 26 May 2009)
Log Message:
-----------
doc-new: Add another example for worksrcdir
Modified Paths:
--------------
trunk/doc-new/guide/xml/portfile-phase.xml
Modified: trunk/doc-new/guide/xml/portfile-phase.xml
===================================================================
--- trunk/doc-new/guide/xml/portfile-phase.xml 2009-05-27 01:16:18 UTC (rev 51499)
+++ trunk/doc-new/guide/xml/portfile-phase.xml 2009-05-27 01:48:34 UTC (rev 51500)
@@ -498,7 +498,8 @@
<listitem>
<para>Sets the path to source directory relative to workpath. It can
be used if the extracted source directory has a different name then
- the distfile.</para>
+ the distfile. Also used if the source to be build is in a
+ subdirectory.</para>
<itemizedlist>
<listitem>
@@ -506,9 +507,10 @@
</listitem>
<listitem>
- <para>Example:</para>
+ <para>Examples:</para>
<programlisting>worksrcdir ${name}-src-${version}</programlisting>
+ <programlisting>worksrcdir ${distname}/src</programlisting>
</listitem>
</itemizedlist>
</listitem>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090526/0b07e89b/attachment.html>
More information about the macports-changes
mailing list