head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2002.03.23.00.09.07;	author karltk;	state dead;
branches;
next	1.1;

1.1
date	2002.01.24.20.45.57;	author karltk;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Major rework. #544, #1244
@
text
@#! /bin/sh

. /etc/make.globals

numebuilds=`find ${PORTDIR}/ -name "*.ebuild" | wc -l`
numebuildsfor=`find ${PORTDIR}/ -name "*.ebuild" | xargs grep "$1" | wc -l`

pct=`echo "scale=2 ; $numebuildsfor*100/$numebuilds" | bc`
printf "%25s: %-4d of %-4d (%-4.2f)\n" $1 $numebuildsfor $numebuilds $pct
@


1.1
log
@Initial import of Gentoolkit
@
text
@@

