diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2006-11-02 09:20:10 +0000 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2006-11-02 09:20:10 +0000 |
commit | 9125407be51186d47466a775b39e0b885d308a85 (patch) | |
tree | 31705bb4510afea723fe0cdc3b31e92e2f0b42bc /Tools | |
parent | d884c195e4f5a6c7d9cb1e732afc05b7e3e0b0fc (diff) | |
download | ports-9125407be51186d47466a775b39e0b885d308a85.tar.gz ports-9125407be51186d47466a775b39e0b885d308a85.zip |
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/rmport | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport index 680e46dc2f4f..8f9961e1893d 100755 --- a/Tools/scripts/rmport +++ b/Tools/scripts/rmport @@ -92,7 +92,11 @@ find_expired() find ${PORTSDIR} -mindepth 3 -maxdepth 3 -name "Makefile*" \ |xargs grep -H ${EXPVAR} \ |sed -E "s|${PORTSDIR}/?([^/]+/[^/]+)/Makefile:${EXPVAR}=[[:space:]]*([0-9-]{10})$|\2 \1|g" \ - |perl -ne "if ((substr(\$_, 0, 10) cmp '${TODAY}') <= 0) { print(\$_); }" + |perl -ne "if ((substr(\$_, 0, 10) cmp '${TODAY}') <= 0) { print(\$_); }" \ + |while read expdate catport ; do \ + echo -n "${expdate} ${catport}: " ; \ + make -C ${PORTSDIR}/${catport} -V DEPRECATED ; \ + done } # create temporary checkout directory @@ -380,7 +384,7 @@ if [ ${1} = "-a" ] ; then if [ ${#} -ne 1 ] ; then usage fi - ${0} `find_expired |cut -f 2 -d ' '` + ${0} `find_expired |cut -f 2 -d ' ' |cut -f 1 -d :` exit fi |