From owner-freebsd-ports@FreeBSD.ORG Sun Aug 6 23:13:12 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 1EBFD16A4DE for ; Sun, 6 Aug 2006 23:13:12 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4908843D46 for ; Sun, 6 Aug 2006 23:13:10 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam.ru ([83.239.48.144]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id k76NCnR0009998 for ; Mon, 7 Aug 2006 03:12:59 +0400 (MSD) Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1G9rmw-0006ZI-OX for freebsd-ports@FreeBSD.org; Mon, 07 Aug 2006 03:12:06 +0400 To: freebsd-ports@FreeBSD.org From: Boris Samorodov Date: Mon, 07 Aug 2006 03:12:06 +0400 Message-ID: <14817321@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Boris Samorodov Cc: Subject: 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: Sun, 06 Aug 2006 23:13:12 -0000 Hi! 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:. Does someone know a better solution? Does we have examples at our ports? Thanks. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve