Subject: Re: generate PLIST
To: Joe Reed <>
From: Lubomir Sedlacik <>
List: tech-pkg
Date: 06/23/2002 23:45:59
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jun 23, 2002 at 04:33:17PM -0500, Joe Reed wrote:
> is there a way to easily generate the PLIST ???=20
> i'm new to pkg creation and the only way i can think of to create the pli=
> it to do it manually (look through the output of a `make install`).=20
> is there a better way of doing it? or does a document exist that explains=
> this process?=20
> i've looked through pkgsrc/Packages.txt and packages (7).  they explain t=
> syntax of the file, and what it does, but not how to create it.=20
> help is appreciated,

from pkgsrc/Packages.txt:

 5 PLIST* issues


 5.1 Miscellaneous


 * Semi-automatic PLIST generation:
   You can use the "make print-PLIST" command to output a PLIST that matches
   any new files since the package was extracted. See below for more=20
   information on this target.


 7.2 Main targets


  * print-PLIST:
   After a 'make install' from a new or upgraded pkg, this prints out an
   attempt to generate a new PLIST from a 'find -newer work/.extract_done'.
   An attempt is made to care for shared libs etc., but it is STRONGLY=20
   recommended to review the result before putting it into PLIST. On
   upgrades, it's useful to diff the output of this command against an alre=
   existing PLIST file.

   If the package installs files via tar(1) or other methods that don't upd=
   file access times, be sure to add these files manually to your PLIST,
   as 'find -newer' won't catch them!


-- Lubomir Sedlacik <>   ASCII Ribbon campaign against  /"\=
--                  <>   e-mail in gratuitous HTML and  \ /=
--                                       Microsoft proprietary formats   X =
-- PGPkey:                                  / \=
-- Key Fingerprint: DBEC 8BEC 9A90 ECEC 0FEF  716E 59CE B70B 7E3B 70E2     =

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.0.7 (NetBSD)