Re: what to do about "FATAL: PLIST_FILES: files cannot contain %%FOO%% variables. Use make variables and logic instead"

From: Piotr Smyrak <ps.ports_at_smyrak.com>
Date: Tue, 08 Oct 2024 12:48:19 UTC
On Tue, 8 Oct 2024 14:34:23 +0200 (CEST)
Ronald Klop <ronald-lists@klop.ws> wrote:

> I was looking for a change to devel/jna and after running portlint it
> says:
> 
> FATAL: PLIST_FILES: files cannot contain %%FOO%% variables.  Use make
> variables and logic instead
> 
> The lines in the Makefile this is about are:
> PLIST_FILES=    %%JAVAJARDIR%%/jna-platform.jar \
>                 %%JAVAJARDIR%%/jna.jar
> 
> What would be the proper solution for this?

See x11-fonts/iansui Makefile for an example.

HTH,
-- 
 Piotr Smyrak