From owner-freebsd-questions@FreeBSD.ORG Sun Apr 12 20:17:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5478D1065675 for ; Sun, 12 Apr 2009 20:17:53 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 12F118FC26 for ; Sun, 12 Apr 2009 20:17:53 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-97-234.dynamic.qsc.de [92.196.97.234]) by mx01.qsc.de (Postfix) with ESMTP id 8CE9C3D7F6; Sun, 12 Apr 2009 22:17:51 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n3CKHjVn002466; Sun, 12 Apr 2009 22:17:45 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 12 Apr 2009 22:17:45 +0200 From: Polytropon To: dede Message-Id: <20090412221745.ed149342.freebsd@edvax.de> In-Reply-To: <49E22E15.3090007@gmail.com> References: <49E22E15.3090007@gmail.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: the 'make' command in the ports tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2009 20:17:54 -0000 On Sun, 12 Apr 2009 20:08:21 +0200, dede wrote: > Hello, > > I'm a long time user of BSDs, and I don't find man pages or > documentation on the way I can master the port collection (specialy the > fonction of make). Did you try % man ports Don't miss % man portsnap > I found this, interesting: > http://www.freebsd.org/doc/en/books/handbook/ports-using.html, but some > interogations persist. Which are those? > I search a command that list all availables variables that afect program > installation, [...] Those are usually specifig to the port and are, in most cases, listed in its Makefile. Sometimes, they're documented, e. g. in /usr/ports/multimedia/mplayer/Makefile you'll find a header with explainations for the variables. There may be globally set variables that do have an effect on a specific port. % man make.conf gives a good summary, and have a look at the explainations given in /usr/share/examples/etc/make.conf. > [...] and all arguments I can give to the /usr/port/Makefile (I > know about 'make search key= and name=' is there another?). Yes, "make install", "make deinstall", "make reinstall", "make config", "make clean", "make distclean", "make package" are very common ones for the ports. In /usr/ports, you can even use "make update" to update your ports collection. > Could anyone give me some cool addresses to learn on the subject? The FreeBSD Handbook, 4.5 Using the Ports Collection is excellent: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html You mentioned it already. The FAQ, Chapter 7 User Applications, covers other activities: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/applications.html If you find things that are not documented enough, simply ask a question here. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...