From owner-freebsd-ports@FreeBSD.ORG Mon Aug 7 18:37:27 2006 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8280F16A4E1 for ; Mon, 7 Aug 2006 18:37:27 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C04C43D94 for ; Mon, 7 Aug 2006 18:37:26 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 6BCA11A3C27; Mon, 7 Aug 2006 11:37:26 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5441F51664; Mon, 7 Aug 2006 14:37:25 -0400 (EDT) Date: Mon, 7 Aug 2006 14:37:25 -0400 From: Kris Kennaway To: Boris Samorodov Message-ID: <20060807183724.GA47899@xor.obsecurity.org> References: <14817321@bsam.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline In-Reply-To: <14817321@bsam.ru> User-Agent: Mutt/1.4.2.2i Cc: freebsd-ports@FreeBSD.org Subject: Re: extract both bz2 and gz files from distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2006 18:37:27 -0000 --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 07, 2006 at 03:12:06AM +0400, Boris Samorodov wrote: > Hi! >=20 >=20 > We have got a port (lang/gnat-gcc34) which has both bz2 and gz > distfiles. As for 5.x+ extracting is gone automagically. But not at > 4.x. Well, at 4.x extracting may be done for example, by using > USE_BZIP2 knob and doing gunzipping at after-extract:. >=20 > Does someone know a better solution? > Does we have examples at our ports? Use a do-extract that extracts all distfiles or EXTRACT_ONLY with post-extract that extracts the other ones. Kris --x+6KMIRAuhnl3hBn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE14hkWry0BWjoQKURAmFWAKDG6QtNXX8VzO2bT8RS/HgzSuxNGwCgrbn8 Zp1PCCjCeF9o4t3cd73uSgo= =by+s -----END PGP SIGNATURE----- --x+6KMIRAuhnl3hBn--