Get a 'graphical' tree-overview of installed packages
Generates a ascii-art-graphical tree of packages and their dependancies.
For example for setxkbmap and xkbcomp
[~] edwin@k7>pkg_tree 'xkb[cm]'
setxkbmap-1.0.4
|\__ kbproto-1.0.3
|\__ pkg-config-0.23_1
|\__ xproto-7.0.10_1
|\__ libXau-1.0.3_2
|\__ libXdmcp-1.0.2_1
|\__ libX11-1.1.3_1,1
\__ libxkbfile-1.0.4
xkbcomp-1.0.3
|\__ kbproto-1.0.3
|\__ pkg-config-0.23_1
|\__ xproto-7.0.10_1
|\__ libXau-1.0.3_2
|\__ libXdmcp-1.0.2_1
|\__ libX11-1.1.3_1,1
\__ libxkbfile-1.0.4
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
ports-mgmt/pkg_tree: use better WWW address for the package description
PR: 262878
Reported by: Graham Perrin <grahamperrin@gmail.com>
Approved by: edwin (he answered "either is fine")
ports-mgmt/pkg_tree: Retrieve data from pkg info at one time
The way it works is that it calls pkg info 3 times, so there is a
possibility of losing consistency.
The -r option added for displaying the "Required by" graph instead of
the "Depends on" graph.
Pass maintainership to submitter
PR: 256214
Fix usage of ${PERL5}.
${PERL5} points to a specific version of perl, say, perl5.22.1, it is
fine to use it in a ports Makefile to do Perly things, but ports using
it must use ${PERL}, that points to /usr/local/bin/perl so that if the
minor version is updated, the shebang keep working.
While there, make some ports use shebangfix, regen a few patches, and
bump PORTREVISION where a shebang went from PERL5 to PERL.
PR: 205367
With hat: portmgr
Sponsored by: Absolight
From Tom Hukins:
I notice it looks for a perl executable in /usr/bin/perl. However, a
perl executable may not exist here, so this small patch changes the
port to use the PERL5 variable to determine the correct location of
perl as determined by the ports system.
Update description of pkg_tree
The example in the description of pkg_tree shows old package
names (imake-4, XFree86-libraries).
PR: ports/125990
Submitted by: Carlos Santos <unixmania@gmail.com>