Translation

(itstool) path: sect1/para
Start this section with defining <varname>FLAVORS</varname>. Continue with the possible Flavors helpers. See <xref linkend="flavors-using"/> for more Information.
189/1620
Context English Portuguese (Brazil) State
<link linkend="dads-noinstall"><varname>ONLY_FOR_ARCHS</varname></link> <link linkend="dads-noinstall"><varname>ONLY_FOR_ARCHS</varname></link>
<link linkend="dads-noinstall"><varname>ONLY_FOR_ARCHS_REASON<replaceable>*</replaceable></varname></link> <link linkend="dads-noinstall"><varname>ONLY_FOR_ARCHS_REASON<replaceable>*</replaceable></varname></link>
<link linkend="dads-noinstall"><varname>NOT_FOR_ARCHS</varname></link> <link linkend="dads-noinstall"><varname>NOT_FOR_ARCHS</varname></link>
<link linkend="dads-noinstall"><varname>NOT_FOR_ARCHS_REASON<replaceable>*</replaceable></varname></link> <link linkend="dads-noinstall"><varname>NOT_FOR_ARCHS_REASON<replaceable>*</replaceable></varname></link>
<varname>BROKEN_<replaceable>*</replaceable></varname> and <varname>IGNORE_<replaceable>*</replaceable></varname> can be any generic variables, for example, <varname>IGNORE_amd64</varname>, <varname>BROKEN_FreeBSD_10</varname>, etc. With the exception of variables that depend on a <link linkend="uses"><varname>USES</varname></link>, place those in <xref linkend="porting-order-uses"/>. For instance, <varname>IGNORE_WITH_PHP</varname> only works if <link linkend="uses-php"><literal>USES=php</literal></link> is set, and <varname>BROKEN_SSL</varname> only if <link linkend="uses-ssl"><literal>USES=ssl</literal></link> is set. <varname>BROKEN_<replaceable>*</replaceable></varname> e <varname>IGNORE_<replaceable>*</replaceable></varname> podem ser qualquer variável genérica, por exemplo, <varname>IGNORE_amd64</varname>, <varname>BROKEN_FreeBSD_10</varname>, etc. Com exceção das variáveis ​​que dependem de uma variável <link linkend="uses"><varname>USES</varname></link>, coloque essas em <xref linkend="porting-order-uses"/>. Por exemplo, <varname>IGNORE_WITH_PHP</varname> só funciona se <link linkend="uses-php"><literal>USES=php</literal></link> estiver definido e a variável <varname>BROKEN_SSL</varname> somente se <link linkend="uses-ssl"><literal>USES=ssl</literal></link> estiver definido.
If the port is marked BROKEN when some conditions are met, and such conditions can only be tested after including <filename>bsd.port.options.mk</filename> or <filename>bsd.port.pre.mk</filename>, then those variables should be set later, in <xref linkend="porting-order-rest"/>. Se o port estiver marcado como BROKEN quando algumas condições forem atendidas, e tais condições puderem ser testadas somente após incluir o <filename>bsd.port.options.mk</filename> ou <filename>bsd.port.pre.mk</filename>, então essas variáveis ​​devem ser definidas mais tarde, em <xref linkend="porting-order-rest"/>.
The Dependencies Block O Bloco de Dependências
<link linkend="makefile-fetch_depends"><varname>FETCH_DEPENDS</varname></link> <link linkend="makefile-fetch_depends"><varname>FETCH_DEPENDS</varname></link>
<link linkend="makefile-extract_depends"><varname>EXTRACT_DEPENDS</varname></link> <link linkend="makefile-extract_depends"><varname>EXTRACT_DEPENDS</varname></link>
<link linkend="makefile-patch_depends"><varname>PATCH_DEPENDS</varname></link> <link linkend="makefile-patch_depends"><varname>PATCH_DEPENDS</varname></link>
<link linkend="makefile-build_depends"><varname>BUILD_DEPENDS</varname></link> <link linkend="makefile-build_depends"><varname>BUILD_DEPENDS</varname></link>
<link linkend="makefile-lib_depends"><varname>LIB_DEPENDS</varname></link> <link linkend="makefile-lib_depends"><varname>LIB_DEPENDS</varname></link>
<link linkend="makefile-run_depends"><varname>RUN_DEPENDS</varname></link> <link linkend="makefile-run_depends"><varname>RUN_DEPENDS</varname></link>
<varname>TEST_DEPENDS</varname> <varname>TEST_DEPENDS</varname>
This block is optional. Este bloco é opcional.
Start this section with defining <varname>FLAVORS</varname>. Continue with the possible Flavors helpers. See <xref linkend="flavors-using"/> for more Information. Comece esta seção com as definições de <varname>FLAVORS</varname>. Continue com as possíveis variáveis assistentes de Flavors. Veja <xref linkend="flavors-using"/> para maiores informações.
Constructs setting variables not available as helpers using <literal>.if ${FLAVOR:U} == foo</literal> should go in their respective sections below. Variáveis ​​de definição de construção não disponíveis como assistentes, usando <literal>.if ${FLAVOR:U} == foo</literal> devem ir em abaixo de suas respectivas seções.
<varname>USES</varname> and <varname>USE_<replaceable>x</replaceable></varname> <varname>USES</varname> e <varname>USE_<replaceable>x</replaceable></varname>
Start this section with defining <varname>USES</varname>, and then possible <varname>USE_<replaceable>x</replaceable></varname>. Comece esta seção com a definição da variável <varname>USES</varname> e, em seguida, possíveis variáveis <varname>USE_<replaceable>x</replaceable></varname>.
Keep related variables close together. For example, if using <link linkend="makefile-master_sites-github"><varname>USE_GITHUB</varname></link>, always put the <varname>GH_<replaceable>*</replaceable></varname> variables right after it. Mantenha as variáveis ​​relacionadas juntas. Por exemplo, se estiver usando a variável <link linkend="makefile-master_sites-github"><varname>USE_GITHUB</varname></link>, coloque sempre as variáveis <varname>GH_<replaceable>*</replaceable></varname> ​​logo após ela.
Standard <filename>bsd.port.mk</filename> Variables Variáveis ​​Padrão <filename>bsd.port.mk</filename>
This section block is for variables that can be defined in <filename>bsd.port.mk</filename> that do not belong in any of the previous section blocks. Este bloco de seção é para variáveis ​​que podem ser definidas em <filename>bsd.port.mk</filename> que não pertencem a nenhum dos blocos de seção anteriores.
Order is not important, however try to keep similar variables together. For example uid and gid variables <varname>USERS</varname> and <varname>GROUPS</varname>. Configuration variables <varname>CONFIGURE_<replaceable>*</replaceable></varname> and <varname><replaceable>*</replaceable>_CONFIGURE</varname>. List of files, and directories <varname>PORTDOCS</varname> and <varname>PORTEXAMPLES</varname>. A ordem não é importante, no entanto, tente manter variáveis ​​semelhantes juntas. Por exemplo, variáveis ​​<varname>USERS</varname> e <varname>GROUPS</varname>. Variáveis ​​de configuração <varname>CONFIGURE_<replaceable>*</replaceable></varname> e <varname><replaceable>*</replaceable>_CONFIGURE</varname>. Lista de arquivos e diretórios <varname>PORTDOCS</varname> e <varname>PORTEXAMPLES</varname>.
Options and Helpers Opções e Assistentes
If the port uses the <link linkend="makefile-options">options framework</link>, define <varname>OPTIONS_DEFINE</varname> and <varname>OPTIONS_DEFAULT</varname> first, then the other <varname>OPTIONS_<replaceable>*</replaceable></varname> variables first, then the <varname><replaceable>*</replaceable>_DESC</varname> descriptions, then the options helpers. Try and sort all of those alphabetically. Se o port usa o <link linkend="makefile-options">framework de opções</link>, defina <varname>OPTIONS_DEFINE</varname> e <varname>OPTIONS_DEFAULT</varname>, então as outras variáveis <varname>OPTIONS_<replaceable>*</replaceable></varname>, depois as de descrições <varname><replaceable>*</replaceable>_DESC</varname>, e então os assistentes de opções. Tente e ordene todas essas variáveis alfabeticamente.
Options Variables Order Example Exemplo de Ordenamento das Variáveis ​​de Opções
The <literal>FOO</literal> and <literal>BAR</literal> options do not have a standard description, so one need to be written. The other options already have one in <filename>Mk/bsd.options.desc.mk</filename> so writing one is not needed. The <literal>DOCS</literal> and <literal>EXAMPLES</literal> use target helpers to install their files, they are shown here for completeness, though they belong in <xref linkend="porting-order-targets"/>, so other variables and targets could be inserted before them. As opções <literal>FOO</literal> e <literal>BAR</literal> não possuem uma descrição padrão, portanto, é necessário escrever uma. As outras opções já possuem em <filename>Mk/bsd.options.desc.mk</filename> então escrever uma não é necessário. Opções <literal>DOCS</literal> e <literal>EXAMPLES</literal> usam os assistentes de destino para instalar seus arquivos, eles são mostrados aqui por completo, apesar de pertencerem a <xref linkend="porting-order-targets"/>, então outras variáveis ​​e destinos podem ser inseridos antes deles.
OPTIONS_DEFINE= DOCS EXAMPLES FOO BAR
OPTIONS_DEFAULT= FOO
OPTIONS_RADIO= SSL
OPTIONS_RADIO_SSL= OPENSSL GNUTLS
OPTIONS_SUB= yes

