Tgz in tgz...!

Anders Troback freebsd at
Thu Jul 10 12:52:51 UTC 2008

On Thu, 10 Jul 2008 01:54:10 -0800
Beech Rintoul <beech at> wrote:

> On Thursday 10 July 2008, Anders Troback said:
> > 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 probably extract the second time in post-extract, but you're 
> going to have to get creative defining the right ${WRKSRC}. After 
> that it should patch and build normally.
> Beech

OK! Next problem:-]

The program that I want to build are under a sub folder of
${WRKSRC}/src so first I need to make the "main" program and then I
have to run make in that sub folder! Are there any macros that do
things like this or is there some other way?

Thanks again!

Anders Trobäck
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