|
Lines 2447-2452
Link Here
|
| 2447 |
|
2447 |
|
| 2448 |
<programlisting>MASTER_SITES= SF/stardict/WyabdcRealPeopleTTS/${PORTVERSION}</programlisting> |
2448 |
<programlisting>MASTER_SITES= SF/stardict/WyabdcRealPeopleTTS/${PORTVERSION}</programlisting> |
| 2449 |
|
2449 |
|
|
|
2450 |
<para>This can be also written as</para> |
| 2451 |
<programlisting>MASTER_SITES= SF |
| 2452 |
MASTER_SITE_SUBDIR= stardict/WyabdcRealPeopleTTS/${PORTVERSION}</programlisting> |
| 2453 |
|
| 2450 |
<table frame="none"> |
2454 |
<table frame="none"> |
| 2451 |
<title>Popular Magic <makevar>MASTER_SITES</makevar> |
2455 |
<title>Popular Magic <makevar>MASTER_SITES</makevar> |
| 2452 |
Macros</title> |
2456 |
Macros</title> |
|
Lines 3448-3454
Link Here
|
| 3448 |
and <replaceable>target</replaceable> is the target to call |
3452 |
and <replaceable>target</replaceable> is the target to call |
| 3449 |
in that directory. For example,</para> |
3453 |
in that directory. For example,</para> |
| 3450 |
|
3454 |
|
| 3451 |
<programlisting>LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg</programlisting> |
3455 |
<programlisting>LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg</programlisting> |
| 3452 |
|
3456 |
|
| 3453 |
<para>will check for a shared jpeg library with major |
3457 |
<para>will check for a shared jpeg library with major |
| 3454 |
version 9, and descend into the |
3458 |
version 9, and descend into the |
|
Lines 3466-3472
Link Here
|
| 3466 |
are allowed. The first pattern, |
3470 |
are allowed. The first pattern, |
| 3467 |
<literal>intl.[5-7]</literal>, will match any of: |
3471 |
<literal>intl.[5-7]</literal>, will match any of: |
| 3468 |
<literal>intl.5</literal>, <literal>intl.6</literal> or |
3472 |
<literal>intl.5</literal>, <literal>intl.6</literal> or |
| 3469 |
<literal>intl.7</literal>. The second pattern, |
3473 |
<literal>intl.7</literal>. The second (preferred) pattern, |
| 3470 |
<literal>intl</literal>, will match any version of the |
3474 |
<literal>intl</literal>, will match any version of the |
| 3471 |
<literal>intl</literal> library.</para> |
3475 |
<literal>intl</literal> library.</para> |
| 3472 |
</note> |
3476 |
</note> |
|
Lines 3499-3509
Link Here
|
| 3499 |
|
3503 |
|
| 3500 |
<para>For example,</para> |
3504 |
<para>For example,</para> |
| 3501 |
|
3505 |
|
| 3502 |
<programlisting>RUN_DEPENDS= ${LOCALBASE}/etc/innd:${PORTSDIR}/news/inn \ |
3506 |
<programlisting>RUN_DEPENDS= ${LOCALBASE}/news/bin/innd:${PORTSDIR}/news/inn \ |
| 3503 |
xmlcatmgr:${PORTSDIR}/textproc/xmlcatmgr</programlisting> |
3507 |
xmlcatmgr:${PORTSDIR}/textproc/xmlcatmgr</programlisting> |
| 3504 |
|
3508 |
|
| 3505 |
<para>will check if the file or directory |
3509 |
<para>will check if the file or directory |
| 3506 |
<filename>/usr/local/etc/innd</filename> exists, and build |
3510 |
<filename>/usr/local/news/bin/innd</filename> exists, and build |
| 3507 |
and install it from the <filename>news/inn</filename> |
3511 |
and install it from the <filename>news/inn</filename> |
| 3508 |
subdirectory of the ports tree if it is not found. It will |
3512 |
subdirectory of the ports tree if it is not found. It will |
| 3509 |
also see if an executable called |
3513 |
also see if an executable called |
|
Lines 4458-4464
Link Here
|
| 4458 |
<title>Wrong Handling of an Option</title> |
4462 |
<title>Wrong Handling of an Option</title> |
| 4459 |
|
4463 |
|
| 4460 |
<programlisting>.if ${PORT_OPTIONS:MFOO} |
4464 |
<programlisting>.if ${PORT_OPTIONS:MFOO} |
| 4461 |
LIB_DEPENDS+= foo.0:${PORTSDIR}/devel/foo |
4465 |
LIB_DEPENDS+= foo:${PORTSDIR}/devel/foo |
| 4462 |
CONFIGURE_ARGS+= --enable-foo |
4466 |
CONFIGURE_ARGS+= --enable-foo |
| 4463 |
.endif</programlisting> |
4467 |
.endif</programlisting> |
| 4464 |
</example> |
4468 |
</example> |
|
Lines 4477-4483
Link Here
|
| 4477 |
<title>Correct Handling of an Option</title> |
4481 |
<title>Correct Handling of an Option</title> |
| 4478 |
|
4482 |
|
| 4479 |
<programlisting>.if ${PORT_OPTIONS:MFOO} |
4483 |
<programlisting>.if ${PORT_OPTIONS:MFOO} |
| 4480 |
LIB_DEPENDS+= foo.0:${PORTSDIR}/devel/foo |
4484 |
LIB_DEPENDS+= foo:${PORTSDIR}/devel/foo |
| 4481 |
CONFIGURE_ARGS+= --enable-foo |
4485 |
CONFIGURE_ARGS+= --enable-foo |
| 4482 |
.else |
4486 |
.else |
| 4483 |
CONFIGURE_ARGS+= --disable-foo |
4487 |
CONFIGURE_ARGS+= --disable-foo |
|
Lines 6990-7000
Link Here
|
| 6990 |
<literal>20</literal>, <literal>22</literal>, |
6994 |
<literal>20</literal>, <literal>22</literal>, |
| 6991 |
<literal>20-22</literal>, <literal>20+</literal>, |
6995 |
<literal>20-22</literal>, <literal>20+</literal>, |
| 6992 |
etc. The default APACHE version is |
6996 |
etc. The default APACHE version is |
| 6993 |
<literal>22</literal>.</entry> |
6997 |
<literal>22</literal>. More details are available in |
| 6994 |
<entry>More details are available in |
|
|
| 6995 |
<filename>ports/Mk/bsd.apache.mk</filename> and at |
6998 |
<filename>ports/Mk/bsd.apache.mk</filename> and at |
| 6996 |
<ulink |
6999 |
<ulink |
| 6997 |
url="http://wiki.freebsd.org/Apache/">.</ulink></entry> |
7000 |
url="http://wiki.freebsd.org/Apache/"> |
|
|
7001 |
wiki.freebsd.org/Apache/</ulink>.</entry> |
| 6998 |
</row> |
7002 |
</row> |
| 6999 |
|
7003 |
|
| 7000 |
<row> |
7004 |
<row> |
|
Lines 7022-7028
Link Here
|
| 7022 |
available after inclusion of |
7026 |
available after inclusion of |
| 7023 |
<filename>bsd.port.pre.mk</filename>. Possible |
7027 |
<filename>bsd.port.pre.mk</filename>. Possible |
| 7024 |
values: <literal>20</literal>, |
7028 |
values: <literal>20</literal>, |
| 7025 |
<literal>22</literal>. |
7029 |
<literal>22</literal>.</entry> |
| 7026 |
</row> |
7030 |
</row> |
| 7027 |
|
7031 |
|
| 7028 |
<row> |
7032 |
<row> |
|
Lines 9046-9052
Link Here
|
| 9046 |
role="package">databases/postgresql90-client</filename> |
9050 |
role="package">databases/postgresql90-client</filename> |
| 9047 |
port. An associated variable, |
9051 |
port. An associated variable, |
| 9048 |
<makevar>WANT_PGSQL_VER</makevar>, may be set to |
9052 |
<makevar>WANT_PGSQL_VER</makevar>, may be set to |
| 9049 |
values such as 83, 84, 90, or 91. You can declare a |
9053 |
values such as 83, 84, 90, 91 or 92. You can declare a |
| 9050 |
minimum or maximum value; |
9054 |
minimum or maximum value; |
| 9051 |
<makevar>WANT_PGSQL_VER</makevar>= |
9055 |
<makevar>WANT_PGSQL_VER</makevar>= |
| 9052 |
<literal> 90+</literal> will cause the |
9056 |
<literal> 90+</literal> will cause the |
|
Lines 16235-16241
Link Here
|
| 16235 |
|
16239 |
|
| 16236 |
[dependencies -- can be empty] |
16240 |
[dependencies -- can be empty] |
| 16237 |
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript |
16241 |
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript |
| 16238 |
LIB_DEPENDS= Xpm.5:${PORTSDIR}/graphics/xpm |
16242 |
LIB_DEPENDS= Xpm:${PORTSDIR}/graphics/xpm |
| 16239 |
|
16243 |
|
| 16240 |
[this section is for other standard bsd.port.mk variables that do not |
16244 |
[this section is for other standard bsd.port.mk variables that do not |
| 16241 |
belong to any of the above] |
16245 |
belong to any of the above] |