BAR_DESC= Enable bar support
FOO_DESC= Enable foo support

BAR_CONFIGURE_WITH= bar=${LOCALBASE}
FOO_CONFIGURE_ENABLE= foo
GNUTLS_CONFIGURE_ON= --with-ssl=gnutls
OPENSSL_CONFIGURE_ON= --with-ssl=openssl

post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc &amp;&amp; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}

post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/ex &amp;&amp; ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
OPTIONS_DEFINE= DOCS EXAMPLES FOO BAR
OPTIONS_DEFAULT= FOO
OPTIONS_RADIO= SSL
OPTIONS_RADIO_SSL= OPENSSL GNUTLS
OPTIONS_SUB= yes

BAR_DESC= Enable bar support
FOO_DESC= Enable foo support

BAR_CONFIGURE_WITH= bar=${LOCALBASE}
FOO_CONFIGURE_ENABLE= foo
GNUTLS_CONFIGURE_ON= --with-ssl=gnutls
OPENSSL_CONFIGURE_ON= --with-ssl=openssl

post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc &amp;&amp; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}

post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/ex &amp;&amp; ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
The Rest of the Variables O Restante das Variáveis
And then, the rest of the variables that are not mentioned in the previous blocks. E então, o restante das variáveis ​​que não são mencionadas nos blocos anteriores.
The Targets Os Targets

Loading…

New source string a year ago
Browse all component changes

Glossary

English Portuguese (Brazil)
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: sect1/para
Source string location
book.translate.xml:21734
String age
a year ago
Source string age
a year ago
Translation file
books/pt_BR/porters-handbook.po, string 4447