# $Id$ PNAME="diffstat" PVER="1.59" PBUILD="r1" PCAT="dev-util" DESCRIPTION="diffstat reads the output of diff and displays a histogram of the insertions, deletions, and modifications per-file." HOMEPAGE="http://invisible-island.net/diffstat/diffstat.html" DEPEND=">= sys-apps/diffutils-3" SRCFILE="${PNAME}-${PVER}.tgz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( ftp://invisible-island.net/${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-1.45-hard-locale.patch ) UP2DATE="updatecmd ftp://invisible-island.net/${PNAME} | lasttarball tgz" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} mpatch ${PNAME}-1.45-hard-locale.patch || die }