From owner-freebsd-ports Thu Jan 7 17:20:08 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA08102 for freebsd-ports-outgoing; Thu, 7 Jan 1999 17:20:08 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA08097 for ; Thu, 7 Jan 1999 17:20:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id RAA01040; Thu, 7 Jan 1999 17:20:02 -0800 (PST) Date: Thu, 7 Jan 1999 17:20:02 -0800 (PST) Message-Id: <199901080120.RAA01040@freefall.freebsd.org> To: freebsd-ports@FreeBSD.ORG From: Tim Vanderhoek Subject: Re: docs/9375: Handbook addition: Automated PLIST building for ports Reply-To: Tim Vanderhoek Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR docs/9375; it has been noted by GNATS. From: Tim Vanderhoek To: Tom Hukins Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: docs/9375: Handbook addition: Automated PLIST building for ports Date: Thu, 7 Jan 1999 20:11:17 -0500 On Thu, Jan 07, 1999 at 09:23:36PM -0000, Tom Hukins wrote: > > As per the recent thread on the freebsd-doc mailing list (Suggestion > for "Making a port yourself" in the Handbook), here is a patch to > the Handbook which contains information on building a packing list > automatically. I believe one of the other *BSDs has something built-into their bsd.port.mk, as well as some other advice in assorted documents/collective mailing-list knowledge. > +

If your port honours the PREFIX variable (which it > + should), you can then type `make install > + PREFIX=/var/tmp/MY-PORT'. Once the port has been > + installed successfully, create the packing list with > + `(cd /var/tmp/MY-PORT && find * \! -type d) > > + pkg/PLIST'. Don't forget to remove any user configuration files from the PLIST (unless they were installed as config-file.sample as they should be). Don't forget to make sure that files listed were actually installed by the port for whom the plist is being made (ie. not installed by a dependency!!). Manpages need to be removed. -- This .sig is not innovative, witty, or profund. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message