From owner-freebsd-ports@FreeBSD.ORG Mon Mar 5 06:14:00 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6860416A403 for ; Mon, 5 Mar 2007 06:14:00 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.freebsd.org (Postfix) with SMTP id 06DAF13C474 for ; Mon, 5 Mar 2007 06:13:59 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 16775 invoked by uid 399); 5 Mar 2007 06:13:59 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 5 Mar 2007 06:13:59 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <45EBB525.1050009@FreeBSD.org> Date: Sun, 04 Mar 2007 22:13:57 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: Drew Jenkins References: <656323.48442.qm@web62214.mail.re1.yahoo.com> In-Reply-To: <656323.48442.qm@web62214.mail.re1.yahoo.com> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Buid It Twice? 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: Mon, 05 Mar 2007 06:14:00 -0000 Drew Jenkins wrote: > 20Hi; Is it possible to build out a port twice? I would like to > build out the Python Imaging Lib to use with both my installations > of Python. I think what you're actually asking is, can I build the software once on one system, and then use that newly built software again on a different system? If so, the answer is yes. What you want to do is use 'make package' instead of 'make install' on the first system. That will create a package of the software you install for use on another system. You might also want to consider using a tool like portmaster that can automate this process for you. Install ports/ports-mgmt/portmaster, then add: PKGREPOSITORY= /usr/ports/packages/All to your /etc/make.conf file. Type 'mkdir -p /usr/ports/packages/All' then cd to the port you want to package and type: portmaster -g . You might also want to add the -v (verbose) option the first few times to get an idea of what it's doing for you. See the man page for more details. That will produce a package file in the directory listed above that you can copy over to your other system. It will also create package files for any dependent ports that need to be updated or installed to make the port you're installing work. hope this helps, Doug -- This .signature sanitized for your protection