The translation is temporarily closed for contributions due to maintenance, please come back later.

Source string Read only

(itstool) path: listitem/para
Context English State
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:
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"/>.
List of flags to be passed to <command>cabal-install</command> during the configuring and building stage. The flags are passed verbatim.
List of executable files installed by the port. Default value: <varname>${PORTNAME}</varname>. Items from this list are automatically added to pkg-plist.
If defined, do not add items from <varname>${EXECUTABLES}</varname> to pkg-plist.
Adds items to <varname>${USE_CABAL}</varname> depending on <literal>opt</literal> option.
Adds items to <varname>${EXECUTABLES}</varname> depending on <literal>opt</literal> option.
If <option>opt</option> is enabled, append the value to <varname>${CABAL_FLAGS}</varname>. Otherwise, append <literal>-value</literal> to disable the flag.
For an executable named <literal>FOO</literal> list Haskell packages, whose data files should be accessible by the executable.
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"/>.
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}/</filename>.
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.
With the <literal>run</literal> argument, a run dependency is registered in addition to a build dependency.


User avatar None

New source string

FreeBSD Doc / books_porters-handbookEnglish

New source string 10 months ago
Browse all component changes

Source information

Source string comment
(itstool) path: listitem/para
Source string location
String age
10 months ago
Source string age
10 months ago
Translation file
books/porters-handbook.pot, string 4556