From ee0ba4e85b08c9edefc05dfed596ff479348ca5e Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Tue, 2 May 2017 17:05:20 +0000 Subject: [PATCH] Keep up-to-date with changes in existing USES. Sponsored by: Absolight --- .../books/porters-handbook/uses/chapter.xml | 121 +++++++++++------- 1 file changed, 72 insertions(+), 49 deletions(-) diff --git a/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml b/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml index c05be47a82..b4903277c0 100644 --- a/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml +++ b/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml @@ -8,19 +8,19 @@ cran Possible arguments: (none), - auto-plist + auto-plist, + compiles Uses the Comprehensive R Archive Network. Specify auto-plist to automatically generate - pkg-plist. + pkg-plist. Specify + compiles if the port has code that need to be + compiled. @@ -496,14 +499,14 @@ <literal>drupal</literal> - Possible arguments: 6, + Possible arguments: 7, module, theme Automate installation of a port that is a Drupal theme or module. Use with the version of Drupal that the port is expecting. For example, - USES=drupal:6,module says that this port + USES=drupal:7,module says that this port creates a Drupal 6 module. A Drupal 7 theme can be specified with USES=drupal:7,theme. @@ -711,6 +714,11 @@ should be listed in USE_GNOME. The available components are: + atk @@ -720,10 +728,6 @@ atkmm - - atspi - - cairo @@ -744,10 +748,6 @@ evolutiondataserver3 - - gal2 - - gconf2 @@ -804,10 +804,6 @@ gnomesharp20 - - gnomespeech - - gnomevfs2 @@ -852,10 +848,6 @@ gtkmm30 - - gtksharp10 - - gtksharp20 @@ -904,10 +896,6 @@ libbonoboui - - libgda4 - - libgda5 @@ -916,10 +904,6 @@ libgda5-ui - - libgdamm - - libgdamm5 @@ -1715,11 +1699,14 @@ GSSAPI_NONE_CONFIGURE_ON= --without-gssapi <literal>localbase</literal> - Possible arguments: (none) + Possible arguments: (none), ldflags Ensures that libraries from dependencies in LOCALBASE are used instead of the ones from - the base system. Ports that depend on libraries that are also + the base system. Specify ldflags to add + -L${LOCALBASE}/lib to + LDFLAGS instead of LIBS. + Ports that depend on libraries that are also present in the base system should use this. It is also used internally by a few other USES. @@ -1853,6 +1840,10 @@ GSSAPI_NONE_CONFIGURE_ON= --without-gssapi polkit + + session + + settingsdaemon @@ -1899,7 +1890,9 @@ USE_MATE= menus:build intlhack Fall back to the default version, MySQL-5.6. The possible versions are 55, 55m, 55p, 56, - 56p, 57, + 56p, 56w, + 57, 57p, + 80, 100m, and 101m. The m and p suffixes are for the MariaDB and @@ -1920,11 +1913,23 @@ USE_MATE= menus:build intlhack <literal>mono</literal> - Possible arguments: (none) + Possible arguments: (none), nuget Adds a dependency on the Mono (currently only C#) framework by setting the appropriate dependencies. + + Specify nuget when the port uses nuget + packages. NUGET_DEPENDS needs to be set with + the names and versions of the nuget packages in the format + name=version. + An optional package origin can be added using + name=version:origin. + + The helper target, buildnuget, + will output the content of the NUGET_DEPENDS + based on the provided + packages.config. @@ -1954,9 +1959,8 @@ USE_MATE= menus:build intlhack Possible arguments: (none) - Uses ninja to build the port. - End users can set NINJA_VERBOSE for verbose - output. + Uses ninja to build the + port. @@ -1996,9 +2000,9 @@ USE_MATE= menus:build intlhack hierarchy. For example, it fixes the installation directory of pkgconfig's .pc files to ${PREFIX}/libdata/pkgconfig. If - the port uses automake, set - PATHFIX_MAKEFILEIN to - Makefile.am if needed. + the port uses USES=autoreconf, + Makefile.am will be added to + PATHFIX_MAKEFILEIN automatically. If the port USES=cmake it @@ -2095,7 +2099,8 @@ USE_MATE= menus:build intlhack ext, zend, build, cli, cgi, mod, - web, embed + web, embed, + pecl Provide support for PHP. Add a runtime dependency on the default PHP version, PHP. + + + pecl + + Provide defaults for fetching + PHP extensions from the PECL + repository. + + Variables are used to specify which @@ -2583,12 +2597,20 @@ USE_PYQT= core doc_build designer_run interpreters, most notably /usr/bin/perl and /bin/bash. The shebagngfix macro fixes shebang lines in scripts listed in - SHEBANG_FILES. The shebangfix macro is run - from ${WRKSRC}, so it can contain paths that + SHEBANG_REGEX, + SHEBANG_GLOB, or + SHEBANG_FILES. + SHEBANG_REGEX contains an extended regular + expressions, and is used with the -iregex + argument of &man.find.1;. SHEBANG_GLOB + contains a pattern used with the -name + argument of &man.find.1;. The shebangfix macro is run + from ${WRKSRC}, so + SHEBANG_FILES can contain paths that are relative to ${WRKSRC}. It can also deal with absolute paths if files outside of ${WRKSRC} require patching. For - example: + example when using SHEBANG_FILES: USES= shebangfix SHEBANG_FILES= scripts/foobar.pl scripts/*.sh @@ -2636,7 +2658,8 @@ SHEBANG_FILES= scripts/foobar.pl scripts/*.sh interp_OLD_CMD: "/usr/bin/env interp" /bin/interp - /usr/bin/interp. + /usr/bin/interp + /usr/local/bin/interp.