Skip to content

Commit

Permalink
No longer mention PORTDIR
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/865455
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
  • Loading branch information
ulm committed Apr 29, 2024
1 parent 67a5bdd commit 7001870
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
9 changes: 4 additions & 5 deletions ebuild-writing/functions/src_install/text.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,10 @@ to be installed recursively.
</p>

<note>
There is no need to <c>dodoc</c> <c>COPYING</c>! The license belongs
to <c>${PORTDIR}/licenses</c>. Sometimes though, you might want to
install <c>COPYING</c> regardless, if it explains how different
licenses are applied to different parts of the application, for
example.
There is no need for <c>dodoc COPYING</c>! The license belongs in the
repository's <c>licenses/</c> directory. Sometimes though, you might want to
install <c>COPYING</c> regardless, if it explains how different licenses are
applied to different parts of the application, for example.
</note>
</body>
</section>
Expand Down
5 changes: 2 additions & 3 deletions ebuild-writing/variables/text.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ for these variables when writing ebuilds.
<tr>
<ti><c>FILESDIR</c></ti>
<ti>
Path to the ebuild's <c>files/</c> directory, commonly used
for small patches and files. For example:
<c>"${PORTDIR}/${CATEGORY}/${PN}/files"</c>.
Path to the package's <c>files/</c> directory, commonly used for small
patches and other files.
</ti>
</tr>
<tr>
Expand Down
3 changes: 2 additions & 1 deletion general-concepts/licenses/text.xml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ plain text file (UTF-8 encoded) if at all possible. Some licenses are
PDF files rather than plain text <d/> this should only be done if we
are legally required to do so.
Finally you need to check if your license should be added to a license group
as listed in $PORTDIR/profiles/license_groups. For more information see the
as listed in the repository's <c>profiles/license_groups</c> file. For more
information see
<uri link="https://www.gentoo.org/glep/glep-0023.html">GLEP 23</uri>.
</p>

Expand Down
6 changes: 3 additions & 3 deletions general-concepts/overlay/text.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ in one or more repos.conf files.
</p>

<p>
The overlay should contain the same directory structure as <c>PORTDIR</c> (although
only the necessary directories need be included). For example, a simple overlay
might have a directory structure like:
The overlay should contain the same directory structure as the Gentoo
repository (although only the necessary directories need be included).
For example, a simple overlay might have a directory structure like:
</p>

<pre>
Expand Down

0 comments on commit 7001870

Please sign in to comment.