about summary refs log tree commit diff stats
path: root/tools/scripts/external-ports.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/scripts/external-ports.sh')
-rw-r--r--tools/scripts/external-ports.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/scripts/external-ports.sh b/tools/scripts/external-ports.sh
new file mode 100644
index 0000000..21f42cb
--- /dev/null
+++ b/tools/scripts/external-ports.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+prt-get printf "%i %p %n \n" | grep "yes /usr/ports" \
+    | grep -v "ports/contrib" \
+    | grep -v "ports/opt" \
+    | grep -v "ports/core" \
+    | grep -v "ports/xorg" \
+    | grep -v "ports/c9-ports"