From owner-freebsd-ports Tue Jan 28 19:17:15 2003 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 7F86937B401 for ; Tue, 28 Jan 2003 19:17:13 -0800 (PST) Received: from mail.karamazov.org (h162-040-089-010.adsl.navix.net [162.40.89.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAB8643F43 for ; Tue, 28 Jan 2003 19:17:10 -0800 (PST) (envelope-from smoberly@karamazov.org) Received: from karamazov.org (mail.karamazov.org [10.0.0.11]) by mail.karamazov.org (8.12.6/8.12.6) with SMTP id h0T3H3VV077357; Tue, 28 Jan 2003 21:17:03 -0600 (CST) (envelope-from smoberly@karamazov.org) Received: from 10.0.0.2 (SquirrelMail authenticated user smoberly) by mail.karamazov.org with HTTP; Tue, 28 Jan 2003 21:17:03 -0600 (CST) Message-ID: <4197.10.0.0.2.1043810223.squirrel@mail.karamazov.org> Date: Tue, 28 Jan 2003 21:17:03 -0600 (CST) Subject: Re: Creating package in private area From: "Scott A. Moberly" To: In-Reply-To: <20030129030731.61132.qmail@web41303.mail.yahoo.com> References: <20030129030731.61132.qmail@web41303.mail.yahoo.com> X-Priority: 3 Importance: Normal Cc: X-Mailer: SquirrelMail (version 1.2.9) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Using release 4.5, is there a way to create a package in a > private area that installs in /usr/local by default? > > When I do "make PREFIX=mydir install; make package" it > fails, since there seems to be no way to specify "Look in > mydir for the files to add to the package". > > When I do "make PREFIX=mydir install package" the package > is created. But when I pkg_add that package, it installs > in "mydir" (unless I specify "-p /usr/local"). > > I really would like to create packages in a safe, private > area (as can be done with Solaris, e.g.). > > thanks, > dtayl Perhaps I'm not understanding the question. I have my personal/beta ports in my home directory with no problems... try this and see what is amiss: pick-a-port (any port, but I'll use kmamerun since I just put it in) cp -r /usr/ports/emulators/kmamerun ~/testpackage cd ~/testpackage make sudo make install sudo make deinstall # etc. What part am I missing? -- Scott A. Moberly smoberly@karamazov.org Those who do not understand Unix are condemned to reinvent it, poorly. -- Henry Spencer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message