1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/Tools/scripts/pkg-stash/pkg-list.sh
Peter Pentchev 77ec5aff0a Add two utilties for listing and stashing away package files obtained
from recursive dependency builds a la:

  make DEPENDS_TARGET='install package clean' all install package clean

The pkg-list script obtains a list of the packages in the dependency
directories; the pkg-stash script moves them away to a predefined
directory, adding a timestamp to the package file name.  This is
convenient for keeping ready-built packages for system rescue
activities.
2003-01-08 15:40:08 +00:00

7 lines
123 B
Bash

#!/bin/sh
# $FreeBSD$
for i in . `make all-depends-list`; do
cd $i && [ -f "`make -V PKGFILE`" ] && make -V PKGFILE
done