tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PLIST and dynamic filenames?



On Sun, 15 Feb 2015 13:08:38 +0100
Hauke Fath <hauke%Espresso.Rhein-Neckar.DE@localhost> wrote:

> I need to add a file to a package PLIST which during the install is 
> assigned a dynamic filename, like
> 
> foo-`src/foo -makeid`.dmp
> 
> -- what options do I have?  Since the tool producing the ID has to be 
> built, adding to PLIST_SUBST does not work right?The pkgsrc guide, as 
> so often for "advanced topics", falls short, and my web searches for 
> similar cases have come up empty.

Hi,

The functionality you seek is called GENERATE_PLIST. Surprisingly it's
not mentioned in the guide, but if you grep -r the tree you will find
plenty of examples of how to combine it with a regular PLIST.

Kind regards,
-Tobias


Home | Main Index | Thread Index | Old Index