Talk about _REL variables.
This commit is contained in:
parent
0a20921f1d
commit
bbdd6e4f4d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=30407
1 changed files with 20 additions and 2 deletions
|
@ -4221,15 +4221,30 @@ PORTVERSION= 1.0</programlisting>
|
||||||
<filename><makevar>PREFIX</makevar>/share/<makevar>PORTNAME</makevar></filename>.</para>
|
<filename><makevar>PREFIX</makevar>/share/<makevar>PORTNAME</makevar></filename>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para><makevar>DATADIR_REL</makevar> gets expanded to
|
||||||
|
<filename>share/<makevar>PORTNAME</makevar></filename>.</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><makevar>DOCSDIR</makevar> gets expanded to
|
<para><makevar>DOCSDIR</makevar> gets expanded to
|
||||||
<filename><makevar>PREFIX</makevar>/share/doc/<makevar>PORTNAME</makevar></filename>.</para>
|
<filename><makevar>PREFIX</makevar>/share/doc/<makevar>PORTNAME</makevar></filename>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para><makevar>DOCSDIR_REL</makevar> gets expanded to
|
||||||
|
<filename>share/doc/<makevar>PORTNAME</makevar></filename>.</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><makevar>EXAMPLESDIR</makevar> gets expanded to
|
<para><makevar>EXAMPLESDIR</makevar> gets expanded to
|
||||||
<filename><makevar>PREFIX</makevar>/share/examples/<makevar>PORTNAME</makevar></filename>.</para>
|
<filename><makevar>PREFIX</makevar>/share/examples/<makevar>PORTNAME</makevar></filename>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para><makevar>EXAMPLESDIR_REL</makevar> gets expanded to
|
||||||
|
<filename>share/examples/<makevar>PORTNAME</makevar></filename>.</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
|
@ -4250,7 +4265,7 @@ PORTVERSION= 1.0</programlisting>
|
||||||
(See more on <filename>pkg-plist</filename> substitution
|
(See more on <filename>pkg-plist</filename> substitution
|
||||||
<link linkend="plist-sub">here</link>.)</para>
|
<link linkend="plist-sub">here</link>.)</para>
|
||||||
|
|
||||||
<para>All documentation files and directories installed should
|
<para>All conditionally installed documentation files and directories should
|
||||||
be included in <filename>pkg-plist</filename> with the
|
be included in <filename>pkg-plist</filename> with the
|
||||||
<literal>%%PORTDOCS%%</literal> prefix, for example:</para>
|
<literal>%%PORTDOCS%%</literal> prefix, for example:</para>
|
||||||
|
|
||||||
|
@ -6424,7 +6439,10 @@ LIB_DEPENDS+= QtCore:${PORTSDIR}/devel/qt4-corelib
|
||||||
<filename><makevar>PREFIX</makevar>/www/<replaceable>appname</replaceable></filename>.
|
<filename><makevar>PREFIX</makevar>/www/<replaceable>appname</replaceable></filename>.
|
||||||
For your convenience, this path is available both in
|
For your convenience, this path is available both in
|
||||||
<filename>Makefile</filename> and in <filename>pkg-plist</filename>
|
<filename>Makefile</filename> and in <filename>pkg-plist</filename>
|
||||||
as <makevar>WWWDIR</makevar>.</para>
|
as <makevar>WWWDIR</makevar>, and the path relative to
|
||||||
|
<makevar>PREFIX</makevar> is available in
|
||||||
|
<filename>Makefile</filename> as
|
||||||
|
<makevar>WWWDIR_REL</makevar>.</para>
|
||||||
|
|
||||||
<para>The user and group of web server process are available as
|
<para>The user and group of web server process are available as
|
||||||
<makevar>WWWOWN</makevar> and <makevar>WWWGRP</makevar>, in case you
|
<makevar>WWWOWN</makevar> and <makevar>WWWGRP</makevar>, in case you
|
||||||
|
|
Loading…
Reference in a new issue