Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2003 21:17:03 -0600 (CST)
From:      "Scott A. Moberly" <smoberly@karamazov.org>
To:        <dtayl@rocketmail.com>
Cc:        <FREEBSD-PORTS@FreeBSD.ORG>
Subject:   Re: Creating package in private area
Message-ID:  <4197.10.0.0.2.1043810223.squirrel@mail.karamazov.org>
In-Reply-To: <20030129030731.61132.qmail@web41303.mail.yahoo.com>
References:  <20030129030731.61132.qmail@web41303.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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




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