Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2008 13:54:56 +0200
From:      Anders Troback <freebsd@troback.com>
To:        FreeBSD <freebsd-ports@freebsd.org>
Cc:        Martin Tournoij <carpetsmoker-dated-1216115019.99a98e@rwxrwxrwx.net>
Subject:   Re: Tgz in tgz...!
Message-ID:  <20080710135456.60519d5d@itpc02.gelita.swe>
In-Reply-To: <20080710094338.GA40134@rwxrwxrwx.net>
References:  <20080710110457.4b160eb1@itpc02.gelita.swe> <20080710094338.GA40134@rwxrwxrwx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Jul 2008 11:43:38 +0200
Martin Tournoij <carpetsmoker@rwxrwxrwx.net> 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?"
--------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080710135456.60519d5d>