From owner-freebsd-questions@FreeBSD.ORG Mon Mar 27 19:46:05 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5770616A42A for ; Mon, 27 Mar 2006 19:46:05 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4423A43D62 for ; Mon, 27 Mar 2006 19:45:43 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id k2RJiWmq012453; Mon, 27 Mar 2006 13:44:53 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <44284096.5050806@daleco.biz> Date: Mon, 27 Mar 2006 13:44:22 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060127 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Luiz Eduardo Guida Valmont References: <4427C93B.2050805@greenmeadow.ca> <20060327232008.21b9113f@localhost> <200603271649.56334.list-freebsd-2004@morbius.sent.com> <200603271002.53806.donaldjoneill@gmail.com> <97be9bec0603270925o1ed6eaa8m8598391355e65205@mail.gmail.com> <97be9bec0603270926i79fe64bfi3e7128b4689dd0de@mail.gmail.com> In-Reply-To: <97be9bec0603270926i79fe64bfi3e7128b4689dd0de@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: package vs ports question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 19:46:05 -0000 Luiz Eduardo Guida Valmont wrote: >Wow, I stopped following this thread for a few hours and now I can just >compile a mini-ports howto. ^^ So, first things first: thanks for all who >replied. All replies were meaningful, so thank you all. > >Kevin, what I didn't know was the fact that ports and packages share the >same database. Knowing that was really helpful and cleared most doubts I >had. > >Donald, I didn't know about "make package-recursive" and I think I won't try >it, for now. My system is almost completly installed and the missing >packages won't take that much to justify creating the packages to ease >future installations (well, in fact I hope I never need to reinstall FreeBSD >^^). I may try it, though, just to see how it works. > >One last question: is there a way to find what are the standard targets for >any given port? I know I could install bash-completion, but I don't it is >"100% reliable" (I think it may miss some targets if Makefiles are included, >but I may be wrong). > >Once again, thank you all. > > Well, this is where "RTF*M", "UTSL", and so on probably come in. Not that RTFMming is a lot of fun, mind you; but I'm not using it to insult you, either. First, there's ports(7). Then, since the ports system uses make(1), that's one to read, I'd guess. Make(1) points you over to read make.conf(5). Ports(7) says this: BUGS Ports documentation is split over four places -- /usr/ports/Mk/bsd.port.mk, The Porter's Handbook, the ``Packages and Ports'' chapter of The FreeBSD Handbook, and this manual page. So, those would be some places to start, too (most of which come in the doc distribution, and is on the website and mirrors, of course. And as for "UTSL" (that's "use the Source, Luke", right?) you could read about 14,000 ports Makefiles, if you had time. Hopefully a few select ones might suffice.... I don't know if anyone's got a totally complete handle on the entire system. People like Mr. Kennaway and many other committers come close, I'm sure ... but I imagine their knowledge came from RTFM, and experience, just like most everyone else's**. HTH, Kevin Kinsey *Yeah, that's "Read The Friendly Manual". Those who say otherwise, well, they're not friendly, I guess :D **Not to mention that an author/programmer is generally pretty familiar with his work ... up to a point (which is where commenting your code comes in, eh? ;-) -- Never have children, only grandchildren. -- Gore Vidal