From owner-freebsd-ports@FreeBSD.ORG Thu Jul 10 10:00:11 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A5131065675 for ; Thu, 10 Jul 2008 10:00:11 +0000 (UTC) (envelope-from carpetsmoker-dated-1216547019.ae7406@rwxrwxrwx.net) Received: from mail.rwxrwxrwx.net (rwxrwxrwx.net [82.93.23.199]) by mx1.freebsd.org (Postfix) with ESMTP id BC0588FC26 for ; Thu, 10 Jul 2008 10:00:10 +0000 (UTC) (envelope-from carpetsmoker-dated-1216547019.ae7406@rwxrwxrwx.net) Received: from localhost (unknown [127.0.0.1]) by mail.rwxrwxrwx.net (Postfix) with ESMTP id 85B1E6D492 for ; Thu, 10 Jul 2008 11:43:42 +0200 (CEST) Received: from mail.rwxrwxrwx.net ([127.0.0.1]) by localhost (mail.rwxrwxrwx.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aj+NFN2gp9xF for ; Thu, 10 Jul 2008 11:43:39 +0200 (CEST) Received: by mail.rwxrwxrwx.net (Postfix, from userid 1001) id CD2EF6D48F; Thu, 10 Jul 2008 11:43:39 +0200 (CEST) Received: by glitch.rwxrwxrwx.net (tmda-sendmail, from uid 1001); Thu, 10 Jul 2008 11:43:39 +0200 Date: Thu, 10 Jul 2008 11:43:38 +0200 To: freebsd-ports@freebsd.org Message-ID: <20080710094338.GA40134@rwxrwxrwx.net> References: <20080710110457.4b160eb1@itpc02.gelita.swe> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20080710110457.4b160eb1@itpc02.gelita.swe> User-Agent: Mutt/1.5.17 (2007-11-01) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Martin Tournoij Mail-Followup-To: freebsd-ports@freebsd.org, freebsd@troback.com X-Primary-Address: carpetsmoker@rwxrwxrwx.net Cc: freebsd@troback.com Subject: Re: Tgz in tgz...! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Tournoij List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2008 10:00:11 -0000 On Thu, Jul 10, 2008 at 11:04:57AM +0200, Anders Troback wrote: > Hi, > > I need some tips about a port that I'm working on! > > The problem that I have are that the source of the code are in a tgz > that are in a sub folder in an other tgz! So first I need the port to > download and extract the first tgz and then extract, configure and > make the second tgz! > > How do I cope with that? > > Thanks! You can use the "post-extract" target to extract the second archive, here's a simple example. post-extract: ${TAR} xzp ${WRKSRC}/tarinsidetar.tgz -C ${WRKSRC}/extract/ -- Martin Tournoij carpetsmoker@rwxrwxrwx.net http://www.daemonforums.org QOTD: Pure drivel tends to drive ordinary drivel off of the TV screen.