|
Lines 1107-1113
Link Here
|
| 1107 |
<note> |
1107 |
<note> |
| 1108 |
<para>You should list all the files, but not the name directories, |
1108 |
<para>You should list all the files, but not the name directories, |
| 1109 |
in the list. Also, if the port creates directories for itself |
1109 |
in the list. Also, if the port creates directories for itself |
| 1110 |
during installtion, make sure to add <literal>@dirrm</literal> |
1110 |
during installation, make sure to add <literal>@dirrm</literal> |
| 1111 |
lines as necessary to remove them when the port is |
1111 |
lines as necessary to remove them when the port is |
| 1112 |
deleted.</para> |
1112 |
deleted.</para> |
| 1113 |
|
1113 |
|
|
Lines 1422-1428
Link Here
|
| 1422 |
the first <makevar>MASTER_SITES</makevar>. This will prevent users |
1422 |
the first <makevar>MASTER_SITES</makevar>. This will prevent users |
| 1423 |
from getting <errorname>checksum mismatch</errorname> errors, and |
1423 |
from getting <errorname>checksum mismatch</errorname> errors, and |
| 1424 |
also reduce the workload of maintainers of our ftp site. Also, if |
1424 |
also reduce the workload of maintainers of our ftp site. Also, if |
| 1425 |
there isonly one master site for the port, it is recommended that |
1425 |
there is only one master site for the port, it is recommended that |
| 1426 |
you house a backup at your site and list it as the second |
1426 |
you house a backup at your site and list it as the second |
| 1427 |
<makevar>MASTER_SITES</makevar>.</para> |
1427 |
<makevar>MASTER_SITES</makevar>.</para> |
| 1428 |
|
1428 |
|
|
Lines 1737-1743
Link Here
|
| 1737 |
<note> |
1737 |
<note> |
| 1738 |
<para>The <replaceable>lib</replaceable> part is an argument given |
1738 |
<para>The <replaceable>lib</replaceable> part is an argument given |
| 1739 |
to <command>ldconfig -r | grep -wF</command>. There shall be no |
1739 |
to <command>ldconfig -r | grep -wF</command>. There shall be no |
| 1740 |
reqular expressions in this variable.</para> |
1740 |
regular expressions in this variable.</para> |
| 1741 |
</note> |
1741 |
</note> |
| 1742 |
|
1742 |
|
| 1743 |
<para>The dependency is checked twice, once from within the |
1743 |
<para>The dependency is checked twice, once from within the |
|
Lines 2165-2171
Link Here
|
| 2165 |
<para>If your port needs to build slightly different versions of |
2165 |
<para>If your port needs to build slightly different versions of |
| 2166 |
packages by having a variable (for instance, resolution, or paper |
2166 |
packages by having a variable (for instance, resolution, or paper |
| 2167 |
size) take different values, create one subdirectory per package to |
2167 |
size) take different values, create one subdirectory per package to |
| 2168 |
make it easier forusers to see what to do, but try to share as many |
2168 |
make it easier for users to see what to do, but try to share as many |
| 2169 |
files as possible between ports. Typically you only need a very short |
2169 |
files as possible between ports. Typically you only need a very short |
| 2170 |
<filename>Makefile</filename> in all but one of the directories if you |
2170 |
<filename>Makefile</filename> in all but one of the directories if you |
| 2171 |
use variables cleverly. In the sole <filename>Makefiles</filename>, |
2171 |
use variables cleverly. In the sole <filename>Makefiles</filename>, |
|
Lines 2206-2212
Link Here
|
| 2206 |
<para>(<filename>xdvi240/Makefile</filename> and |
2206 |
<para>(<filename>xdvi240/Makefile</filename> and |
| 2207 |
<filename>xdvi400/Makefile</filename> are similar). The |
2207 |
<filename>xdvi400/Makefile</filename> are similar). The |
| 2208 |
<makevar>MASTERDIR</makevar> definition tells |
2208 |
<makevar>MASTERDIR</makevar> definition tells |
| 2209 |
<filename>bsd.port.mk</filename> that the refulat set of |
2209 |
<filename>bsd.port.mk</filename> that the regular set of |
| 2210 |
subdirectories like <makevar>PATCHDIR</makevar> and |
2210 |
subdirectories like <makevar>PATCHDIR</makevar> and |
| 2211 |
<makevar>PKGDIR</makevar> are to be found under |
2211 |
<makevar>PKGDIR</makevar> are to be found under |
| 2212 |
<filename>xdvi300</filename>. The <literal>RESOLUTION=118</literal> |
2212 |
<filename>xdvi300</filename>. The <literal>RESOLUTION=118</literal> |
|
Lines 3021-3027
Link Here
|
| 3021 |
place that is guaranteed to be writable during the port build (see |
3021 |
place that is guaranteed to be writable during the port build (see |
| 3022 |
<link linkend="ports-cd">compiling ports from CDROM</link> for an |
3022 |
<link linkend="ports-cd">compiling ports from CDROM</link> for an |
| 3023 |
example of building ports from a read-only tree). If you need to |
3023 |
example of building ports from a read-only tree). If you need to |
| 3024 |
modigy some file in <makevar>PKGDIR</makevar>, do so by <link |
3024 |
modify some file in <makevar>PKGDIR</makevar>, do so by <link |
| 3025 |
linkend="porting-pkgsubdir">redefining a variable</link>, not by |
3025 |
linkend="porting-pkgsubdir">redefining a variable</link>, not by |
| 3026 |
writing over it.</para> |
3026 |
writing over it.</para> |
| 3027 |
</sect3> |
3027 |
</sect3> |
|
Lines 3657-3663
Link Here
|
| 3657 |
<command>configure</command>, do not take the diffs of |
3657 |
<command>configure</command>, do not take the diffs of |
| 3658 |
<command>configure</command> (it often grows to a few thousand |
3658 |
<command>configure</command> (it often grows to a few thousand |
| 3659 |
lines!); define <literal>USE_AUTOCONF=yes</literal> and take the |
3659 |
lines!); define <literal>USE_AUTOCONF=yes</literal> and take the |
| 3660 |
diffsof <filename>configure.in</filename>.</para> |
3660 |
diffs of <filename>configure.in</filename>.</para> |
| 3661 |
|
3661 |
|
| 3662 |
<para>Also, if you had to delete a file, then you can do it in the |
3662 |
<para>Also, if you had to delete a file, then you can do it in the |
| 3663 |
<maketarget>post-extract</maketarget> target rather than as part of |
3663 |
<maketarget>post-extract</maketarget> target rather than as part of |
|
Lines 3752-3758
Link Here
|
| 3752 |
lib/X11/oneko/pixmaps/cat.xpm |
3752 |
lib/X11/oneko/pixmaps/cat.xpm |
| 3753 |
lib/X11/oneko/sounds/cat.au |
3753 |
lib/X11/oneko/sounds/cat.au |
| 3754 |
: |
3754 |
: |
| 3755 |
@dirrm lib/X11/oneko/pixmals |
3755 |
@dirrm lib/X11/oneko/pixmaps |
| 3756 |
@dirrm lib/X11/oneko/sounds |
3756 |
@dirrm lib/X11/oneko/sounds |
| 3757 |
@dirrm lib/X11/oneko</programlisting> |
3757 |
@dirrm lib/X11/oneko</programlisting> |
| 3758 |
|
3758 |
|
|
Lines 4213-4220
Link Here
|
| 4213 |
<title>Categories</title> |
4213 |
<title>Categories</title> |
| 4214 |
|
4214 |
|
| 4215 |
<para>As you already know, ports are classified in several categories. |
4215 |
<para>As you already know, ports are classified in several categories. |
| 4216 |
But for this to wor, it is important that porters and users understand |
4216 |
But for this to work, it is important that porters and users understand |
| 4217 |
what each category and how we deicde what to put in each |
4217 |
what each category and how we decide what to put in each |
| 4218 |
category.</para> |
4218 |
category.</para> |
| 4219 |
|
4219 |
|
| 4220 |
<sect3> |
4220 |
<sect3> |
|
Lines 4369-4375
Link Here
|
| 4369 |
|
4369 |
|
| 4370 |
<row> |
4370 |
<row> |
| 4371 |
<entry><filename>java</filename></entry> |
4371 |
<entry><filename>java</filename></entry> |
| 4372 |
<entry>Java languge support.</entry> |
4372 |
<entry>Java language support.</entry> |
| 4373 |
</row> |
4373 |
</row> |
| 4374 |
|
4374 |
|
| 4375 |
<row> |
4375 |
<row> |
|
Lines 4589-4595
Link Here
|
| 4589 |
|
4589 |
|
| 4590 |
<para>As many of the categories overlap, you often have to choose |
4590 |
<para>As many of the categories overlap, you often have to choose |
| 4591 |
which of the categories should be the primary category of your port. |
4591 |
which of the categories should be the primary category of your port. |
| 4592 |
There are several rules that govern this usse. Here is the list of |
4592 |
There are several rules that govern this issue. Here is the list of |
| 4593 |
priorities, in decreasing order of precedence.</para> |
4593 |
priorities, in decreasing order of precedence.</para> |
| 4594 |
|
4594 |
|
| 4595 |
<itemizedlist> |
4595 |
<itemizedlist> |