View Single Post
  #5   (View Single Post)  
Old 5th November 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
Join Date: May 2008
Location: USA
Posts: 6,289

[Spoon Feed]

Take the output from make show=pkgnames, and produce a list of packages which are used as input to pkg_add. Here is one possible method:

$ cd /usr/ports/www/gnome
$ pkg_add `make show=pkgname | awk '{if(NF==1) print $1}'`

[/Spoon Feed]

Note: any packages marked broken will obviously not be included in available packages. Rather than routing the output from the "make show" directly into pkg_add, you may wish to place it in a file that you can edit.

Last edited by jggimi; 5th November 2008 at 03:06 PM. Reason: Additonal notes
Reply With Quote