# $Id: procinfo-18-r11.smage2 3624 2009-10-27 15:39:21Z niro $ PNAME="procinfo" PVER="2.0.304" PBUILD="r1" PCATEGORIE="app-admin" STATE="unstable" DESCRIPTION="procinfo-ng: utilities to prettyprint /proc/*." HOMEPAGE="http://procinfo-ng.sourceforge.net/" DEPEND=">= sys-libs/ncurses-5.7 >= dev-lang/perl-5.12" SRCFILE="${PNAME}-ng-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-ng-${PVER}" # the old procinfo tools OLD_PROCINFO_SRCFILE="${PNAME}-${PVER}.tar.gz" OLD_PROCINFO_SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( sourceforge://${PNAME}-ng/${SRCFILE} ftp://ftp.cistron.nl/pub/people/00-OLD/svm/${OLD_PROCINFO_SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd_sourceforge ${PNAME}-ng" src_prepare() { munpack ${SRCFILE} || die munpack ${OLD_PROC_INFO_SRCFILE} || die } src_install() { cd ${SRCDIR} mmake DESTDIR=${BINDIR} install || die # install missing tools from old procinfo package minstallexec ${OLD_PROCINFO_SRCDIR}/lsdev.pl /usr/bin/lsdev || die minstallexec ${OLD_PROCINFO_SRCDIR}/socklist.pl /usr/bin/lsdev || die minstallman ${OLD_PROCINFO_SRCDIR}/\*.8 || die minstalldocs *.txt || die }