From owner-svn-doc-all@freebsd.org Wed Aug 24 09:21:12 2016 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F36FBC138D; Wed, 24 Aug 2016 09:21:12 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB8BE13D4; Wed, 24 Aug 2016 09:21:11 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7O9LBi1046511; Wed, 24 Aug 2016 09:21:11 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7O9LAsB046508; Wed, 24 Aug 2016 09:21:10 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201608240921.u7O9LAsB046508@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Wed, 24 Aug 2016 09:21:10 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r49329 - in head/en_US.ISO8859-1/books/porters-handbook: special uses X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2016 09:21:12 -0000 Author: mat Date: Wed Aug 24 09:21:10 2016 New Revision: 49329 URL: https://svnweb.freebsd.org/changeset/doc/49329 Log: Try to follow with ports r420774. Sponsored by: Absolight Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Wed Aug 24 09:14:07 2016 (r49328) +++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Wed Aug 24 09:21:10 2016 (r49329) @@ -2664,7 +2664,8 @@ USE_QT5= buildtools_buildKDE 4 Variable Definitions If the application depends on KDE 4, set - USE_KDE4 to the list of required + USES+=kde:4 and + USE_KDE to the list of required components. _build and _run suffixes can be used to force components dependency type (for example, @@ -2701,7 +2702,7 @@ USE_QT5= buildtools_build kdeprefix If set, port will be installed into - ${KDE4_PREFIX} + ${KDE_PREFIX} @@ -2818,36 +2819,36 @@ USE_QT5= buildtools_build KDE 4 ports are installed into - KDE4_PREFIX. This is + KDE_PREFIX. This is achieved by specifying the kdeprefix component, which overrides the default PREFIX. The ports, however, respect any PREFIX set via the MAKEFLAGS environment variable and/or make - arguments. Currently KDE4_PREFIX + arguments. Currently KDE_PREFIX is identical to the default PREFIX, ${LOCALBASE}. - <varname>USE_KDE4</varname> Example + <varname>USE_KDE</varname> Example This is a simple example for a KDE 4 port. USES= cmake:outsource instructs the port to utilize CMake, a configuration tool widely used by KDE 4 projects (see for detailed usage). - USE_KDE4 brings dependency on KDE + USE_KDE brings dependency on KDE libraries and makes port using automoc4 at build stage. Required KDE components and other dependencies can be determined through configure log. - USE_KDE4 does not imply + USE_KDE does not imply USE_QT4. If a port requires some Qt 4 components, specify them in USE_QT4. - USES= cmake:outsource -USE_KDE4= kdelibs kdeprefix automoc4 + USES= cmake:outsource kde:4 +USE_KDE= kdelibs kdeprefix automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Wed Aug 24 09:14:07 2016 (r49328) +++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Wed Aug 24 09:21:10 2016 (r49329) @@ -1275,6 +1275,15 @@ GSSAPI_NONE_CONFIGURE_ON= --without-gssa target, add the noman argument. + + <literal>kde</literal> + + Possible arguments: 4 + + Add dependency on KDE components. + See for more information. + + <literal>kmod</literal>