From owner-svn-doc-head@freebsd.org Fri Mar 11 13:58:47 2016 Return-Path: Delivered-To: svn-doc-head@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 89D6CACC4D3; Fri, 11 Mar 2016 13:58:47 +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 41C65642; Fri, 11 Mar 2016 13:58:47 +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 u2BDwkWs030377; Fri, 11 Mar 2016 13:58:46 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2BDwkWD030375; Fri, 11 Mar 2016 13:58:46 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201603111358.u2BDwkWD030375@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Fri, 11 Mar 2016 13:58:46 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r48373 - in head/en_US.ISO8859-1/books/porters-handbook: slow-porting 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-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2016 13:58:47 -0000 Author: mat Date: Fri Mar 11 13:58:46 2016 New Revision: 48373 URL: https://svnweb.freebsd.org/changeset/doc/48373 Log: Document the new DOS2UNIX_WRKSRC variable. Sponsored by: Absolight Modified: head/en_US.ISO8859-1/books/porters-handbook/slow-porting/chapter.xml head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/slow-porting/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/slow-porting/chapter.xml Fri Mar 11 13:58:41 2016 (r48372) +++ head/en_US.ISO8859-1/books/porters-handbook/slow-porting/chapter.xml Fri Mar 11 13:58:46 2016 (r48373) @@ -441,6 +441,14 @@ DOS2UNIX_REGEX= .*\.([ch]|cpp)USES= dos2unix DOS2UNIX_GLOB= *.c *.cpp *.h + + If there are more than one distribution file and some + other than the default need to have files converted, the base + directory for the conversions can be changed so that they are + also converted. + + USES= dos2unix +DOS2UNIX_WRKSRC= ${WRKDIR} Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Fri Mar 11 13:58:41 2016 (r48372) +++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Fri Mar 11 13:58:46 2016 (r48373) @@ -355,7 +355,7 @@ Possible arguments: (none) The port has files with line endings in - DOS format which need to be converted. Three + DOS format which need to be converted. Four variables can be set to control which files will be converted. The default is to convert all files, including binaries. See DOS2UNIX_GLOB: match file names based on a glob pattern. + + + DOS2UNIX_WRKSRC: the directory from + which to start doing the conversions, defaults to + ${WRKSRC}. +