Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jun 2009 19:30:21 -0400
From:      Eitan Adler <eitanadlerlist@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Automatically generate symlinks for virtual categories.
Message-ID:  <4A28590D.101@gmail.com>

next in thread | raw e-mail | index | archive | help
I made this shell script (portable sh) that will create a bunch of
directories for all virtual ports (linux, perl, etc.). It puts a symlink
for every port in your tree into the correct categories.
For example it will create  a kde directory with the akode-audio port
pointing to /usr/ports/audio/akode.

http://isis.poly.edu/~eitan/files/auto-symlink-virtual.sh

At the moment it relies on make to determine what categories each port
is in. This is somewhat slow but the only error-proof way I know how. If
anyone could improve the script please let me know. It is released under
the BSD-2-clause license.

-- 
Eitan Adler





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A28590D.101>