I need to add some lines into ports PLIST file AFTER all info-related stuff.

Kris Kennaway kris at obsecurity.org
Sun Apr 10 12:09:36 PDT 2005


On Sun, Apr 10, 2005 at 03:37:55PM +0400, Lev at mail.telix.ru wrote:
> Hello freebsd-ports,
> 
>   Ports system automagically add lines for deletion of non-standard prefix directory into PLIST file.
> 
>   But here are one problem: I need to delete additional directory (${PREFIX}/mingw32), and I have INFO files in this path!
> 
>   So, all info-related stuff goes AFTER last line of `pkg-plist' and even AFTER `post-install' target. I can not add deleteion of `${PREFIX}/mingw32' because it will not be last lines in PLIST in any case!
> 
>   How could I alter PLIST after ALL other stuff?
> 
>   Nom I'm overwriting `add-plist-post' target (and copy it standard content too, of course), but it is don't look like good idea.

This problem is basically because your port doesn't conform to
hier(7).  As you can see from add-plist-post, we have support for
ports that violate hier(7) by installing into an entirely different
PREFIX, but not for ports that do what yours does.

The best thing you can do is to make the port hier(7)-compliant,
otherwise overriding add-plist-post is about all you can do.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050410/bc88ba0a/attachment.bin


More information about the freebsd-ports mailing list