Documenting a ports depedency tree?

Jay Chandler chandler at chapman.edu
Tue Jan 16 04:32:12 UTC 2007


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?

-- 
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / chandler at chapman.edu
Today's Excuse: emissions from GSM-phones 



More information about the freebsd-questions mailing list