From owner-freebsd-ports Wed Oct 8 10:35:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA02856 for ports-outgoing; Wed, 8 Oct 1997 10:35:04 -0700 (PDT) (envelope-from owner-freebsd-ports) Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA02840 for ; Wed, 8 Oct 1997 10:34:56 -0700 (PDT) (envelope-from mark@greenpeace.grondar.za) Received: from greenpeace.grondar.za (lA4wCwBrF4k+ZRS7FR8ncqoij2sPLqVl@greenpeace.grondar.za [196.7.18.132]) by gratis.grondar.za (8.8.7/8.8.7) with ESMTP id TAA14507; Wed, 8 Oct 1997 19:33:44 +0200 (SAT) Received: from greenpeace.grondar.za (2ZXd3Hz8MMmpUnjOdoYl7/hRgfWBtqGO@localhost [127.0.0.1]) by greenpeace.grondar.za (8.8.7/8.8.7) with ESMTP id TAA03414; Wed, 8 Oct 1997 19:33:48 +0200 (SAT) Message-Id: <199710081733.TAA03414@greenpeace.grondar.za> X-Mailer: exmh version 2.0zeta 7/24/97 To: volf@oasis.IAEhv.nl (Frank Volf) cc: freebsd-ports@FreeBSD.ORG Subject: Re: PLIST generation Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 08 Oct 1997 19:33:48 +0200 From: Mark Murray Sender: owner-freebsd-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I have a few programs for which I would like to create a port. I read the > instructions in the FreeBSD handbook (from the 2.2.2 CDROM) which are very > clear except for the generation of the PLIST file. I got the impression that > this file should be created by hand. Is that correct? Doing this by hand > seems to me avery error prone process. Is there not an automatic way to > do this, or a tool that can assist you in the process? I use this methos for ports that are "standalone" - ie don't require other ports: # cd /usr/ports/somedir/myport # mv /usr/local /usr/local.ORIG # mkdir /usr/local # make install # mv /usr/local /usr/local.myport # mv /usr/local.ORIG /usr/local I then run a find(1) on /usr/local.myport, and edit the output as appropriate for PLIST. For ports that use other ports, I just install them, and do a before/after diff(1), grepping as appropriate for added files. I reckon that is about as close to automatic as you'll get. M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org