From owner-freebsd-ports@FreeBSD.ORG Tue Jan 11 17:08:50 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7225316A4CE for ; Tue, 11 Jan 2005 17:08:50 +0000 (GMT) Received: from smtp.unsam.edu.ar (smtp.unsam.edu.ar [170.210.48.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E76D43D3F for ; Tue, 11 Jan 2005 17:08:49 +0000 (GMT) (envelope-from fernan@iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (pi.iib.unsam.edu.ar [192.168.10.11]) by smtp.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id j0BHKSnP023217 for ; Tue, 11 Jan 2005 14:20:28 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (localhost.iib.unsam.edu.ar [127.0.0.1]) by pi.iib.unsam.edu.ar (8.12.11/8.12.9) with ESMTP id j0BH8SSV096453 for ; Tue, 11 Jan 2005 14:08:28 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by pi.iib.unsam.edu.ar (8.12.11/8.12.11/Submit) id j0BH8SZc096450 for ports@FreeBSD.ORG; Tue, 11 Jan 2005 14:08:28 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: pi.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Tue, 11 Jan 2005 14:08:28 -0300 From: Fernan Aguero To: FreeBSD Ports Message-ID: <20050111170828.GC8076@iib.unsam.edu.ar> Mail-Followup-To: FreeBSD Ports Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: how to test ports before submission? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2005 17:08:50 -0000 Hi! Perhaps this is a FAQ, but I've been unable to find a satisfactory answer. I want to install a port which is not yet in the ports tree, (i.e. it will not be in the INDEX either) and I do not want pkgdb, portupgrade, etc. to complain. I always test the port by installing in another PREFIX, and registering itself in a mock (empty) PKG_DBDIR. But once it builds and installs fine, and before submission, I would like to use it for a while. That is, install it in my usual PREFIX (/usr/local) and register it in /var/db/pkg. Is this possible? (I mean, without having to edit pkgtools.conf and perhaps other files each time) Thanks, Fernan PS: or perhaps just want to know how other porter's deal with this :)