Source string Read only

(itstool) path: varlistentry/term
34/340
Context English State
<literal>cabal</literal>
Ports should not be created for Haskell libraries, see <xref linkend="haskell-libs"/> for more information.
Possible arguments: (none), <literal>hpack</literal>
Sets default values and targets used to build <application>Haskell</application> software using Cabal. A build dependency on the Haskell compiler port (GHC) is added. If <literal>hpack</literal> argument is given, a build dependency on <package role="port">devel/hs-hpack</package> is added and <command>hpack</command> is invoked at configuration step to generate .cabal file.
The framework provides the following variables:
<varname>USE_CABAL</varname>
If the software uses Haskell dependencies, list them in this variable. Each item should be present on Hackage and be listed in form <literal>packagename-<replaceable>0.1.2</replaceable></literal>. Dependencies can have revisions, which are specified after the <literal>_</literal> symbol. Automatic generation of dependency list is supported, see <xref linkend="using-cabal"/>.
<varname>CABAL_FLAGS</varname>
List of flags to be passed to <command>cabal-install</command> during the configuring and building stage. The flags are passed verbatim.
<varname>EXECUTABLES</varname>
List of executable files installed by the port. Default value: <varname>${PORTNAME}</varname>. Items from this list are automatically added to pkg-plist.
<varname>SKIP_CABAL_PLIST</varname>
If defined, do not add items from <varname>${EXECUTABLES}</varname> to pkg-plist.
<varname>opt_USE_CABAL</varname>
Adds items to <varname>${USE_CABAL}</varname> depending on <literal>opt</literal> option.
<varname>opt_EXECUTABLES</varname>
Adds items to <varname>${EXECUTABLES}</varname> depending on <literal>opt</literal> option.
<varname>opt_CABAL_FLAGS</varname>
If <option>opt</option> is enabled, append the value to <varname>${CABAL_FLAGS}</varname>. Otherwise, append <literal>-value</literal> to disable the flag.
<varname>FOO_DATADIR_VARS</varname>
For an executable named <literal>FOO</literal> list Haskell packages, whose data files should be accessible by the executable.
<literal>cargo</literal>
Possible arguments: (none)
Uses Cargo for configuring, building, and testing. It can be used to port Rust applications that use the Cargo build system. For more information see <xref linkend="using-cargo"/>.
<literal>charsetfix</literal>
Prevents the port from installing <filename>charset.alias</filename>. This must be installed only by <package role="port">converters/libiconv</package>. <varname>CHARSETFIX_MAKEFILEIN</varname> can be set to a path relative to <varname>WRKSRC</varname> if <filename>charset.alias</filename> is not installed by <filename>${WRKSRC}/Makefile.in</filename>.
<literal>cmake</literal>
Possible arguments: (none), <literal>insource</literal>, <literal>noninja</literal>, <literal>run</literal>
Uses <application>CMake</application> for configuring and building.
By default an out-of-source build is performed, leaving the sources in <varname>WRKSRC</varname> free from build artifacts. With the <literal>insource</literal> argument, an in-source build will be performed instead. Setting it should be the exception when a regular out-of-source build does not work.
By default <application>Ninja</application> is used for the build. In some cases this does not work correctly. With the <literal>noninja</literal> argument, the build will fallback to using regular <command>make</command> for builds. It should only be used if a <application>Ninja</application>-based build does not work.

Loading…

User avatar None

New source string

FreeBSD Doc / books_porters-handbookEnglish

New source string 9 months ago
Browse all component changes

Things to check

Multiple failing checks

The translations in several languages have failing checks

Reset

Glossary

English English
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: varlistentry/term
Flags
read-only
Source string location
book.translate.xml:22360
String age
9 months ago
Source string age
9 months ago
Translation file
books/porters-handbook.pot, string 4555