make package for ports, general question

Dominic Fandrey kamikaze at bsdforen.de
Thu Feb 25 08:25:46 UTC 2010


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? 


More information about the freebsd-ports mailing list