Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2008 11:43:38 +0200
From:      Martin Tournoij <carpetsmoker@rwxrwxrwx.net>
To:        freebsd-ports@freebsd.org
Cc:        freebsd@troback.com
Subject:   Re: Tgz in tgz...!
Message-ID:  <20080710094338.GA40134@rwxrwxrwx.net>
In-Reply-To: <20080710110457.4b160eb1@itpc02.gelita.swe>
References:  <20080710110457.4b160eb1@itpc02.gelita.swe>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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