From owner-freebsd-doc Tue Dec 29 05:43:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA01143 for freebsd-doc-outgoing; Tue, 29 Dec 1998 05:43:06 -0800 (PST) (envelope-from owner-freebsd-doc@FreeBSD.ORG) Received: from mail2.svr.pol.co.uk (mail2.svr.pol.co.uk [195.92.193.210]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA01124 for ; Tue, 29 Dec 1998 05:43:04 -0800 (PST) (envelope-from tom@eborcom.com) Received: from modem-42.tantulum.dialup.pol.co.uk ([62.136.36.42]) by mail2.svr.pol.co.uk with esmtp (Exim 2.10 #1) id 0zuzQ4-0005uK-00 for freebsd-doc@FreeBSD.ORG; Tue, 29 Dec 1998 13:42:45 +0000 Received: (qmail 2546 invoked by uid 5000); 29 Dec 1998 13:40:46 -0000 Message-ID: <19981229134046.A2455@eborcom.com> Date: Tue, 29 Dec 1998 13:40:46 +0000 From: Tom Hukins To: freebsd-doc@FreeBSD.ORG Subject: Suggestion for "Making a port yourself" in the Handbook Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've found the "Making a port yourself" section of the Handbook very useful recently, as I've started contributing ports. I didn't like the idea of building a packing list by hand, so I figured out a way of creating packing lists semi-automatically. There is currently no mention of any such technique in the handbook, so I suggest this (or something better) is included: Creating a packing list manually can be a very tedious task. It is often best to create the PLIST file using the "find" program. First, make sure your port is almost complete, with only the PLIST file missing. Create an empty PLIST with: % touch files/PLIST then do: % make install PREFIX=/var/tmp/MY-PORT If your port honours the PREFIX variable (which it should), it will install everything within /var/tmp/MY-PORT. To create the packing list do: % cd /var/tmp/MY-PORT && find * \! -type d -print You should also check for any directories within /var/tmp/MY-PORT which have been added by the port. Edit the packing list placing @dirrm commands at the end for each of these directories. Finally, clear up your installation area with: % rm -fr /var/tmp/MY-PORT Regards, Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message