From owner-freebsd-ports@FreeBSD.ORG Thu Jul 10 17:42:18 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 1AF39106566B for ; Thu, 10 Jul 2008 17:42:18 +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 D73A48FC1F for ; Thu, 10 Jul 2008 17:42:17 +0000 (UTC) (envelope-from freebsd@troback.com) Received: from baal.troback.com (c-195-216-040-156.static.bjare.net [195.216.40.156]) by mail.gelita.se (Postfix) with ESMTP id 1A31210FA28 for ; Thu, 10 Jul 2008 19:42:09 +0200 (CEST) Date: Thu, 10 Jul 2008 19:39:55 +0200 From: Anders =?UTF-8?B?VHJvYsOkY2s=?= To: freebsd-ports@freebsd.org Message-ID: <20080710193955.1acc2184@baal.troback.com> In-Reply-To: <20080710145415.59244492@itpc02.gelita.swe> References: <20080710110457.4b160eb1@itpc02.gelita.swe> <200807100154.17094.beech@freebsd.org> <20080710145415.59244492@itpc02.gelita.swe> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.9; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable MailScanner-NULL-Check: 1216316529.33543@OIrrxQrjvejHl4lxB6H/pg X-Troback-MailScanner-Information: Please contact postmaster@troback.com for more information X-MailScanner-ID: 1A31210FA28.C7AE3 X-Troback-MailScanner: Found to be clean X-Troback-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-2.599, required 3.2, autolearn=not spam, BAYES_00 -2.60) X-Troback-MailScanner-From: freebsd@troback.com X-Spam-Status: No 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 17:42:18 -0000 On Thu, 10 Jul 2008 14:54:15 +0200 Anders Troback wrote: > On Thu, 10 Jul 2008 01:54:10 -0800 > Beech Rintoul wrote: >=20 > > 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! > >=20 > > 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. > >=20 > > Beech > >=20 >=20 > OK! Next problem:-] >=20 > 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? >=20 > Thanks again! >=20 Is this a "legal" way of solving this issue? post-build: cd ${WRKSRC}/src/extras && make --=20 =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=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?" ---------------------------------------------------------------- Anders Trob=C3=A4ck http://www.troback.com/ -