From owner-freebsd-ports Thu Oct 12 3: 1:31 2000 Delivered-To: freebsd-ports@freebsd.org Received: from fling.sanbi.ac.za (fling.sanbi.ac.za [196.38.142.119]) by hub.freebsd.org (Postfix) with ESMTP id 017AA37B502 for ; Thu, 12 Oct 2000 03:01:27 -0700 (PDT) Received: from johann by fling.sanbi.ac.za with local (Exim 3.13 #4) id 13jf9t-000POI-00; Thu, 12 Oct 2000 12:00:17 +0200 Date: Thu, 12 Oct 2000 12:00:17 +0200 From: Johann Visagie To: James Housley Cc: Carlos A M dos Santos , FreeBSD ports mailing list Subject: Re: Script to genarate PLIST? Message-ID: <20001012120017.A97048@fling.sanbi.ac.za> References: <39E47200.7125F0BF@thehousleys.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <39E47200.7125F0BF@thehousleys.net>; from jim@thehousleys.net on Wed, Oct 11, 2000 at 09:58:24AM -0400 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org James Housley on 2000-10-11 (Wed) at 09:58:24 -0400: > > The porters handbook show how to do this. > > http://www.freebsd.org/porters-handbook/porting-autoplist.html > > However it could use some improvements. Specifically, I'd pipe the find command that adds the files to $PLIST through sort(1) first (cuts down the size of future diff files), and the output of the find that adds the directories to $PLIST through "sort -r" (pretty much ensures the directories are removed in a sane order when deinstalling). Hmm, and add something to remove man pages from $PLIST, I suppose. :-) Let me see what I can do... -- Johann To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message