Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2010 09:25:09 +0100
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        Jason <jhelfman@e-e.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: make package for ports, general question
Message-ID:  <4B8633E5.4070605@bsdforen.de>
In-Reply-To: <20100225052506.GA987@Jason-Helfmans-MacBook-Pro.local>
References:  <20100225052506.GA987@Jason-Helfmans-MacBook-Pro.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25/02/2010 06:25, Jason wrote:
> That being said, I ran into an item today that had me perplexed.
> 
> Basically, it comes down to this:
> http://www.freebsd.org/doc/en/books/porters-handbook/pkg-install.html
> 
> Why is it that "make package" doesn't include the execution instructions
> noted in the Makefile. To me, with my new knowledge of the ports system,
> seems like double the work for development and maintaining a port and
> package. ...

It's not like that at all. You should only add stuff into the ports
Makefile that installs new files into the system.

Everything else, like creating groups and users, updating an index
and so forth, should only be done in the pkg-install script.

There is no redundancy.

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 



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