From owner-freebsd-questions@FreeBSD.ORG Tue Jan 16 11:45:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 58D5716A407 for ; Tue, 16 Jan 2007 11:45:43 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mx1.freebsd.org (Postfix) with ESMTP id 1BFD213C428 for ; Tue, 16 Jan 2007 11:45:43 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mailspool3.panix.com (mailspool3.panix.com [166.84.1.78]) by mail2.panix.com (Postfix) with ESMTP id A9A91CA876; Tue, 16 Jan 2007 06:45:38 -0500 (EST) Received: from teddy.fas.com (c-68-58-181-9.hsd1.sc.comcast.net [68.58.181.9]) by mailspool3.panix.com (Postfix) with ESMTP id DEE473262C2; Tue, 16 Jan 2007 06:45:38 -0500 (EST) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1H6ml0-0003xu-00; Tue, 16 Jan 2007 06:45:38 -0500 Date: Tue, 16 Jan 2007 06:45:38 -0500 From: stan To: Jay Chandler Message-ID: <20070116114538.GC15161@teddy.fas.com> Mail-Followup-To: Jay Chandler , FreeBSD Questions References: <20070116040750.GA3151@teddy.fas.com> <45AC554D.9000109@chapman.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45AC554D.9000109@chapman.edu> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 06:42:06 up 274 days, 8:24, 1 user, load average: 0.12, 0.09, 0.09 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: FreeBSD Questions Subject: Re: Documenting a ports depedency tree? 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: Tue, 16 Jan 2007 11:45:43 -0000 On Mon, Jan 15, 2007 at 08:32:13PM -0800, Jay Chandler wrote: > stan wrote: > >Is there a way to document the entire depedency tree for a given port? > > > >EG, if a dpends on b which depends on d & e, which in turn depend on z, > >I'd like to print out this dependency list. > > > > > A good question, which I've taken the liberty of researching. > > montreal# cd /usr/ports/mail/p5-FuzzyOcr > montreal# make pretty-print-run-depends-list > This port requires package(s) "ImageMagick-6.2.9.8 curl-7.16.0_1 > expat-2.0.0_1 fontconfig-2.3.2_6,1 freetype2-2.2.1_1 gettext-0.14.5_2 > ghostscript-gnu-7.07_15 gnupg-1.4.6_3 gocr-0.43 gsfonts-8.11_2 > jasper-1.701.0_1 jbigkit-1.6 jpeg-6b_4 lcms-1.16,1 libdrm-2.0.2 > libfpx-1.2.0.12 libiconv-1.9.2_2 libltdl-1.5.22 libungif-4.1.4_2 > libxml2-2.6.26 mpeg2codec-1.2_1 netpbm-10.26.37 p5-Archive-Tar-1.30 > p5-Authen-SASL-2.10_1 p5-Compress-Raw-Zlib-2.003 p5-Compress-Zlib-2.002 > p5-Digest-1.15 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.36 > p5-Digest-SHA1-2.11 p5-GSSAPI-0.23 p5-HTML-Parser-3.55 > p5-HTML-Tagset-3.10 p5-IO-Compress-Base-2.003 p5-IO-Compress-Zlib-2.002 > p5-IO-Socket-INET6-2.51_1 p5-IO-Socket-SSL-1.02 p5-IO-String-1.08 > p5-IO-Zlib-1.04_1 p5-MIME-Base64-3.07 p5-Mail-SpamAssassin-3.1.7_3 > p5-Mail-Tools-1.74 p5-Math-BigInt-1.77 p5-Net-1.19,1 p5-Net-DNS-0.59 > p5-Net-IP-1.25 p5-Net-SSLeay-1.30_1 p5-PathTools-3.24 > p5-Scalar-List-Utils-1.19,1 p5-Socket6-0.19 p5-String-Approx-3.26 > p5-URI-1.35 p5-libwww-5.805 perl-5.8.8 pkg-config-0.21 png-1.2.14 > tcl-8.4.13_1,1 tiff-3.8.2_1 tk-8.4.13,2 xorg-libraries-6.9.0" to run. > montreal# pretty-print-build-depends-list > pretty-print-build-depends-list: Command not found. > montreal# make pretty-print-build-depends-list > This port requires package(s) "perl-5.8.8" to build. > montreal# > > Kinda crappy looking. You can also 'make readmes" to generate HTML > readme files, but I don't believe it recurses. > > Anyone else want to chime in? > Thanks, that's exactly what I needed. A dollowup question, if I might? Are all the various make targets for the ports tree documented anywhere? -- Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)