--- /dev/null
+#!/bin/sh
+
+if [ -f /etc/make.globals ] ; then
+ . /etc/make.globals
+else
+ echo "/etc/make.globals nicht gefunden" >&2
+ exit 10
+fi
+
+if [ -f /etc/make.conf ] ; then
+ . /etc/make.conf
+else
+ echo "/etc/make.conf nicht gefunden" >&2
+ exit 10
+fi
+
+echo "Suche USE-Beschreibungen in '$PORTDIR/profiles/use*.desc' ..."
+echo
+
+if [ ! -d $PORTDIR/profiles ] ; then
+ echo "'$PORTDIR/profiles' nicht gefunden." >&2
+ exit 10
+fi
+
+if [ ! -f $PORTDIR/profiles/use.desc -a ! -f $PORTDIR/profiles/use.local.desc ] ; then
+ echo "'$PORTDIR/profiles/use.desc' bzw. '$PORTDIR/profiles/use.local.desc' nicht gefunden."
+ exit 10
+fi
+
+for ITEM in $* ; do
+ ITEM_N=`echo $ITEM | sed 's/+/\\\\+/g'`
+ cat $PORTDIR/profiles/use.desc $PORTDIR/profiles/use.local.desc | egrep "(^|:)$ITEM_N[ ][ ]*-"
+ echo
+done
+