18 lines
508 B
Plaintext
18 lines
508 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
find /usr/ports/ \
|
||
|
-maxdepth 6 \
|
||
|
-not \( \
|
||
|
-path "*CVS*" \
|
||
|
-o -path "*.git*" \
|
||
|
-o -path "/usr/ports/distfiles" \
|
||
|
-o -path "/usr/ports/infrastructure" \
|
||
|
-o -path "/usr/ports/lock" \
|
||
|
-o -path "/usr/ports/packages" \
|
||
|
-o -path "/usr/ports/plist" \
|
||
|
-o -path "/usr/ports/pobj" \
|
||
|
\) \
|
||
|
-path "*/pkg" \
|
||
|
-prune \
|
||
|
| sed 's,/usr/ports/\(.*\)/pkg$,\1,'
|