Re: the 'make' command in the ports tree
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Polytropon wrote: > 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 No, you don't really want any of them. The "make" man page isn't too bad as a reference, but to learn it, what you want is the postscript writeup that comes in FreeBSD's documents, in /usr/share/doc/psc/12.make/paper.ascii.gz. I think that that last directory can be parent to several different versions, depending on what you have PRINTERDEVICE set to, so you could get (say) postscript. Anyhow, whatever shows up at the bottom of that 12.make directory would be all about "pmake" which is the parent of today's make, and that's a damned good one. > > > > If you find things that are not documented enough, simply ask a > question here. > > > > -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknlF1gACgkQz62J6PPcoOkXwgCgmfm+caRmdDgSmp1dDaGTzN/Y m+kAnjlgslpnLaqv/eVblbUwQCesqn2g =cHUb -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: the 'make' command in the ports tree
At 2009-04-13T10:48:51+05:30, N. Raghavendra wrote: > The ports(1) man page describes several targets ^ Sorry, that is ports(7). Raghu. -- N. Raghavendra | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: the 'make' command in the ports tree
At 2009-04-12T20:08:21+02:00, dede wrote: > I search a command that list all availables variables that afect > program installation, and all arguments I can give to the > /usr/port/Makefile `make showconfig' displays all the options available for a port. > (I know about 'make search key= and name=' is there another?). The ports(1) man page describes several targets that can be used with a port Makefile. > Could anyone give me some cool addresses to learn on the subject? Apart from the above man page, there are the FreeBSD Handbook [Chapter 4] for information aimed at users, and the Porter's Handbook for technical information. HTH, Raghu. -- N. Raghavendra | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: the 'make' command in the ports tree
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). I found this, interesting: http://www.freebsd.org/doc/en/books/handbook/ports-using.html, but some interogations persist. I search a command that list all availables variables that afect program installation, and all arguments I can give to the /usr/port/Makefile (I know about 'make search key= and name=' is there another?). Could anyone give me some cool addresses to learn on the subject? Not sure if I understand your question fully, but this is a great place to learn about different options available when manipulating ports. http://www.freebsd.org/cgi/man.cgi?query=ports&apropos=0&sektion=0&manpath=FreeBSD+7.1-RELEASE+and+Ports&format=html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: the 'make' command in the ports tree
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, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: the 'make' command in the ports tree
On Sunday 12 April 2009, dede wrote: > I search a command that list all availables variables that afect program > installation, and all arguments I can give to the /usr/port/Makefile (I > know about 'make search key= and name=' is there another?). > > Could anyone give me some cool addresses to learn on the subject? Check out the ports(7) manual. Regards, Pieter de Goeje ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
the 'make' command in the ports tree
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). I found this, interesting: http://www.freebsd.org/doc/en/books/handbook/ports-using.html, but some interogations persist. I search a command that list all availables variables that afect program installation, and all arguments I can give to the /usr/port/Makefile (I know about 'make search key= and name=' is there another?). Could anyone give me some cool addresses to learn on the subject? Cordially sserre...@gmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"