Date: Mon, 15 Jun 1998 22:44:00 -0400 (EDT) From: "Justin M. Seger" <jseger@freebsd.scds.com> To: ports@FreeBSD.ORG, jseger@freebsd.scds.com, asami@cs.berkeley.edu Subject: Size of a port... Message-ID: <199806160244.WAA26468@freebsd.scds.com>
next in thread | raw e-mail | index | archive | help
A few people have expressed interest in a file being stored with every port that contains the size of the installed port. Here are a few lines that could be added to bsd.port.mk to create such a file. Please let me know what you think. -Justin Seger- # Target to make a size file .if !target(makesize) makesize: @( cd ${PREFIX} ; \ du -ck `${GREP} -v @ ${PLIST}` | tail -n 1 | \ ${AWK} '{print $$1}' > ${FILESDIR}/size ) @${ECHO} ">> Size of ${PKGNAME} is: `${CAT} ${FILESDIR}/size`k" .endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806160244.WAA26468>