From owner-freebsd-questions@FreeBSD.ORG Tue Jan 22 07:56:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B29216A468 for ; Tue, 22 Jan 2008 07:56:02 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 2A67D13C458 for ; Tue, 22 Jan 2008 07:56:01 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.50) id 1JHDzB-0002Sq-8b; Tue, 22 Jan 2008 07:55:57 +0000 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id m0M7tu5L003176; Tue, 22 Jan 2008 07:55:56 GMT Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 176C1FCA4D7; Tue, 22 Jan 2008 07:55:51 +0000 (GMT) Date: Tue, 22 Jan 2008 07:55:51 +0000 From: Frank Shute To: Dave Message-ID: <20080122075551.GA12202@melon.esperance-linux.co.uk> References: <000301c85cad$3b3b78b0$0200a8c0@satellite> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000301c85cad$3b3b78b0$0200a8c0@satellite> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RELEASE i386 X-Organisation: 'Esperance Linux' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Tue, 22 Jan 2008 07:55:57 +0000 (GMT) Cc: freebsd-questions@freebsd.org Subject: Re: packaging a metaport X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 07:56:02 -0000 On Mon, Jan 21, 2008 at 11:14:06PM -0500, Dave wrote: > > Hello, > I'd like to compile and install xorg and gnome via metaports on a > machine, making packages out of the entire process, including > dependencies. My goal is to have a tarball that i can take to > other machines, extract it and do a pkg_add * and have xorg and > gnome installed via packages vs. recompiling the port. I tried a > make package but that doesn't work with metaports, and make > package-recursive doesn't happen either. > Thanks. > Dave. You could have a go with portupgrade using the p and r options. I don't think it will work with the metaports but you could do something like: # portupgrade -Nvpr xf86-video-nv-2.1.6 A word of warning though: $ pkg_info -r xf86-video-nv-2.1.6 | wc -l 90 and gnome: $ pkg_info -r gnome-icon-theme-2.20.0_1 | wc -l 95 You could again use portupgrade with the PP option to install your packages on the target machine. The way I'd do it, is use portupgrade with the PP and r options to do the original install and then just copy over the downloaded packages to the target machines. It would save on compilation time. -- Frank Contact info: http://www.esperance-linux.co.uk/misc/contact.html