Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2008 07:55:51 +0000
From:      Frank Shute <frank@esperance-linux.co.uk>
To:        Dave <dmehler26@woh.rr.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: packaging a metaport
Message-ID:  <20080122075551.GA12202@melon.esperance-linux.co.uk>
In-Reply-To: <000301c85cad$3b3b78b0$0200a8c0@satellite>
References:  <000301c85cad$3b3b78b0$0200a8c0@satellite>

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




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