From owner-freebsd-ports@FreeBSD.ORG Thu Jul 10 11:53:34 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 662601065670 for ; Thu, 10 Jul 2008 11:53:34 +0000 (UTC) (envelope-from freebsd@troback.com) Received: from mail.gelita.se (212-162-182-244.skbbip.com [212.162.182.244]) by mx1.freebsd.org (Postfix) with ESMTP id 2D63D8FC19 for ; Thu, 10 Jul 2008 11:53:33 +0000 (UTC) (envelope-from freebsd@troback.com) Received: from itpc02.gelita.swe (212-162-182-242.skbbip.com [212.162.182.242]) by mail.gelita.se (Postfix) with ESMTP id E52A810F90B; Thu, 10 Jul 2008 13:53:23 +0200 (CEST) Date: Thu, 10 Jul 2008 13:54:56 +0200 From: Anders Troback To: FreeBSD Message-ID: <20080710135456.60519d5d@itpc02.gelita.swe> In-Reply-To: <20080710094338.GA40134@rwxrwxrwx.net> References: <20080710110457.4b160eb1@itpc02.gelita.swe> <20080710094338.GA40134@rwxrwxrwx.net> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable MailScanner-NULL-Check: 1216295604.21505@eQsrl7tddJfiSK53LvLs0g X-Troback-MailScanner-Information: Please contact postmaster@troback.com for more information X-MailScanner-ID: E52A810F90B.98CBC X-Troback-MailScanner: Found to be clean X-Troback-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 3.2, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-Troback-MailScanner-From: freebsd@troback.com X-Spam-Status: No Cc: Martin Tournoij Subject: Re: Tgz in tgz...! 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: Thu, 10 Jul 2008 11:53:34 -0000 On Thu, 10 Jul 2008 11:43:38 +0200 Martin Tournoij wrote: > On Thu, Jul 10, 2008 at 11:04:57AM +0200, Anders Troback wrote: > > Hi, > >=20 > > I need some tips about a port that I'm working on! > >=20 > > 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!=20 > >=20 > > How do I cope with that? > >=20 > > Thanks! >=20 > You can use the "post-extract" target to extract the second archive, > here's a simple example. >=20 > post-extract: > ${TAR} xzp ${WRKSRC}/tarinsidetar.tgz -C ${WRKSRC}/extract/ >=20 With and additional f after xzp did the trick! ;-) Thanks! --=20 Anders Trob=E4ck http://www.troback.com/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" --------------------------------------------