Lines 5071-5077
Link Here
|
5071 |
<entry><makevar>USE_PYTHON</makevar></entry> |
5071 |
<entry><makevar>USE_PYTHON</makevar></entry> |
5072 |
|
5072 |
|
5073 |
<entry>The port needs Python. Minimal required version can be |
5073 |
<entry>The port needs Python. Minimal required version can be |
5074 |
specified with values such as <literal>2.3+</literal>.</entry> |
5074 |
specified with values such as <literal>2.3+</literal>. |
|
|
5075 |
Also versions range can be specified: <literal>2.1-2.3</literal></entry> |
5075 |
</row> |
5076 |
</row> |
5076 |
|
5077 |
|
5077 |
<row> |
5078 |
<row> |
Lines 5079-5085
Link Here
|
5079 |
|
5080 |
|
5080 |
<entry>Use Python distutils for configuring, compiling and |
5081 |
<entry>Use Python distutils for configuring, compiling and |
5081 |
installing. This is required when the port comes with |
5082 |
installing. This is required when the port comes with |
5082 |
<filename>setup.py</filename>.</entry> |
5083 |
<filename>setup.py</filename>. This override targets: |
|
|
5084 |
do-configure (if <makevar>GNU_CONFIGURE</makevar> is not |
5085 |
defined), do-build and do-install.</entry> |
5083 |
</row> |
5086 |
</row> |
5084 |
|
5087 |
|
5085 |
<row> |
5088 |
<row> |
Lines 5093-5115
Link Here
|
5093 |
<row> |
5096 |
<row> |
5094 |
<entry><makevar>PYTHON_SITELIBDIR</makevar></entry> |
5097 |
<entry><makevar>PYTHON_SITELIBDIR</makevar></entry> |
5095 |
|
5098 |
|
5096 |
<entry>Location of the site-packages tree. Useful when installing |
5099 |
<entry>Location of the site-packages tree relative to python |
5097 |
Python modules. Always use |
5100 |
installation path (ussually <makevar>LOCALBASE</makevar>). |
|
|
5101 |
Useful when installing Python modules.</entry> |
5102 |
</row> |
5103 |
|
5104 |
<row> |
5105 |
<entry><makevar>PYTHONPREFIX_SITELIBDIR</makevar></entry> |
5106 |
<entry>Location of the site-packages tree relative to |
5107 |
<makevar>PREFIX</makevar>. |
5108 |
Always use |
5098 |
<literal>%%PYTHON_SITELIBDIR%%</literal> in |
5109 |
<literal>%%PYTHON_SITELIBDIR%%</literal> in |
5099 |
<filename>pkg-plist</filename> when possible. Default value: |
5110 |
<filename>pkg-plist</filename> when possible. Default value: |
5100 |
<literal>lib/python2.4/site-packages</literal></entry> |
5111 |
<literal>lib/python%%PYTHON_VERSION%%/site-packages</literal></entry> |
|
|
5112 |
</row> |
5113 |
|
5114 |
<row> |
5115 |
<entry><makevar>PYTHON_CMD</makevar></entry> |
5116 |
<entry>Python interpreter command line including version |
5117 |
number.</entry> |
5101 |
</row> |
5118 |
</row> |
5102 |
|
5119 |
|
5103 |
<row> |
5120 |
<row> |
5104 |
<entry><makevar>PYNUMERIC</makevar></entry> |
5121 |
<entry><makevar>PYNUMERIC</makevar></entry> |
5105 |
|
5122 |
|
5106 |
<entry>Add dependency on numeric extension.</entry> |
5123 |
<entry>Dependency line for numeric extension.</entry> |
5107 |
</row> |
5124 |
</row> |
5108 |
|
5125 |
|
5109 |
<row> |
5126 |
<row> |
5110 |
<entry><makevar>PYXML</makevar></entry> |
5127 |
<entry><makevar>PYXML</makevar></entry> |
5111 |
|
5128 |
|
5112 |
<entry>Add dependency on XML extension.</entry> |
5129 |
<entry>Dependency line for XML extension (not needed for |
|
|
5130 |
Python 2.0 and higher as it is also in base distribution).</entry> |
5113 |
</row> |
5131 |
</row> |
5114 |
|
5132 |
|
5115 |
<row> |
5133 |
<row> |
Lines 8711-8726
Link Here
|
8711 |
If a directory is listed in <makevar>PORTDOCS</makevar> |
8729 |
If a directory is listed in <makevar>PORTDOCS</makevar> |
8712 |
or matched by a glob pattern from this variable, |
8730 |
or matched by a glob pattern from this variable, |
8713 |
the entire subtree of contained files and directories will be |
8731 |
the entire subtree of contained files and directories will be |
8714 |
registered in the final packing list. <makevar>PORTDOCS</makevar> |
8732 |
registered in the final packing list. If <makevar>NOPORTDOCS</makevar> |
8715 |
should not be set if <makevar>NOPORTDOCS</makevar> is in |
8733 |
is defined then files and directories listed in |
8716 |
effect. Installing the documentation at <makevar>PORTDOCS</makevar> |
8734 |
<makevar>PORTDOCS</makevar> would not be installed and neither |
|
|
8735 |
would be added to port packing list. |
8736 |
Installing the documentation at <makevar>PORTDOCS</makevar> |
8717 |
as shown above remains up to the port itself. |
8737 |
as shown above remains up to the port itself. |
8718 |
A typical example of utilizing <makevar>PORTDOCS</makevar> |
8738 |
A typical example of utilizing <makevar>PORTDOCS</makevar> |
8719 |
looks as follows:</para> |
8739 |
looks as follows:</para> |
8720 |
|
8740 |
|
8721 |
<programlisting>.if !defined(NOPORTDOCS) |
8741 |
<programlisting>PORTDOCS= README.* ChangeLog docs/*</programlisting> |
8722 |
PORTDOCS= * |
|
|
8723 |
.endif</programlisting> |
8724 |
|
8742 |
|
8725 |
<note> |
8743 |
<note> |
8726 |
<para>You can also use the <filename>pkg-message</filename> file to |
8744 |
<para>You can also use the <filename>pkg-message</filename> file to |