Tgz in tgz...!

Anders Troback freebsd at troback.com
Thu Jul 10 11:53:34 UTC 2008


On Thu, 10 Jul 2008 11:43:38 +0200
Martin Tournoij <carpetsmoker at rwxrwxrwx.net> wrote:

> 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/
> 

With and additional f after xzp did the trick! ;-)

Thanks!

-- 
Anders Trobäck
http://www.troback.com/
============================================
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"
--------------------------------------------


More information about the freebsd-ports mailing list