From owner-freebsd-questions@FreeBSD.ORG Tue Jul 31 03:07:11 2007 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 A180416A417 for ; Tue, 31 Jul 2007 03:07:11 +0000 (UTC) (envelope-from freebsd-questions@auscert.org.au) Received: from titania.auscert.org.au (gw.auscert.org.au [203.5.112.28]) by mx1.freebsd.org (Postfix) with ESMTP id 3679B13C468 for ; Tue, 31 Jul 2007 03:07:10 +0000 (UTC) (envelope-from freebsd-questions@auscert.org.au) Received: from app.auscert.org.au (app [10.0.1.192]) by titania.auscert.org.au (8.12.10/8.12.10) with ESMTP id l6V3793Y002997; Tue, 31 Jul 2007 13:07:09 +1000 (EST) Received: from app.auscert.org.au (localhost.auscert.org.au [127.0.0.1]) by app.auscert.org.au (8.13.6/8.13.6) with ESMTP id l6V378Ca028454; Tue, 31 Jul 2007 13:07:09 +1000 (EST) (envelope-from freebsd-questions@auscert.org.au) Message-Id: <200707310307.l6V378Ca028454@app.auscert.org.au> To: freebsd-questions@freebsd.org From: freebsd-questions@auscert.org.au Date: Tue, 31 Jul 2007 13:07:08 +1000 Cc: freebsd-ports@freebsd.org Subject: make install a port, but with a package? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2007 03:07:11 -0000 Hi, I have a bad feeling that this has been asked already, and not that long ago, but I can't find it in my mailbox. Is there a variable I can set so that running 'make install' in a port directory will cause it to download the package, if available, and install that instead of building from source? In other words, the equivalent of 'portupgrade -NPP'. I have looked at the .mk files and nothing in there seems to do that. This is for the situation where portupgrade isn't installed yet, and I'd like to install it quickly from packages so I don't have to wait for Ruby to build. Sure, I could do it with pkg_add or sysinstall but it would be neat to be able to do everything from the ports tree. thanks, joel