Bug 273294

Summary: graphics/ogre3d: enable FREEIMAGE by default, minor fixes
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (oliver)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Dmitry Marakasov freebsd_committer freebsd_triage 2023-08-22 15:21:57 UTC
- Enable FREEIMAGE option by default, freeimage-enabled ogre is required for games/stuntrally update.
- Don't duplicate cmake options which are handled in *_CMAKE_BOOLs in CMAKE_ARGS.
- Mark JAVA as BROKEN, does not built with multiple errors.
- Remove DOCS from OPTIONS_DEFAULT, it's always there implicitly.
- Remove plist %%PORTDOCS%% entries in favor of PORTDOCS=*. List of files generated by doxygen may change with its new versions, so plist is prone to breakage at any time. In fact, it's already broken:

===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/api/html/index.js
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-09-08 00:49:59 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3c07ee1217812f279fc512ba5680e2c8764a2eb8

commit 3c07ee1217812f279fc512ba5680e2c8764a2eb8
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2023-09-06 16:39:09 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2023-09-08 00:12:27 +0000

    graphics/ogre3d: enable FREEIMAGE by default, minor fixes

    - Enable FREEIMAGE option by default, freeimage-enabled ogre is required for games/stuntrally update.
    - Don't duplicate cmake options which are already handled in *_CMAKE_BOOLs in CMAKE_ARGS, and convert the latter to CMAKE_{ON|OFF}.
    - Mark JAVA as BROKEN - does not built with multiple errors.
    - Remove DOCS from OPTIONS_DEFAULT, it's always there implicitly.
    - Remove plist %%PORTDOCS%% entries in favor of PORTDOCS=*. Docs are generated by doxygen and the list of generated files changes with doxygen update, which is not compatible with static plist (which is also unreasonably huge).
    - Silence couple of REINPLACE_CMDs

    PR:             273294
    Approved by:    maintainer timeout (oliver, 2 weeks)

 graphics/ogre3d/Makefile  |    24 +-
 graphics/ogre3d/pkg-plist | 13421 --------------------------------------------
 2 files changed, 9 insertions(+), 13436 deletions(-)