From owner-freebsd-ports Mon Jun 15 20:26:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA20665 for freebsd-ports-outgoing; Mon, 15 Jun 1998 20:26:14 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from mail.atipa.com (altrox.atipa.com [208.128.22.34]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id UAA20644 for ; Mon, 15 Jun 1998 20:26:10 -0700 (PDT) (envelope-from freebsd@atipa.com) Received: (qmail 13219 invoked by uid 1017); 16 Jun 1998 02:23:13 -0000 Date: Mon, 15 Jun 1998 20:23:13 -0600 (MDT) From: Atipa To: "Justin M. Seger" cc: ports@FreeBSD.ORG, asami@cs.berkeley.edu Subject: Re: Size of a port... In-Reply-To: <199806160244.WAA26468@freebsd.scds.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Speaking of sizes and ports, is anyone else totally sick of the ungodly number of files in /usr/ports? It to me is absolutely disgusting. It takes several minutes to to any type of "find" in /usr because of them. My fix is to have a separate partition for /usr/ports and have it noauto in fstab. But couldn't we fix the problem but using a single .tgz file for each port instead of its own directory tree? I think RedHat Linux uses something similar. If we need a different format, fine. But having a _TREE_ for each port is freaking ridiculous. Regards, Kevin On Mon, 15 Jun 1998, Justin M. Seger wrote: > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message