From owner-svn-doc-head@FreeBSD.ORG Wed Mar 12 10:12:42 2014 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE111843; Wed, 12 Mar 2014 10:12:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CA48A7A3; Wed, 12 Mar 2014 10:12:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2CACgdt012537; Wed, 12 Mar 2014 10:12:42 GMT (envelope-from mat@svn.freebsd.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2CACgvL012535; Wed, 12 Mar 2014 10:12:42 GMT (envelope-from mat@svn.freebsd.org) Message-Id: <201403121012.s2CACgvL012535@svn.freebsd.org> From: Mathieu Arnold Date: Wed, 12 Mar 2014 10:12:42 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r44219 - in head/en_US.ISO8859-1/books/porters-handbook: . makefiles 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.17 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: Wed, 12 Mar 2014 10:12:42 -0000 Author: mat (ports committer) Date: Wed Mar 12 10:12:42 2014 New Revision: 44219 URL: http://svnweb.freebsd.org/changeset/doc/44219 Log: Document the two new tar and lha uses. Sponsored by: Absolight Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml head/en_US.ISO8859-1/books/porters-handbook/uses.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Wed Mar 12 09:39:23 2014 (r44218) +++ head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Wed Mar 12 10:12:42 2014 (r44219) @@ -1742,18 +1742,19 @@ MASTER_SITE_SUBDIR= stardict/WyabdcRealP EXTRACT_SUFX. For example, if the distribution file was named - foo.tgz instead of the more normal + foo.tar.gzip instead of the more normal foo.tar.gz, you would write: DISTNAME= foo -EXTRACT_SUFX= .tgz +EXTRACT_SUFX= .tar.gzip - The USE_BZIP2, - USE_XZ and USE_ZIP - variables automatically set EXTRACT_SUFX to - .tar.bz2, .tar.xz or - .zip as necessary. If neither of these are - set then EXTRACT_SUFX defaults to + The + USES=tar[:xxx], + USES=lha or USES=zip + automatically set EXTRACT_SUFX to the most + common archives extensions as necessary, see for more details. If neither of + these are set then EXTRACT_SUFX defaults to .tar.gz. @@ -2891,10 +2892,11 @@ ALWAYS_KEEP_DISTFILES= yes Use this variable only if the extraction does not - already work (the default assumes gzip) - and cannot be made to work using USE_ZIP - or USE_BZIP2 described in - . + already work (the default assumes tar) + and cannot be made to work using + USES=tar, USES=lha or + USES=zip described in . @@ -2977,18 +2979,6 @@ ALWAYS_KEEP_DISTFILES= yes - USE_BZIP2 - The port's tarballs are compressed with - bzip2. - - - - USE_ZIP - The port's tarballs are compressed with - zip. - - - USE_GCC The port requires GCC (gcc or g++) to build. Some ports need any Modified: head/en_US.ISO8859-1/books/porters-handbook/uses.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/uses.xml Wed Mar 12 09:39:23 2014 (r44218) +++ head/en_US.ISO8859-1/books/porters-handbook/uses.xml Wed Mar 12 10:12:42 2014 (r44219) @@ -343,6 +343,13 @@ + + lha + (none) + Set EXTRACT_SUFX to + .lzh + + libtool @@ -605,6 +612,16 @@ lua_CMD. + + tar + (none), bzip2, xz, + Z, tgz + Set EXTRACT_SUFX to + .tar, .tar.bz2, + .tar.xz, .tar.Z or + .tgz, respectively. + + tcl